WowkingMy first blog for Jekyll~Welcome ~ Welcome ~

Welcome ~

This is my first blog for Jekyll.

简单记录Jekyll安装步骤。

Ruby

[[email protected]_node01 srv]# yum -y install gcc
[[email protected]_node01 srv]# curl -L get.rvm.io| bash -s stable
[[email protected]_node01 srv]# source /etc/profile
[[email protected]_node01 srv]# gem sources --remove https://rubygems.org/
https://rubygems.org/ removed from sources
[[email protected]_node01 srv]# gem sources -a https://ruby.taobao.org/
https://ruby.taobao.org/ added to sources
[[email protected]_node01 srv]# gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org/
[[email protected]_node01 srv]# rvm list known 
[[email protected]_node01 srv]# rvm install 2.4

#RubyGems
[[email protected]_node01 ~]# wget https://rubygems.org/rubygems/rubygems-2.6.11.tgz
--2017-04-21 21:37:43--  https://rubygems.org/rubygems/rubygems-2.6.11.tgz
Resolving rubygems.org... 151.101.192.70, 151.101.64.70, 151.101.0.70, ...
Connecting to rubygems.org|151.101.192.70|:443... connected.
ERROR: certificate common name “l.ssl.fastly.net” doesn’t match requested host name “rubygems.org”.
To connect to rubygems.org insecurely, use ‘--no-check-certificate’.
[[email protected]_node01 ~]# wget --no-check-certificate https://rubygems.org/rubygems/rubygems-2.6.11.tgz
[[email protected]_node01 ~]# tar -zxvf rubygems-2.6.11.tgz
[[email protected]_node01 ~]# cd rubygems-2.6.11
[[email protected]_node01 rubygems-2.6.11]# ruby setup.rb

Jekyll

[[email protected]_node01 rubygems-2.6.11]# gem install jekyll bundler 
[[email protected]_node01 wowkingah.github.io]# jekyll serve
Could not find proper version of jekyll (3.1.1) in any of the sources
Run `bundle install` to install missing gems.
[[email protected]_node01 wowkingah.github.io]# bundle install
bundle install
[[email protected]_node01 wowkingah.github.io]# jekyll serve