bash – 找不到NGINX brew install命令
发布时间:2020-12-13 21:05:04 所属栏目:Nginx 来源:网络整理
导读:我做 $brew install nginx 得到: == Downloading http://nginx.org/download/nginx-1.2.2.tar.gzAlready downloaded: /Library/Caches/Homebrew/nginx-1.2.2.tar.gz== Patchingpatching file conf/nginx.conf== ./configure --prefix=/usr/local/Cellar/ngi
我做
得到:
我在?/ .bashrc文件中有这个:
当我运行nginx -v或sudo nginx -t我得到这个:
我没有正确安装nginx吗? 最佳答案
运行echo $PATH,/usr/local / sbin会出现吗?
如果不: 尝试获取?/ .bashrc文件并查看它是否出现:source~ / .bashrc 再次运行echo $PATH.它应该是apear. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |