码迷,mamicode.com
首页 > 其他好文 > 详细

nginx

时间:2020-03-31 10:25:41      阅读:58      评论:0      收藏:0      [点我收藏+]

标签:pat   class   http   cal   info   source   comm   port   src   

 

 

 

 

-bash: nginx: command not found

 

解决banf :

1、vim /etc/profile  添加 内容

PATH=$PATH:/usr/local/nginx/sbin
export PATH

如下

技术图片

2,source /etc/profile    让配置文件重新生效一下

 

技术图片

 

执行成功

 

 

nginx

标签:pat   class   http   cal   info   source   comm   port   src   

原文地址:https://www.cnblogs.com/feathe/p/12603345.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!