标签:
1.按下 CTRL + ALT 组合键,进入主操作系统,点击VMware虚拟机菜单下的安装虚拟机工具子菜单. 菜单:VM->Install VMware tools....(虚拟机->安装VMware Tools...)
2.点击"弹出的对话框"中的"Install"按钮,确认安装VMware Tools.
3.鼠标点击Linux界面,进入Linux.
4.使用如下命令挂载光驱设备,注意大小写.
(如果 /mnt 下没有相应的目录则可以通过 mkdir 命令来创建)
mount -t iso9660 /dev/cdrom /mnt/cdrom
5.ls /mnt/cdrom 你将会发现如下文件中的一个或两个文件:
VMwareTools-6.0.3-80004.i386.rpm 和 VMwareTools-6.0.3-80004.tar.gz
这就是VMware Tools的Linux软件包.(其中6.0.3-80004为版本号,可能会有所不同)
这两个文件其实就是一个软件,只不过第一个是安装包形式,第二个是压缩形式。我们使用第二个文件进行安装。
注意,不能直接在这个/mnt/cdrom下使用 tar解压命令,否则会出现cannot open…的错误
vmware-tools-distrib/lib/modules/source/legacy/
tar: vmware-tools-distrib/lib/modules/source/legacy: Cannot mkdir: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmblock.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmblock.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vsock.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vsock.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmmemctl.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmmemctl.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmxnet3.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmxnet3.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/pvscsi.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/pvscsi.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmci.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmci.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmhgfs.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmhgfs.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/legacy/vmxnet.tar
tar: vmware-tools-distrib/lib/modules/source/legacy/vmxnet.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/pvscsi.tar
tar: vmware-tools-distrib/lib/modules/source/pvscsi.tar: Cannot open: No such file or directory
vmware-tools-distrib/lib/modules/source/vmci.tar
tar: vmware-tools-distrib/lib/modules/source/vmci.tar: Cannot open: No such file or directory
正确的做法是在/tmp下新建一个test目录
#mkdir /tmp/test/
然后复制VM…..tar.gz过来
cp /mnt/cdrom/VM…..tar.gz /tmp/test/
6.回到/tmp/test 解压VM….tar.gz
#tar –xzvf VM…..tar.gz
如果是 rpm包,则
rpm -ivh VMwareTools-6.0.3-80004.i386.rpm
7.然后进入解压目录安装 .pl文件
#./vmware-install.pl
不出意外就可以完成安装了。
标签:
原文地址:http://www.cnblogs.com/AI-Algorithms/p/4419108.html