New update: Nginx 0.8.54 + PHP 5.3.5 has been posted
I’m doing this on my CentOS 5.5 64bit with 256MB RAM OpenVZ VPS, another / my way to install Nginx with the appropriate modul for hosting WordPress site or blog. Nginx version is still 0.8.53 because i’m using Epel Repository.
Download Epel Repository
32bit
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
64bit
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Update YUM
yum update
Install Nginx and required packages
yum install -y nginx patch libtool libmcrypt-devel libxml2-devel make automake gcc gcc-c++ sudo flex bison wget zlib-devel openssl-devel pcre pcre-devel pcre-devel gd-devel bzip2* libc-client-devel.x86_64
Start Nginx
chkconfig --add nginx chkconfig nginx on /etc/init.d/nginx start
Optional: Before starting Nginx, you have to stop and / or remove httpd
service httpd stop yum remove -y httpd
Install MySQL
yum install -y mysql mysql-server mysql-devel service mysqld start