Mac下brew/memcached/nginx/iterm/zsh的安裝

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

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

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

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

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用戶啓動ruby

brew update
brew search nginx 
brew info nginx
brew install nginx

iterm/zsh的安裝bash

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

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

iterm進行下載安裝appmemcached

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 
相關文章
相關標籤/搜索