Mac安装Nginx、Mysql、PHP、Redis

这篇文章不全 看转载于 https://www.cnblogs.com/wangzehuaw/p/7832560.html安装xcode命令行工具的命令
xcode-select --install
 

安装homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

旧版本homebrew升级:

brew update

Nginx安装

brew install nginx

复制代码
➜  ~ brew install nginx
Updating Homebrew...
==> Installing dependencies for nginx: pcre, openssl@1.1
==> Installing nginx dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.39.sierra.bottle.tar.gz

猜你喜欢

转载自blog.csdn.net/sd19871122/article/details/80875585