-bash: nginx: command not found

問題:-bash: nginx: command not found 原因:nginx的路徑不對 解決方案1: ./ sbin/nginx -t 解決方案2: vim /etc/profile 增加以下紅框的兩行 再source /etc/profile,讓配置文件生效 然後 nginx -t
相關文章
相關標籤/搜索