A blogging framework for hackers.
win下装octopress的时候状况不断,换到linux下果然一路顺风就配置好了。
珍爱生命远离windows。
下面是记录:
安装
1234567
sudo apt-get install ruby1.9.3
git clone git://github.com/imathis/octopress.git octopress
cd octopress
gem install bundler
rbenv rehash # If you use rbenv, rehash to be able to run the bundle command
bundle install # 这个过程可能会卡住很久,开VPN就好。
rake install
创建SSH Key
12345678
cd ~/.ssh
# Checks to see if there is a directory named ".ssh" in your user directory
ssh-keygen -t rsa -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
sudo apt-get install xclip
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
xclip -sel clip < ~/.ssh/id_rsa.pub
# Copies the contents of the id_rsa.pub file to your clipboard