VMware上RedHat Linux中安装VMware Tools

来源:互联网 发布:实时数据库产品有哪些 编辑:程序博客网 时间:2024/06/06 00:11

为什么要装 VMware Tools? 

因为它可以改善 Virtual Machine 的运行性能,而且可以让 Host OS 和 Guest OS 互通有无,这样我们就不用伤脑筋,要架设什么服务器,来沟通两个 OS,现在就让我们开始吧! 

以ROOT帐户登录LINUX,VM菜单:VM--安装VMware Tools,打开终端:
注意:在linux的各种命令行下输入"命令"或"软件名"一定要注意大小写!!! 
我装VMwareTools的时候没注意,烦了我几天. 
[root@rd01 ~]# cd /mnt/cdrom 
[root@rd01 ~]# cd /cdrom 
[root@rd01 ~]# ls

VMwareTools-5.5.1-19175.rpm VMwareTools-5.5.1-19175.tar.gz
[root@rd01 ~]# rpm -ivh VMwareTools-5.5.1-19175.i386.rpm 
[root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp 
[root@rd01 ~]# cd /tmp 
[root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz 
[root@rd01 ~]# cd vmware-tools-distrib 
[root@rd01 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 programisgoingto create it, including needed parent directories. Is thiswhatyou 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 any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl". 

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
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. 

关闭控制台鼠标服务: [ 确定 ] 
启动控制台鼠标服务: [ 确定 ] 

Enjoy, 

--the VMware team 

[root@rd01 vmware-tools-distrib]# shutdown -r now 

# 修改完成之后,重新启动计算机,让 VMware Tools 生效

0 0
原创粉丝点击