Install ruby and basic compile environment

sudo apt-get install ruby-full build-essential

Check if ruby is installed successfully

$ ruby -v
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

Install jekyll by gem

sudo gem install jekyll

Check if jekyll is installed successfully

$ jekyll -v
jekyll 3.4.0

Start the jekyll

jekyll serve -w

See from broswer

Open your broswer, type “”, then you will see your own website locally.