CentOS installs Nginx with yum

  
 

Because CentOS does not have a default Nginx source, you need to enable the REHL add-on package. Rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

You can now use yum Install Nginx yum -y install nginx

Nginx official website download address:

http://nginx.org/en/download.html

can be found from above The corresponding version of the installation package.

Copyright © Windows knowledge All Rights Reserved