nginx 安装简洁方式
yum install nginx
yum install nginx -y //跳过确认
netstat -nptl
systemctl enable nginx // 开机自动执行
systemctl stop nginx //如果修改了nginx.conf 先停止再执行即可
systemctl start nginx
这是在 centos 7 或者 8 中的
微信扫一扫
nginx 安装简洁方式
yum install nginx
yum install nginx -y //跳过确认
netstat -nptl
systemctl enable nginx // 开机自动执行
systemctl stop nginx //如果修改了nginx.conf 先停止再执行即可
systemctl start nginx
这是在 centos 7 或者 8 中的
相关推荐