1.Nginx server
1.1 Features
- High concurrent response performance is very good, the official Nginx handles static file concurrent 50k / s
- Very good load balancing and reverse proxy performance
- Low system memory and CPU usage
- Can be used as cache server, mail proxy server
- Simple configuration code and easy to use
- Support hot deployment (online upgrade)
1.2 Install Nginx
- yum installation and deployment
- Source code installation and deployment
1.2.1 yum installation and deployment
vim /ect/yum.repos.d/nginx.repo
1.2.2 Source code compilation, installation and deployment
- Download source code
- Unzip
- Precompiled
- Compile / install
- Start nginx