This blog has been influenced by Jason Fisher’s blog and this article illustrates some modification of his Jekyll Build on Windows to CentOS.


A GitHub repository was created, named - jaehyeon-kim should be replaced with an individual user name. It is better to have a clean repository even without as it is easier to push a local repository for the first time.


Jekyll-Bootstrap was cloned into a folder which has the same name to the GitHub repository. Specifically

$ git clone
$ cd
$ git remote set-url origin
$ git push origin master

After a short while, it is possible to access the blog by typing


While a Ruby installer can be downloaded here on Windows, it can be installed through the yum package installer as illustrated in this site.

However Ruby 1.8.x is the default installation on CentOS 6.6 and, in order to install Jekyll, Ruby 1.9.3 or higher is necessary. To install a different version of Ruby, see this site - Ruby 1.9.3 as installed for this blog.

After Ruby was installed, the RubyGems, which is a package management framework for Ruby, was installed - see this site for further details. Finally, using the RubyGems, the Rake, a Ruby build tool, was installed (gem install rake).


Twitter-2.0 theme packaged for Jekyll-Bootstrap was installed for responsive design.

$ rake theme:install git=""

After the install was successful, type y and enter to switch to the newly installed theme.


Pygments is necessary for code hightlighting and this Python package can be installed via easy_install.

Python 2.6.6 is already installed on CentOS 6.6. To install easy_install, the python-setuptools and python-setuptools-devel packages were installed via the yum package installer as illustrated in this site.

After installing Pygments, syntax.css was downloaded from here and all occurrences of .syntax were replaced with .highlight. Then this css file was saved as /assets/themes/twitter-2.0/css/syntax.css and the following line was added to the default.html file:

<link href="/assets/themes/twitter-2.0/css/syntax.css" rel="stylesheet" type="text/css">

Jekyll Server

In order to check articles locally, Jekyll server was installed by the RubyGems, the server doesn’t run currently. It is an issue to resolve as of Nov 18, 2014. At the moment, the only way to check articles before pushing the repository is through converting the Rmd files into HTML using knitr.


Configuration in _config.yml was modified as shown below. Note that Disqus for comments and Google for web analytics were set up as can be checked in the configuration section.

title : R, Scala and Machine Learning
tagline: Blog
author :
  name : Jaehyeon Kim
  email :
  github : jaehyeon-kim

# Production URL
production_url :

comments :
  provider : disqus
  disqus :
    short_name : short-name-set-up-at-disque

analytics :
  provider : google
  google :
    tracking_id : 'tracking-id-give-by-google-analytics'