Centos6.8 安装 nginx

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


yum install nginx -y


service nginx start


iptables -I INPUT -p tcp --dport 80 -j ACCEPT


service iptables save

posted @ 2017-03-26 12:34  LightingCui  阅读(675)  评论(0编辑  收藏  举报