Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a simple pastebin in Ruby on Rails and Python. I want to host it in an intranet and it will have like about 1000 users. I want to use one Apache server with a cluster of Mongrel servers. The server itself is a 2 GHz Intel Centrino with 2 GB RAM.

What do you think is the best OS to host this? I thought about Damn Small Linux or a custom LFS system. Ubuntu servers come with loads of stuff I don't need. Maybe there are some better OSes?

It must be capable of:

  • Running Apache
  • Running Ruby
  • Running Python
  • Running Mongrel with Ruby on Rails
  • Running MySQL
  • SSH

Can anyone reccomend me one? Thanks.

PS: I am not going to run Windows Server or Mac OS X Server (Mac's are expensive).

share|improve this question

closed as not constructive by Mark Henderson Jul 31 '12 at 0:52

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Are you running this on a laptop (Centrino)? – tegbains May 5 '10 at 0:39
@tegbains uhm... yes. Laptops great, small servers, although it might doesn't look like that. – rightfold May 5 '10 at 0:43
Make sure you have sufficient cooling for the laptop if you are expecting it to run 24/7 under load. – micmcg May 5 '10 at 1:25
So many people want to run Damn Small Linux for a minimal server, but this is NOT what it's for. Its supposed to be the smallest DESKTOP linux possible to fit on a biz-card CD. Its a Live CD OS. Its not made to be a server. Go for minimal Ubuntu as the accepted answer says, it'll be a breeze to install those things. – Cory J May 5 '10 at 1:50
up vote 5 down vote accepted

Does the server edition of Ubuntu really come with loads of stuff you don't need? If you do a minimal install then just add the stuff you want it should be fine?

The beauty of using a common distribution is the availability of software and documentation.

To be honest, 1000 users on a pastebin app (and I assume that means total users, not concurrent users) is not going to tax the server in any way (I don't imagine all are frantically copying and pasting to it simultaneously) so its kind of a moot point that ubuntu may be a little heavier.

What database are you using for it? Does it have to run on the same server as well?

Why did you use BOTH python and ruby when either one would have done the job on its own?

share|improve this answer
Python is for the syntax highlighting. The DB is on the server itself, MySQL. – rightfold May 5 '10 at 0:26
& yes, the only I need is Apache, Ruby, Rubygems, Ruby on Rails, Python, BASH and SSH (and all their dependencies) and a kernel. That's it. – rightfold May 5 '10 at 0:27
So then obviously you need to add MySQL to the required capabilities – micmcg May 5 '10 at 0:28
You may only need that, but it might be more work to only have that than to just install ubuntu server. Like I said, performance is not going to be an issue for this kinda of app & load with a whole server dedicated to it. – micmcg May 5 '10 at 0:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.