zoukankan      html  css  js  c++  java
  • 为自己现有的github octopress配置环境

    升级了内存,重装为ubutun 64bit,当然octopress环境也得重新装下 查了查资料,颇费周折,最终搞定,特此记录 准备工作 --- 安装git等必要的环境 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 安装RVM & ruby --- 这里顺便记录下rvm的卸载方法 `rvm implode` bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.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已有的octopress --- 这里*username*替换为自己的github帐号 git clone -b source git@github.com:username/username.github.com.git octopress #下载source版本(用于编辑) cd octopress #当然选择yes了 git clone git@github.com:username/username.github.com.git _deploy #下载_deploy版本(用于发布) bundle install 大功告成!
  • 相关阅读:
    阿里云自定义镜像保存规则
    linux常用命令
    SQL
    redis集群
    AOP中的通知
    mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
    ---Linux命令
    feign
    spring clud / dubbo
    Ajax嵌套问题
  • 原文地址:https://www.cnblogs.com/hangxin1940/p/2806438.html
Copyright © 2011-2022 走看看