-bash: nginx: command not found

问题:-bash: nginx: command not found 原因:nginx的路径不对 解决方案1: ./ sbin/nginx -t 解决方案2: vim /etc/profile 增加以下红框的两行 再source /etc/profile,让配置文件生效 然后 nginx -t
相关文章
相关标签/搜索