各种环境配置

jdk

maven

git

idea配置

file->settings

node

brew install node
export NODE_PATH=/usr/local/lib/node_modules

go

brew install go
export GOPATH=/usr/local/Cellar/go/1.6.2
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

jekyll

***1.ubuntu14.04安装jekyll***

sudo apt-get install ruby
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable
/usr/local/rvm/bin/rvm install 2.1


安装nodejs   yum install nodejs
sudo apt-get install nodejs

sudo gem install jekyll

sudo apt-get install ruby-redcarpet

sudo apt-get install ruby-kramdown

***2.mac**

brew install jekyll

使用

jekyll server -I