本文共 346 字,大约阅读时间需要 1 分钟。
1、homebrew安装
首先个性hosts文件添加,解决无法安装homebrew问题,是由于dns污染199.232.68.133 raw.githubusercontent.com
然后再执行
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
2、brew install mysql
安装完成之后,可以运行命令启动mysql服务mysql.server start
3、nginx目录位置
nginx -V #查找位置brew services restart nginx #重启nginxnginx -t #校验nginx.conf
转载地址:http://ejmii.baihongyu.com/