Mac下brew/memcached/nginx的安装

Posted stono

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mac下brew/memcached/nginx的安装相关的知识,希望对你有一定的参考价值。

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

iterm/zsh的安装

https://blog.csdn.net/lihao21/article/details/69055932

https://blog.csdn.net/kebing1011/article/details/46934533

iterm进行下载安装app

brew install zsh
chsh -s /bin/zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 

 

以上是关于Mac下brew/memcached/nginx的安装的主要内容,如果未能解决你的问题,请参考以下文章

MAC下 Xcode设置中文

Mac下复制粘贴的快捷键是什么?随记

mac下 WebStorm下主题包安装

求教mac下设置NDK

mac下怎么解决连接失败

Mac下运行fiddler