ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"安裝 nginx
brew install nginx讓 nginx 在登入時自動載入
ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents立刻載入
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist或
sudo nginx網頁根目錄
/usr/local/var/wwwnginx 的設定檔
/usr/local/etc/nginx/nginx.conf關掉 apache
sudo apachectl stop
沒有留言:
張貼留言