nginx手动安装常用命令:
进入安装目录:/usr/local/nginx
启动方式/sbin ./nginx
重启方式/sbin ./nginx -s reload
关闭方式/sbin ./nginx -s stop
nginx在线安装常用命令:
a) 启动
systemctl start nginx
b) 停止
systemctl stop nginx
c) 重启
systemctl restart nginx
d) 重载文件
systemctl reload nginx
e) 查看状态
systemctl status nginx