如何安装Linux下的VMwareTools.
1.安装工具。让虚拟机运行于窗口状态,不要全屏,按Ctrl+Alt让鼠标释放出来。在VMware的菜单栏上选择"虚拟机/安装虚拟机工具(VM/Install VMware Tools...)"。然后切换到客户操作系统,即Linux。
2.挂载光盘。
# mount /dev/cdrom /mnt/cdrom
3.执行命令。进入虚拟光盘,可以看到有两个文件,一个是压缩包,一个为rpm包。直接运行rpm包安装,命令行也可。rpm -Uvh VMwareTools-版本号-版本号.i386.rpm
# cd /mnt/cdrom
# ls -l
有两上文件 :
VMwareTools-5.5.1-19175.i386.rpm
VMwareTools-5.5.1-19175.tar.gz
并把这两个文件拷贝到你的文件下 如 /tmp
#cp VMwareTools-5.5.1-19175.tar.gz /tmp
#cp VMwareTools-5.5.1-19175.i386.rpm /tmp
#cd /tmp
#rpm -ivh VMwareTools-5.5.1-19175.i386.rpm
4.上述操作完成后,进入/usr/bin目录,查找vmware-config-tools.pl.找到后,运行它。
5.一路回车
6. #tar -xzvf VMwareTools-5.5.1-19175.tar.gz
#cd vmware-tools-distrib
#./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# 安装过程的画面,全部使用默认值,一直按 Enter 就对了
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/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/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]
Thepath "/usr/lib/vmware-tools" does not exist currently. This program isgoingto create it, including needed parent directories. Is this whatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently. Thisprogram isgoing to create it, including needed parent directories. Isthis what you want?
[yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30153 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected X.org version 6.8.
关闭控制台鼠标服务: [ 确定 ]
启动控制台鼠标服务: [ 确定 ]
Please choose one of the following display sizes (1 - 13):
# 显示分辨率,这里是以 1024x768 为例
# VMware Tools 安装的时候,会自动修改 X server 的配置文件
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
Please enter a number between 1 and 13:
[2] 3
X Window System Version 6.8.2
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ 确定 ]
Guest filesystem driver: [ 确定 ]
DMA setup: [ 确定 ]
Guest operating system daemon: [ 确定 ]
The configuration of VMware Tools 5.5.1 build-19175 for Linux for this running
Enjoy,
--the VMware team
# shutdown -r now
# 修改完成之后,重新启动计算机,让 VMware Tools 生效
# 重新启动计算机之后,我们就会发觉到,当我们要离开 Guest OS 的时候,不再需要按 Ctrl + Alt 了
balini 于 2009-08-18 17:16:33发表:
(e:e2s
yi353 于 2009-04-15 16:02:46发表:
虚拟机毕竟是虚拟机.很多错误解释不了的!
软件毕竟是软件.毕竟是不稳定的东西!
把错误截出来把,大家一起解决.
相思爱文 于 2009-03-28 09:51:17发表:
你用的不会是精简版吧。用原版VMware
playboy7741 于 2009-03-28 00:29:30发表:
进Linux的光驱看看有没有VMware tools这个东东。我在Fedora里也装不上,但后来看见这光驱里有这个东东.
koala0808 于 2009-03-28 00:13:19发表:
我用的也是红旗桌面版6.0,也是用VMware虚拟机安装上了,同样是VMware tools安装不上。请使用红旗linux的高手帮忙啊。
bournewang 于 2009-03-27 22:58:38发表:
看看你们的系统里面是否有LINUX的内核文件一般在/usr/src下面。安装vmware-tools 需要一个GCC 编译器还需要源码文件。最好把错误的信息贴出来。如果是ARCHlinux还需要更改rc.d的格式
bournewang 于 2009-03-27 22:58:35发表:
看看你们的系统里面是否有LINUX的内核文件一般在/usr/src下面。安装vmware-tools 需要一个GCC 编译器还需要源码文件。最好把错误的信息贴出来。如果是ARCHlinux还需要更改rc.d的格式
shaoyhy 于 2009-03-27 14:01:26发表:
我这个问题今天 才刚解决掉呢,呵,发上去,我用的是红帽9.0的,不知道你们那能用不能用呢,
这可是我找好好长好长时间才找到的呢,呵,
VM Tools安装
如何安装Linux下的VMwareTools.
1.安装工具。让虚拟机运行于窗口状态,不要全屏,按Ctrl+Alt让鼠标释放出来。在VMware的菜单栏上选择"虚拟机/安装虚拟机工具(VM/Install VMware Tools...)"。然后切换到客户操作系统,即Linux。
2.挂载光盘。
# mount /dev/cdrom /mnt/cdrom
3.执行命令。进入虚拟光盘,可以看到有两个文件,一个是压缩包,一个为rpm包。直接运行rpm包安装,命令行也可。rpm -Uvh VMwareTools-版本号-版本号.i386.rpm
# cd /mnt/cdrom
# ls -l
有两上文件 :
VMwareTools-5.5.1-19175.i386.rpm
VMwareTools-5.5.1-19175.tar.gz
并把这两个文件拷贝到你的文件下 如 /tmp
#cp VMwareTools-5.5.1-19175.tar.gz /tmp
#cp VMwareTools-5.5.1-19175.i386.rpm /tmp
#cd /tmp
#rpm -ivh VMwareTools-5.5.1-19175.i386.rpm
4.上述操作完成后,进入/usr/bin目录,查找vmware-config-tools.pl.找到后,运行它。
5.一路回车
6. #tar -xzvf VMwareTools-5.5.1-19175.tar.gz
#cd vmware-tools-distrib
#./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# 安装过程的画面,全部使用默认值,一直按 Enter 就对了
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/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/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]
Thepath "/usr/lib/vmware-tools" does not exist currently. This program isgoingto create it, including needed parent directories. Is this whatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently. Thisprogram isgoing to create it, including needed parent directories. Isthis what you want?
[yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30153 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected X.org version 6.8.
关闭控制台鼠标服务: [ 确定 ]
启动控制台鼠标服务: [ 确定 ]
Please choose one of the following display sizes (1 - 13):
# 显示分辨率,这里是以 1024x768 为例
# VMware Tools 安装的时候,会自动修改 X server 的配置文件
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
Please enter a number between 1 and 13:
[2] 3
X Window System Version 6.8.2
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ 确定 ]
Guest filesystem driver: [ 确定 ]
DMA setup: [ 确定 ]
Guest operating system daemon: [ 确定 ]
The configuration of VMware Tools 5.5.1 build-19175 for Linux for this running
Enjoy,
--the VMware team
# shutdown -r now
# 修改完成之后,重新启动计算机,让 VMware Tools 生效
# 重新启动计算机之后,我们就会发觉到,当我们要离开 Guest OS 的时候,不再需要按 Ctrl + Alt 了
jieshao 于 2008-06-22 22:02:30发表:
别沉啊,自己顶上去,问题还没有解决咧。。。
哪位哥哥姐姐出来帮帮小弟啊!!~
wgapollo 于 2008-06-22 10:35:53发表:
相恨见晚呀~ 一样,我也是油这个问题~ 期待知道的朋友来帮忙哇~