摘要: 1、进入到安装的目录里面 whereis nginx 2、配置ngixn.conf路径 nginx -c /data/server/conf/nginx.conf 3、进入该路径:cd /usr/sbin 4、启动nginx 命令: ./nginx 出现下面启动成功 或者直接nginx -s rel 阅读全文
posted @ 2021-04-25 15:59 吾码的博客 阅读(1390) 评论(0) 推荐(0) 编辑
摘要: reboot后需要指定: nginx -c /data/conf/nginx.conf 阅读全文
posted @ 2021-04-25 15:27 吾码的博客 阅读(387) 评论(0) 推荐(0) 编辑