第一步:修改Ubuntu软件源为国内镜像 (备注:也可自己制作iso文件挂载到/mnd/cdrom下,修改软件源,指向/mnd/cdrom下 : nano /etc/apt/sources.list deb file:/mnt/cdrom ./)
1.备份原来的软件源
$>cd /etc/apt $>cp sources.list sources.list.bak2.情况sources.list文件 $>echo "" > sources.list3.复制163国内软件源地址到sources.list文件中[nano /etc/apt/sources.list]
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted第二步:执行更新和升级软件源
$>sudo apt-get update //检索最新软件包列表
$>sudo apt-get upgrade //升级软件包第三步:安装ubuntu桌面软件
$>sudo apt-get install ubuntu-desktop第四步:重启$>sudo reboot虚拟机增强
----------------------------- 1.vmware菜单-->虚拟机 --> 安装VMware的增强工具 2.自动在cdrom中压如linx.iso文件,并自动打开光驱. 3.复制光驱中的VMWareTools-993.xxx.tar.gz文件到ubuntu桌面中 4.右键点击tar.gz文件,选择extract here. 5.在桌面上生成Vmware tool文件夹 6.打开ubuntu终端的程序(Terminal) 7.进入桌面文件夹 cd ~/Desktop 8.执行vmwareInstall.pl $>sudo ./vmwareInstall.pl 9.一路回车。设置虚拟机-------------------------- 1.增加内容容量 2.设置屏幕分辨率为宿主机分辨率 3.启用复制粘贴。 4.共享文件夹。