Centostrano 0.2 Released! Easy Rails stack installation and setup on CentOS now with Phusion Passenger (a.k.a mod_rails / mod_rack) support!
Posted by Saulius Grigaitis 25/01/2009 at 23h03
I’m happy to announce 0.2 release of Centostrano. Centostrano is deprec2 port to CentOS. Centostrano is tool dedicated for easy and effortless Rails stack installation and setup on CentOS.
Phusion Passenger is supported in Centostrano now. Also, many changes from upstream deprec2 have been backported, and many small issues have been fixed.
If you are not familiar with Centostrano, checkout this detailed guide. If you would like to migrate to Phusion Passenger on already setup server by Centostrano, then run commands ( similar as on deprec2 )
cap centos:nginx:stop cap centos:nginx:deactivate cap centos:mongrel:stop cap centos:mongrel:deactivate_system
Add passenger role to config/deploy.rb
role :passenger, 'www.example.com'
Change :restart task in same config/deploy.rb
namespace :deploy do
task :restart, :roles => :app, :except => { :no_release => true } do
top.centos.passenger.restart_apache
end
endAnd finally install and setup Phusion Passenger
cap centos:passenger:install cap centos:passenger:config_gen cap centos:passenger:config cap centos:passenger:restart_apache
Enjoy!

