LoginSignup
6
7

More than 5 years have passed since last update.

ubuntu 14.04 で octopressをインストールする手順は?

Posted at

ubuntuのシステムアップデート

sudo apt-get update
sudo apt-get dist-upgrade

octopressを動作させるのに必要なパッケージをインストール

sudo apt-get install build-essential git libssl-dev nodejs

Rubyのセットアップ

mkdir ~/Downloads
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo '' >> ~/.profile
echo '# rbenv' >> ~/.profile
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile
echo 'eval "$(rbenv init -)"' >> ~/.profile
source ~/.profile
type rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 1.9.3-p0
rbenv local 1.9.3-p0
which ruby
ruby --version

Octopressのセットアップ

cd Downloads/
git clone git://github.com/imathis/octopress.git octopress
cd octopress
gem install bundler
gem install bundler
rbenv rehash
bundle install

Octopressの動作確認

rake install
rake preview
6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7