鍍金池/ 問(wèn)答/HTML5  Linux/ mac homebrem 安裝Nginx 完整版本出錯(cuò)

mac homebrem 安裝Nginx 完整版本出錯(cuò)

在mac上 用homebrem 安裝nginx-full完整版本出錯(cuò) 好像是homebrew上面沒(méi)有這個(gè)包了 但是我看別人的視頻上這樣安裝沒(méi)錯(cuò)。

brew install nginx-full --with-rtmp-module
Error: No available formula with the name "nginx-full"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
回答
編輯回答
膽怯

homebrew-nginx
執(zhí)行如下命令:

brew tap denji/nginx
brew install nginx-full --with-upload-module

需要添加新的formula倉(cāng)庫(kù),官方?jīng)]有nginx-full只要nginx...

2017年12月14日 06:49