# Rails intranet - in house server

**URL:** <https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063>\
**Category:** Deployment\
**Created:** [October 12, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063 "2007-10-12T16:45:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [October 12, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063/1 "2007-10-12T16:45:21Z")

</div>

I’m deploying a rails intranet and have never setup an in house rails  
server. I have only used mediatemple.

Does anyone have any tips? The application is very small. It has a  
maximum of 6 users at a time and it is not doing any large processes.

What type of server should I use? (they are all mac users)  
What are the minimum requirements the server should have…etc?

Does anyone know of any good resources?

Thanks

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [October 12, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063/2 "2007-10-12T19:06:12Z")

</div>

Well, I can’t be as specific as you’d like but I’ve done something very  
similar. First I used a reliable Dell server PC. Mine have lots of ram  
but  
I think a nice modest server should have about 2gigs of RAM. I’ve used  
Centos 4.5 and Centos 5 on different servers along with nginx, mongrel,  
monit and mysql5 with great results.

I highly recommend Ezra new book “Deploying Rails Applications”. It’s  
still  
only in beta pdf but I found it to be very helpful.

> **[Pragmatic Bookshelf: By Developers, For Developers](https://pragprog.com)**
>
> We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn with us.

Raul

----- Original Message -----  
From: “David M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Friday, October 12, 2007 7:45 AM  
Subject: [Rails-deploy] rails intranet - in house server

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [October 14, 2007, 8:51am UTC](https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063/3 "2007-10-14T08:51:22Z")

</div>

We run several small Rails apps and do this with mysql4, mongrel  
(mongrel\_cluster) and nginx at the moment. Every application is given  
2 mongrel workers joined in the cluster, and nginx routes all requests  
to these clusters. Works nicely.

Aleksey

On Oct 12, 5:45 pm, David M. \<ruby-forum-incom…@andreas-

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [November 15, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/rails-intranet-in-house-server/117063/4 "2007-11-15T22:30:15Z")

</div>

David M. wrote:

> I’m deploying a rails intranet and have never setup an in house rails  
> server. I have only used mediatemple.
> 
> Does anyone have any tips? The application is very small. It has a  
> maximum of 6 users at a time and it is not doing any large processes.
> 
> What type of server should I use? (they are all mac users)  
> What are the minimum requirements the server should have…etc?
> 
> Does anyone know of any good resources?
> 
> Thanks

I have Rails running behind Mongrel and Apache2 on both Xserve and  
standard OS X. Both are older machines with 2GB of RAM. The Xserve is 2  
GHz G5, the other box is 1.6 GHz G5. My development box is a Dual Core  
Mac Mini with 4GB RAM.

Performance on all boxes is fine for internal use, and have had zero  
unexpected downtime. My setup was based on Hivelogic instructions, and  
Mongrel website. Startup processes (very important) use launchd.

Changes are deployed with rsync over SSH. Also use SSH to access boxes  
remotely for maintenance and troubleshooting.

My main server is a Solaris 4 CPU Sunfire with 16GB RAM.
