Pat Maddox
2006-Jun-12 15:27 UTC
[Rails] Debian vs Ubuntu for a postgresql database + rails
I''m going to be getting a VPS at rimuhosting.com, and it''ll only run postgresql and an app that uses AR/ActionSupport. I always use FreeBSD, but in this case my options are limited to RHEL4, FC5, Debian and Ubuntu. I figure Debian and Ubuntu are probably preferable...so which one should I go with? This will not run an email, ftp, or web server - just postgresql 8.1 plus a Ruby app of mine. Any suggestions? Pat
Michael Greenly
2006-Jun-12 17:17 UTC
[Rails] Re: Debian vs Ubuntu for a postgresql database + rails
Pat Maddox wrote:> I''m going to be getting a VPS at rimuhosting.com, and it''ll only run > postgresql and an app that uses AR/ActionSupport. I always use > FreeBSD, but in this case my options are limited to RHEL4, FC5, Debian > and Ubuntu. I figure Debian and Ubuntu are probably preferable...so > which one should I go with? This will not run an email, ftp, or web > server - just postgresql 8.1 plus a Ruby app of mine. Any > suggestions? > > PatPat Maddox wrote:> I''m going to be getting a VPS at rimuhosting.com, and it''ll only run > postgresql and an app that uses AR/ActionSupport. I always use > FreeBSD, but in this case my options are limited to RHEL4, FC5, Debian > and Ubuntu. I figure Debian and Ubuntu are probably preferable...so > which one should I go with? This will not run an email, ftp, or web > server - just postgresql 8.1 plus a Ruby app of mine. Any > suggestions? > > PatI don?t think you will have any troubles with either so it?s really what you prefer. I use Debian (sarge) on my production server and Ubuntu (dapper drake) for my development box and haven?t ever had issues with either. Specifically I use Apache 2.0 with fcgid which is available from the default repositories and Postgres 8.? from optional repositories (backports/universe) on both. But the biggest issue will be how you want to manage ruby/gems/rails. Your options are basically? 1. Ruby/Rails from optional repository and no gems 2. Ruby from optional repository and gems from source and rails from gems 3. Ruby/Gems from source and Rails from gems So far I''ve always opted for #3 and built them all from source. My intention in the future is to use #2 with Ubuntu server. I?d personally recommend avoiding #1 unless you?re sure that all the gems you want to use have been packaged. My production sever only has a few low traffic apps to contend with but this setup on a Athalon XP 2100+ with 1GB of ram provides almost exactly 150 (simple) pages a second. -- Posted via http://www.ruby-forum.com/.