用vmware安装ubuntu时,可以用默认安装,这样VMware会自动安装上VMware tools 不过是默认的英文系统 要想安装中文系统,在建立虚拟机向导时,不要选择默认的镜像iso文件位置,在走完向导后或是启动系统时选择iso,或是在虚拟机的setttings中选择
安装完ubuntu系统后,我会通过软件中心默认的安装两个我喜欢的应用程序"chrome"和"阿贴便签",并固定到启动器上
安装git Sudo apt-get install git git-core Sudo apt-get install tig git config --global user.name "username" git config --global user.emain "user_email" git config --global core.editor vim git config --global alias.ci "commit -a -v" git config --global alias.cko "checkout" git conifg --global alias.br "branch" git config --global alias.delbr "branch -D" git config --global alias.df "diff" git config --global alias.throw "reset --hard HEAD" git config --global alias.throwh "reset --hard HEAD^"
安装zsh Sudo apt-get install zsh git clone ~/.oh-my-zsh
chsh -s $(which zsh)
安装ruby,默认ubuntu自带1.8.1 通过下载包安装 sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev $ wget $ tar xvfz ruby-1.9.3-p327.tar.gz $ cd ruby-1.9.3-p327/ $ ./configure $ make $ sudo make install 通过rvm安装 sudo apt-get install -y wget vim build-essential openssl libreadline6 libreadline6-dev libmysqlclient-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev libcurl4-openssl-dev autoconf automake libtool imagemagick libmagickwand-dev libpcre3-dev nodejs libpq-dev $ \curl -L | bash -s stable $ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >>~/.bashrc $ source ~/.bashrc $ rvm -v sed -i -e 's/ftp.ruby-lang.org/pub/ruby/ruby.taobao.org/mirrors/ruby/g' ~/.rvm/config/db rvm pkg install readline openssl $ rvm install 2.0.0 $ rvm use 2.0.0 --default $ ruby -v ruby 2.0.0p247 $ gem sources --remove $ gem sources -a $ gem sources -l *** CURRENT SOURCES ***
Sudo gem install rails $ rails -v Rails 4.0.0
Sudo -i 转到root用户 sudo apt-get install python-setuptools wget tar jxf ./Python-3.3.2.tar.bz2 cd ./Python-3.3.2 ./configure --prefix=/opt/python3.3 make && sudo make install Alias python = python3 sudo easy_install pyf5
source ~/.rvm/script/rvm gem install railties gem install bundler
export https_proxy= export http_proxy= export ftp_proxy= export socks_proxy= all_proxy=