1 虚拟机,CLI方式安装Ubuntu 12.04,为了加快安装速度,安装期间关闭网络,语言选择english,国家选择us
2 打开网络,重启,设置网络
sudo vi /etc/network/interfaces,修改文件内容如下:
auto eth0
iface eth0 inet dhcp3 重启网络
sudo /etc/init.d/networking restart
4 设置更新源(163)
sudo vi /etc/apt/sources.list,修改文件内容如下:
deb precise main restricted universe multiverse
deb precise-security main restricted universe multiverse
deb precise-updates main restricted universe multiverse
deb precise-proposed main restricted universe multiverse
deb precise-backports main restricted universe multiverse
deb-src precise main restricted universe multiverse
deb-src precise-security main restricted universe multiverse
deb-src precise-updates main restricted universe multiverse
deb-src precise-proposed main restricted universe multiverse
deb-src precise-backports main restricted universe multiverse
按 Ctrl+C 复制代码
5 更新
sudo apt-get update
6 安装X11
sudo apt-get install xorg
7 安装XDM
sudo apt-get install xdm
8 安装FVWM
sudo apt-get install fvwm
9 安装gvim
sudo apt-get install vim-gtk
10 安装中文包
sudo apt-get install language-pack-zh-hans language-pack-zh-hans-base
11 安装fcitx
sudo apt-get install fcitx
更多Ubuntu相关信息见Ubuntu 专题页面 ?tid=2