Installing NGINX on RHEL 5/6 (Centos and Oracle Linux too)
I’m an huge NGINX fan. Nginx pronounced “Engine-X” is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. Nginx is awesome… really. I use it since 0.6 beta and never had a crash in 4 years in dozens servers! The memory footprint embarrasses Apache and IIS. Besides that it’s very secure and reliable. You can easily handle dozens thousands concurrent connections with it!
Currently stable version is 1.2. It’s ultra.fast and very lightweight.
Now the nginx folks made it easier to install Nginx on RHEL based plataforms by providing repositories to easy installs.
For RHEL/Oracle Linux version 5
rpm -Uvh http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm yum install nginx
For RHEL/Oracle Linux version 6
rpm -Uvh http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm yum install nginx
For Centos 5
rpm -Uvh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm yum install nginx
For Centos 6
rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm yum install nginx
Now you have no excuses to stay with an HTTP faulty memory hunger server… Nginx is here to rule them all!