One. Install Ruby

Ubuntu: sudo apt-get install ruby
Mac: http://www.cnblogs.com/daguo/p/4097263.html

Two. Change gem sources

gem sources --remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l

Three. Install jekyll

gem install jekyll

Four. Make a new space for your articles and initialize it

mkdir idlefellow.github.io
cd idlefellow.github.io
jekyll new .

Five. Use git for management

git init
git add remote origin https://github.com/IdleFellow/idlefellow.github.io.git
git add .
git commit -m 'use jekyll'
git push origin master