Jekyll now-Convert plain text to static blog site
Reference official website: http://jekyllcn.com/
To install Ruby:
Cd/usr/local/src
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz
TAR-XVF ruby-2.1.4.tar.gz
./configure-prefix=/usr/local/ruby-2.1.4
Make
Make install
#Unzip the fileTar vfxz Ruby-1.9.1-p0.tar.gz#Enter the extracted folderCD Ruby-1.9.1-p0/#Compile the source code, before compiling, you should set permissions on the/usr/local/ruby-1.9.1 folder first. ./configure--prefix=/usr/local/ruby-1.9.1#the famous make and install Make&&Make Install#set the path path and put your own ruby in front of the system path to avoid calling the OS's own RubyExport PATH=/usr/local/ruby-1.9.1/bin:$PATH #I added this code to the ~/.profile file: if[-D"/usr/local/ruby-1.9.1/bin" ] ; Then PATH="/usr/local/ruby-1.9.1/bin: $PATH"fi then logs off and lands once again. #If no accidentRuby-v#Ruby 1.9.1p0 (2009-01-30 revision 21907) [I686-linux] #Ruby 1.9.1 installation was successful.
Install RubyGems:
Yum Install RubyGems fix
Convert plain text to static blog site-Jekyll now