Tuesday, November 16, 2010

Setting Up a Bare CentOS server with Ngnix/PHP/MySQL (part 4)

Installing NGINX

nginx can be installed either by compiling from sources or by using an precompiled package

I prefer to install via a package simply because there are too many installs of application that I don’t really need after I compiled from source

an updated resource is

http://centos.alt.ru/pub/nginx/0.8/RHEL/RPMS/

just do wget http://centos.alt.ru/pub/nginx/0.8/RHEL/RPMS/x86_64/nginx-0.8.53-4.el5.x86_64.rpm and then run yum install <package name> it will take care of dependencies.