Openvz and Mod_rails
Setting it up was pretty easy, though I had to triple my memory allocation over what I was using with nginx+mongrel.
- I created a new virtual machine, but with more memory than usual:
PRIVVMPAGES="150000:300000" - I
vzctl enter <the new machine> - as root:
1 2 3 4 | |
- for some reason, my binaries were not linked, nor the rubygems path exported, so:
1
| |
- run
passenger-install-apache2-moduleand follow the instructions
after starting apache2, i was able to see my site up and running. yay!
