nginx小结20181231

上传安装文件.tar.gz 到/usr/local/src
解压tar
执行安装 sh install.sh
检查方法看端口是否占用 或者IE打开 进程是否启动
NG配置文件路径/usr/local/nginx/conf/exart
常用命令
cd /usr/local/nginx/sbin/
启动 ./nginx
查看配置文件
./nginx -t
重新加载
./nginx reload
停止./nginx stop

猜你喜欢

转载自blog.csdn.net/weixin_44078092/article/details/85451063