Jekyll is a Git compatible static site generator that can be installed on Ubuntu. The template system can be configured for a blog style layout. Tested on Ubuntu Server 11.04 Natty.

Install Dependencies

sudo apt-get install git ruby rubygems python-pygments
sudo gem install rdiscount --no-rdoc --no-ri The --no-rdoc --no-ri options are suggested for lightweight server installs.

Install Jekyll

sudo gem install jekyll --no-rdoc --no-ri

The Ubuntu package uses a Gem directory of /var/lib/gems/1.8/bin/ which must be added to your path. export PATH=/var/lib/gems/1.8/bin:$PATH

Make this change permanent by adding the line to ~/.profile

Optional

Speed up LSI

Accelerate LSI by using GSL
sudo apt-get install libocamlgsl-ocaml-dev libgsl-ruby1.8

Install Kramdown

Kramdown is a Markdown renderer alternative to Rdiscount. sudo gem install kramdown –no-rdoc –no-ri

Recommended Templates

Additional Site Examples

Install Jekyll 2 on Ubuntu 14.04

Jekyll 2 was recently released and can be installed on Ubuntu 14.04 using apt-get and gem install. Continue reading

Git Wiki with Gollum and Smeagol

Published on June 06, 2011