linux mint本机 部署给力百货全过程20110529

安装虚拟机增强工具
sudo adduser mlzboy(这一部省略主要是针对server的)
sudo adduser mlzboy admin(这一部省略主要是针对server的)
sudo passwd root
cd /etc/apt/
sudo cp sources.list sources.list.bak.20110529

由于linux mint 10 是基于ubuntu 10.10的,而原先的部署是基本10.04的所以下面的源的部分不同
deb http://mirrors.163.com/ubuntu/ maverick main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-backports main restricted universe multiverse

源推荐
http://www.ylmf.net/ubuntu/news/201010207370.html

sudo apt-get install gcc build-essential g++ libssl-dev libreadline5-dev zlib1g-dev linux-headers-generic libxml2-dev libcurl4-openssl-dev curl git-core bison zlib1g subversion autoconf libpcre3-dev

 

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

referer:

http://beginrescueend.com/rvm/install/

 

 

type rvm | head -1
rvm 是一个函数

put ruby-1.9.2-p180.tar.bz2 to ~/.rvm/archives
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.bz2
rvm install 1.9.2
rvm list
rvm use 1.9.2 --default


linux mint 来安装rvm有点问题,go back to use original ubuntu

你可能感兴趣的:(linux)