码迷,mamicode.com
首页 > 系统相关 > 详细

Mac下brew/memcached/nginx的安装

时间:2018-09-30 15:02:52      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:dom   services   export   mem   curl   html   com   detail   ott   

brew  https://www.cnblogs.com/fireworld/p/8609190.html

memcached https://blog.csdn.net/whereismatrix/article/details/50485570

memcached https://www.cnblogs.com/fengwenit/p/6381100.html

nginx  https://www.cnblogs.com/meng1314-shuai/p/8335140.html

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
cd "$(brew --repo)"   //这个命令会进入到相应目录,可以pwd查看下
  cd "$(brew --repo)" git remote set-url origin git://mirrors.ustc.edu.cn/brew.git

  echo export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles >> ~/.bash_profile
  source ~/.bash_profile
brew install memcached
brew services start memcached 或者 memcached -d

在mac中低于1024的端口不能用非root用户启动

brew update
brew search nginx 
brew info nginx
brew install nginx

 

Mac下brew/memcached/nginx的安装

标签:dom   services   export   mem   curl   html   com   detail   ott   

原文地址:https://www.cnblogs.com/stono/p/9729100.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!