How to Install nginx on Linux VPS CentOS 6 – Nginx is a Web Server the client requested files to the Web server via Nginx and this request is stored in the server’s memory and then forwarded for processing to the Apache and PHP and MySQL and processing the result by Apache will be temporarily stored in RAM (Memory) and then forwarded to Nginx for static file saved as in the hard drive and delivered to the web client. Because in this nginx conveying output file instead of direct memory stacking the data in memory will be reduced and the server will work faster and stable.

Nginx is an Open Source reverse proxy server for HTTP, HTTPS, SMTP, POP3 and IMAP Protocols, as well as load balancing or load balancer, HTTP cache and the Web Server. Nginx project starts with a strong focus on high concurrency, high performance and low memory usage.
Simple steps How to Install Nginx on VPS Linux Centos 6 (32/64 bit):
- Install The EPEL:
EPEL is an abbreviation of Extra Packages for Enterprise Linux. Because the yum package manager does not include an updated version of nginx on EPEL, install a default repository will ensure that nginx on CentOS remain up to date.
# sudo yum install epel-release
2. Install nginx. To install nginx, open a terminal and type:
# sudo yum install nginx
After that you have to answer Yes to the prompt twice (the first time relates to importing the EPEL gpg-key), and nginx will be completed installed on your server.
3. Start nginx. nginx does not start on its own. To load nginx is running, type:
# sudo /etc/init.d/nginx start
4. You can confirm you have installed nginx on Your VPS with point your browser to your IP address. You can run the following command to reveal the IP address of your server.
# ifconfig eth0 | grep inet | awk ‘{ print $2 }’
5. On the page, you will see the words, “Welcome to nginx” congratulations, your Nginx web server already installed and done…….