Configure the environment for your existing GitHub octopress

Source: Internet
Author: User
Tags install openssl
The memory is upgraded and the value is changed to ubutun 64bit. Of course, the octopress environment must be reinstalled.
I checked the information, but it took a long time to get it done. I would like to record it here

Preparations
---
Install git and other necessary environments

Sudo apt-Get install bash curl Git-core-y
Sudo apt-Get install build-essential bison OpenSSL libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev Autoconf libc6-dev ncurses-dev automake-y

Install rvm & Ruby
---
Here, we will record the rvm uninstall method 'rvm implode'

Bash> ~ /. Bashrc
Source. bash_profile
Rvm PKG install OpenSSL
Rvm PKG install iconv
Rvm install 1.9.2-c -- With-OpenSSL-Dir = $ home/. rvm/usr, -- With-iconv-Dir = $ home/. rvm/usr
Rvm use 1.9.2 -- default
Rvm reload
Rvm rubygems latest
Gem install bundler

Git clone existing octopress
---
Here, replace * username * With Your GitHub account.

Git clone-B Source git@github.com: username/username.github.com. Git octopress # download source version (for editing)
CD octopress # Of course yes
Git clone git@github.com: username/username.github.com. Git _ deploy # download _ deploy version (for release)
Bundle install

Success!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.