UBUNTU12.04安装笔记

1 虚拟机,CLI方式安装UBUNTU12.04,为了加快安装速度,安装期间关闭网络,语言选择english,国家选择us

2 打开网络,重启,设置网络

sudo vi /etc/network/interfaces,修改文件内容如下:

auto eth0
iface eth0 inet dhcp

3 重启网络

sudo /etc/init.d/networking restart

4 设置更新源(163)

sudo vi /etc/apt/sources.list,修改文件内容如下:

deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

5 更新

sudo apt-get update

6 安装X11

sudo apt-get install xorg

7 安装xdm

sudo apt-get install xdm

8 安装awesome

sudo apt-get install awesome

9 安装vim

sudo apt-get install vim

10 安装中文语言包,如果喜欢英文界面,可以跳过这一步

sudo apt-get install language-pack-zh-hans language-pack-zh-hans-base

11 安装中文字体

sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy

12 安装输入法fcitx

sudo apt-get install fcitx

13 待续

你可能感兴趣的:(UBUNTU12.04安装笔记)