1、apt安装
sudo apt update
sudo apt install nginx
2、安装位置
whereis nginx
3、启动
service nginx start
4、检查nginx配置文件
service nginx reload
5、重启
nginx -s reopen
6、停止
nginx -s stop
sudo apt update
sudo apt install nginx
whereis nginx
service nginx start
service nginx reload
nginx -s reopen
nginx -s stop
本文标题:ubuntu 18 安装 nginx
本文链接:https://www.haomeiwen.com/subject/zxesjrtx.html
网友评论