yum install nginx

转自http://www.cnblogs.com/ShepherdIsland/p/yum_install_nginx.html

 

rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

查看:

yum info nginx

安装:

yum install nginx
service nginx start
posted @ 2015-07-20 14:15  艾阳君  阅读(147)  评论(0编辑  收藏  举报