First install the yum source of nginx
http://nginx.org/en/linux_packages.html#stable Find the link and install:
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release -centos-6-0.el6.ngx.noarch.rpm
View:
yum info nginx
installation:
yum install nginx
has been started after the installation is complete, you can view the process:
start nginx:
service nginx start
**According to the feedback of operation and maintenance students , after installing from yum source, there will be restrictions when installing plugins. But for the current study, it is enough.
Reference:
http://www.cnblogs.com/lauren1003/p/5985206.html
http://www.cnblogs.com/lovexinyi8/p/5845017.html
Install nginx using yum source
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326720924&siteId=291194637
Recommended
Ranking