标签:service 安装 防火 star 火墙 art ack emctl yum
1、添加源
rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
2、安装
yum install -y nginx
3、启动nginx并设置为开机自启
systemctl start nginx.service systemctl enable nginx.service
4、关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
女孩子不用你骗她
她要是喜欢你
她会自己骗自己的
标签:service 安装 防火 star 火墙 art ack emctl yum
原文地址:https://www.cnblogs.com/lovesmk8/p/13792778.html