摘要: systemctl enable nginx #设置自启动 systemctl disable nginx #停止自启动ls /usr/lib/systemd/system #查看自启动列表 阅读全文
posted @ 2020-05-14 14:14 Binz 阅读(252) 评论(0) 推荐(0) 编辑
摘要: centos7 yum install epel-release yum update yum install -y nginx #安装stream模块,如果需要 yum install nginx-mod-stream -y# systemctl start nginx.service 启动ngi 阅读全文
posted @ 2020-05-14 14:07 Binz 阅读(146) 评论(0) 推荐(0) 编辑
摘要: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl start firewalld #启动 firewall firewall-cmd - 阅读全文
posted @ 2020-05-14 11:49 Binz 阅读(259) 评论(0) 推荐(0) 编辑