nginx的安装 ,启动命令
通过apt-get install nginx来安装。
按照linux尿性,一般安装完后配置文件在/etc文件夹下,启动文件在/usr/bin 或者/usr/sbin 下
安装完后一般就启动了,通过浏览器 http://localhost 可查看
常见命令
| 停止nginx | sudo systemctl stop nginx |
| 启动nginx | sudo systemctl start nginx |
| 重启nginx | sudo systemctl restart nginx |
| 重新加载 | sudo systemctl reload nginx |

浙公网安备 33010602011771号