解决办法:
在 /etc/bashrc中追加nginx命令的绝对路径
export PATH=$PATH:/usr/local/nginx/sbin
末尾加上这句,然后source /etc/bashrc使其生效。
解决办法:
在 /etc/bashrc中追加nginx命令的绝对路径
export PATH=$PATH:/usr/local/nginx/sbin
末尾加上这句,然后source /etc/bashrc使其生效。
本文标题:nginx -V command not found
本文链接:https://www.haomeiwen.com/subject/giptoctx.html
网友评论