From Apache to Nginx running wordpress and passenger

November 30, 2009 · 4 comments

in Blogging,Rails & Ruby,Web Tech

I just finished setting up Nginx on my Slicehost VPS, and I can already feel the performance boost up. My weblog scores a cool little “A” on the YSLOW performance measurement score. Well, more than that, I can feel a sigh of relief that I am not using my swap memory anymore, plus the bonus point that I have free RAM as well (I run 2 rails apps, and one weblog on my 256 MB slicehost VPS).

Frankly, if you are coming from the Apache world, setting up Nginx is a little problematic, similar to switching to Linux from windows. So, I spent a full day in getting the whole setup to work seamlessly (Nginx, PHP, WordPress, Phusion Passenger).

If you are caught in the middle of switching over to Nginx, then some of these links might be helpful :

  1. mensk.com
  2. phusions-one-year-anniversary-gift

I would suggest that you start with point 2, i.e. install passenger gem first, and then install the passenger-nginx module. This will automatically, install Nginx as well, and you would be running nginx and rails apps under 5 minutes. And then, you can expand to running PHP apps using php-fastcgi (I use that only) reading through the 1st point.

{ 1 trackback }

From Apache to Nginx running wordpress and passenger - Nginx Wordpress Rails
September 29, 2010 at 9:23 am

{ 3 comments… read them below or add one }

1 Barry Tubb December 15, 2009 at 8:58 pm

How do we begin? do you need the prompts for these two accounts on Slice Host?

2 Barry Tubb December 15, 2009 at 9:01 pm

How do we proceed ? Do you need the prompts for these two accounts at SliceHost?
They are already built on ROR they just need to be re booted and figure out what the problem is and get them back online asap.

3 montreal canadiens tickets March 3, 2011 at 4:42 pm

Hello,

This is a inquiry for the webmaster/admin here at bishtblogs.net.

May I use some of the information from this post above if I give a backlink back to this website?

Thanks,
Thomas

Leave a Comment

Previous post:

Next post: