来源:自学PHP网 时间:2015-04-14 11:51 作者: 阅读:次
[导读] 配置新的Ubuntu开发环境更新源sudo apt-get update安装系统包sudo apt-get -y install git-core curl zsh exuberant-ctags vim autoconf automake openssl \ www.2cto.com build-essential l......
配置新的Ubuntu开发环境 更新源
sudo apt-get update
安装系统包
sudo apt-get -y install git-core curl zsh exuberant-ctags vim autoconf automake openssl \ www.2cto.com
build-essential libc6-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev \
mysql-server libmysqlclient-dev libsqlite3-0 libsqlite3-dev sqlite3 \
ncurses-dev libtool bison libxslt1-dev libxml2-dev libqt4-dev
nokogiri.gem need libxml2 libxml2-dev libxslt1-dev mysql2.gem need libmysqlclient-dev capybara-webkit.gem need libqt4-dev
安装oh-my-zsh,如果你使用bash可以跳过此步骤
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
切换到zsh
chsh -s `which zsh`
www.2cto.com
配置主目录里面常用的dotfiles文件
git clone git://github.com/wongyouth/dotfiles ~/.dotfiles
cd ~/.dotfiles
rake install
设置vim文件,安装常用的vim插件
curl https://raw.github.com/wongyouth/vimfiles/master/install.sh | bash
安装ruby环境管理工具rbenv
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
rbenv bootstrap-ubuntu-12-04
安装ruby1.9
rbenv install 1.9.3-p194
rbenv global 1.9.3-p194
www.2cto.com
更新gem 并安装 bundler rake
gem update --system
gem install bundler rake
更新rbenv的shim,使rake, bundle命令可以直接使用
rbenv rehash
安装mysql-server
sudo apt-get install mysql-server
安装jdk
sudo apt-get install default-jdk
|
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com