I’ve nearly completed the setup of my new host.  I’ve managed to set up the following services/programs:

  • Nginx as a reverse proxy
  • Apache2 for heavy duty needs
  • Django
  • Php
  • Postgresql (to use when possible)
  • MySQL (to use when necessary — Wordpress)
  • Mercurial
  • Ruby on Rails / Mongrel Cluster

It’s been a long journey and I’ve used several resources.  I’ll briefly list them for anybody else working on a similar project.

Finally, I had a problem with mongrel_cluster not starting automatically.  This turned out to be due to PATH issues with the rubygem binaries.  I fixed this with this command:

for file in 'ls'
do
sudo ln -s `pwd`/$file /bin/
done

That will create a symbolic link from /bin to each file in the current directory.  For rubygems this would need to be run in

/var/lib/gems/1.8/bin

And finally, everything is working!



Comments are closed.