作者:mobiledu2502857827 | 来源:互联网 | 2014-05-27 20:35
在安装Linux的虚拟机中,单击“虚拟机”菜单下的“安装VMware-Tools”1、出现菜单,证明VMware-Tools的光驱镜像文件已经放入光驱设备2、在压缩包上点鼠标右键,再点击“解压缩到…”3、选择把vmtools解压到tmp文件夹。(先点击“文件系统”,再找到“tm
在安装Linux的虚拟机中,单击“虚拟机”菜单下的“安装VMware-Tools”
1、出现菜单,证明VMware-Tools的光驱镜像文件已经放入光驱设备
2、 在压缩包上点鼠标右键,再点击“解压缩到…”
3、 选择把vmtools解压到tmp文件夹。(先点击“文件系统”,再找到“tmp”文件夹)
4、 双击打开“tmp”文件夹,点击“解压缩”
5、文件正在解压中
6、 压缩包里面是一个名为“vmware-tools-distrib”的文件夹
7、打开Linux的Terminal终端设备仿真程序
8、 在终端中以管理员身份登录 su,输入管理员密码 ,回车
9、输入“cd /tmp”(转到tmp目录下),按回车
10、输入ls /tmp (列出tmp目录下所有的文件和文件夹)
12、输入cd vmware-tools-distrib/(打开文件集)
13、输入ls (列出vmware-tools-distrib目录下所有的文件和文件夹)
14、输入安装命令“sudo ./vmware-install.pl”
15、一直按回车,当你看到终端出现“Searching for GCC…”那一句命令后,不再按回车了,输入“no”,接下来它又会出现一句,其中有一句“would you like to change it?”,也输入“no”
16、一直按“回车”
17、 当终端出现“Enjoy, ?the VMware team”就表示VMware tools安装好了。在终端输入“exit”关闭终端窗口
18、 重启,现在已经可以随意地在虚拟机和电脑之间拖放文件了(fedora17的桌面上不能放文件)
开始安装vmware tools
从debian切出进windows,摁ctrl+alt
反之,直接鼠标点debian界面就行了
菜单VM-install vmware tools
su到超级用户
#umount /cdrom
#unount /mnt
#mount -t iso9660 /dev/cdrom /mnt/
#ls /mnt
会看到有Vmwaretools的.rpm和.tar.gz的包
#cp /mnt/VMwaretools*.tar.gz /tmp/
#umount /dev/cdrom
#cd /tmp
/tmp#tar zxf Vmware*.tar.gz
/tmp#cd vmware-tools-distrib
/tmp#./vmware-install.pl
hohoer@debian:~$ cd /tmp/
hohoer@debian:/tmp$ ls
gconfd-hohoer
orbit-hohoer
VMwareTools-6.0.0-45731.tar.gz
gconfd-root
orbit-root
vmware-tools-distrib
keyring-UswtGY ssh-nvBKRA3909
mapping-hohoer virtual-hohoer.PdkSVF
hohoer@debian:/tmp$ cd vmware-tools-distrib/
hohoer@debian:/tmp/vmware-tools-distrib$ ls
bin doc etc FILES
INSTALL installer lib
vmware-install.pl
hohoer@debian:/tmp/vmware-tools-distrib$
./vmware-install.pl (Ubuntu为sudo
./vmware-install.pl)
Please re-run this program as the super user.
Execution aborted.
hohoer@debian:/tmp/vmware-tools-distrib$ su
Password:
debian:/tmp/vmware-tools-distrib# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version
4).
Keeping the tar4 installer database format.
Uninstalling the tar installation of VMware Tools.
Stopping VMware Tools services in the virtual machine:
Guest operating system
daemon:
done
The removal of VMware Tools 6.0.0 build-45731 for Linux
completed successfully.
Thank you for having tried this software.
Installing VMware Tools. This may take from several
minutes to over an hour
depending upon its size.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc]
What is the directory that contains the init scripts?
[/etc/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This
program is
going to create it, including needed parent directories. Is this
what you want?
[yes]