nginx的安装 ,启动命令

通过apt-get install nginx来安装。

按照linux尿性,一般安装完后配置文件在/etc文件夹下,启动文件在/usr/bin  或者/usr/sbin 下

安装完后一般就启动了,通过浏览器 http://localhost  可查看

常见命令

停止nginx

sudo systemctl stop nginx

启动nginx

sudo systemctl start nginx

重启nginx

扫描二维码关注公众号,回复: 4554320 查看本文章

sudo systemctl restart nginx

重新加载 

sudo systemctl reload nginx

猜你喜欢

转载自blog.csdn.net/fangyuandoit/article/details/85062533