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 Sun, 25 Jan 2009 21:03:00 GMT

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
end

And 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!

2 comments | no trackbacks

Comments

  1. Avatar Vidmantas said 2 months later:

    As you might know passenger now supports nginx – are you going to support nginx + passenger stack in nearest future?

  2. Avatar Saulius Grigaitis said 2 months later:

    Vidmantas, absolutely! I’m very busy with other things like Master thesis and various projects I’m working on, so really not much time for free time open source projects. I expect Deprec 2 will have nginx + passenger support soon, so I’ll backport that feature once I have enough time. BTW, everybody is welcome to fork Centostrano and add new features!

Trackbacks

Use the following link to trackback from your own site:
http://www.rubyonrails.lt/trackbacks?article_id=centostrano-0-2-released-easy-rails-stack-installation-and-setup-on-centos-now-with-phusion-passenger-a-k-a-mod_rails-mod_rack-support&day=25&month=01&year=2009

(leave url/email »)

   Comment Markup Help Preview comment