Linux
启动Web服务的工具
Nginx
命令 | 注释 |
---|---|
systemctl start nginx | 启动Nginx |
systemctl stop nginx | 停止Nginx |
systemctl restart nginx | 重启Nginx |
systemctl status nginx | 查看Nginx运行状态 |
systemctl enable nginx | 设置Nginx开机自启动 |
systemctl disable nginx | 取消Nginx开机自启动 |
Linux
启动Web服务的工具
命令 | 注释 |
---|---|
systemctl start nginx | 启动Nginx |
systemctl stop nginx | 停止Nginx |
systemctl restart nginx | 重启Nginx |
systemctl status nginx | 查看Nginx运行状态 |
systemctl enable nginx | 设置Nginx开机自启动 |
systemctl disable nginx | 取消Nginx开机自启动 |