Nginx is a high-performance Web and reverse proxy server with a number of very good features:

  • As a Web server: Nginx uses fewer resources, supports more concurrent connections, and is more efficient than Apache, which makes Nginx especially popular with Web hosting providers. Can support responses up to 50,000 concurrent connections, thanks to Nginx for choosing epoll and KQueue as our development models.

  • As a load balancer: Nginx can support Rails and PHP directly internally or as an HTTP proxy server externally. Written in C, Nginx is much more efficient in both system resource overhead and CPU usage than Perlbal.

  • As a mail proxy: Nginx is also a very good mail proxy server (one of the original purposes of the product was as a mail proxy server), and Last.fm describes a successful and wonderful experience.

  • Nginx installation is very simple, configuration files are very clean (and perl syntax is supported), and servers with very few Bugs: Nginx is extremely easy to start and can run almost 24/7, even for months without a reboot. You can also upgrade software versions without interruption of service.

http://39.105.25.105/ Steps to build a website:

1, yum install nginx

2, service nginx start

3, ps – ef | grep nginx

4, CD /usr/share/nginx/html