软件安装篇

安装brew :
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装brew cask :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null

 

熟悉Command:

brew install {应用名,如git} 安装软件

brew cask install {应用名,如git} 也是下载安装,与上面的区别,请查看https://www.zhihu.com/question/22624898

brew主要用来下载一些不带界面的命令行下的工具和第三方库来进行二次开发
brew cask主要用来下载一些带界面的应用软件,下载好后会自动安装,并能在mac中直接运行使用

 

安装常用的SofeWare:

brew install wget

brew cask install java默认jdk版本
brew cask install java6 也可以指定下载版本

brew install maven

brew install tomcat8

brew install nginx
sudo nginx start,打开localhost:8080 会弹出 welcome to nginx 界面
nginx -s quit 退出
nginx -s reload 重新加载
nginx -t 测试nginx.conf配置
注: /usr/local/etc/nginx 下修改nginx.conf文件

brew install git
brew install sourcetree --拥有可视化界面的项目版本控制软件,适用于git项目管理

brew cask install intellij-idea

brew install redis
教程:http://blog.csdn.net/qq_23306647/article/details/78993900
https://blog.csdn.net/wanggangabc111/article/details/78133170
RedisDesktopManager:(可视化工具) — 暂不可用了哦哦
brew cask install rdm


zsh:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
chsh -s /usr/local/bin/zsh 切换到 zsh 模式.
配置:http://blog.csdn.net/m765885195t/article/details/75353928


brew install mysql
http://blog.csdn.net/lkxlaz/article/details/54580735

 

brew install node

npm install -g vue-cli
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -d
cnpm install nrm 安装 nrm 自由切换 npm 源
使用nrm:
    $ nrm ls
    $ nrm use **


安装SecureCRT: https://www.cnblogs.com/wulaoer/p/5538721.html

 

posted @ 2018-05-15 11:27  简笔话_Golden  阅读(183)  评论(0编辑  收藏  举报