Debian Hosting Setup

Friends,

I’m about to launch a little usergroup-type community site and have a
VPS waiting with (what will be) a clean Debian Stable install.

The last time I installed this VPS box, I followed Ezra’s Debian guide
to get up and running with hosting. It all worked very well (thanks,
Ezra!).

I’m planning to run a little rails app as the ‘main’ site, mostly
serving static pages. I’m also planning to install Mephisto and Beast
at different subdomains for other features. My plan (as it has been
with Typo) is to check these projects into my own SVN repo and deploy
all the apps with Capistrano.

Given the the ‘state-of-the-art’ in Rails hosting has moved on from the
Lighty+FCGI I had from Ezra’s tutorial, to mongrel_cluster +
(something-on-the-front), does anyone have any thoughts on how I might
proceed ?

The current recommendation, as best I can tell, is for Apache2.2, but
it’s only available in Debian testing, so I guess that means installing
from source. Given source-build for the webserver and the notorious
problems with ruby and Debian packaging, should I abandon Debian and apt
entirely and go for a different distro (other distros available, see
here: http://www2.bytemark.co.uk/page/Live/hosting/distros/) ? I’m a
mac user, so not particularly invested in any particular linux (but I
have used Debian on these VPSs for a couple of years now).

Any thoughts welcome. This is a completely greenfield VPS, so I have a
chance to do it right. My only real constraint is that the
infrastructure be cap deployable (ideally with the down-for-maintenance
facilities)

Thanks in advance,

Alan

Alan,

I built Apache 2.2 from source on my VPS (rimuhosting) and it went
smoother
that I had expected. Later I found this post describing the process:

http://forums.rimuhosting.com/forums/showthread.php?t=230

I’ve also got Capistrano running well with this setup. I found Coda
Hale’s
excellent article to be very useful as well:

http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/

Hammed

Hammed M. wrote:

Alan,

I built Apache 2.2 from source on my VPS (rimuhosting) and it went
smoother that I had expected. Later I found this post describing
the process:

Hi Hammed,

Thanks for that. Is it Debian you run on rimu ?

A.

Alan F. wrote:

Hi Hammed,

Thanks for that. Is it Debian you run on rimu ?

A.

Just scanned the rimu article and it looks like debian to me :slight_smile:

A.

apache 2.2 isnt even in testing (at least not in mine) but it works
great
when compiled from source. i did it too and its great. i cant give you a
link since im not at home, but google for “time for a grown up server
apache
mongrel_cluster capistrano” or sth thats like the tutorial is called.
just
follow it and youve got a nice box

2006/8/22, Alan F. [email protected]:

chance to do it right. My only real constraint is that the


Michael S. [email protected]

www.siebert-wd.de - Gedanken lesen
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium

I’m underway installing Apache2.2…but…

My default mysql installation seems to kick off 10 mysqld instances when
the mysqld_safe script is invoked. That’s ridiculous for the traffic
I’m expecting. I’m having enormous difficulty tracking down where this
setting is. Nothing obvious in my.cnf or even inside the mysqld_safe
script.

All my googling takes me to mysqld_multi, which I don’t think I’m using.

Again, any help appreciated.

A.