2015-05-10 15:56:00
来 源
中存储网
Ubuntu
1 虚拟机,CLI方式安装Ubuntu 12.04,为了加快安装速度,安装期间关闭网络,语言选择english,国家选择us 2 打开网络,重启,设置网络 sudo vi /etc/network/interfaces,修改文件内容如下: auto eth0 iface eth0 inet dhcp 3 重启网络 sudo /etc/init.d/networking

1 虚拟机,CLI方式安装Ubuntu 12.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
按 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

声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。