安装部署

下载最新release版本

CentOS7

安装

rpm -ivh nginx-*-wl.el7.x86_64.rpm

关闭selinux

setenforce 0
sed -i "s#SELINUX=enforcing#SELINUX=disabled#g" /etc/selinux/config

启动

systemctl daemon-reload
systemctl enable nginx --now

查看状态

systemctl status nginx
Copyright © weiliang-ms 2021 all right reserved,powered by Gitbook本书发布时间: 2024-05-30 16:49:59

results matching ""

    No results matching ""