歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> RedHat Linux 9安裝VMware Tools手記

RedHat Linux 9安裝VMware Tools手記

日期:2017/2/28 16:25:23   编辑:Linux教程

為什麼要給 RedHat Linux 9 裝 VMware Tools?

因為它可以改善 Virtual Machine 的運行性能,而且可以讓 Host OS 和 Guest OS 互通有無,這樣我們就不用傷腦筋,要架設什麼服務器,來溝通兩個 OS,現在就讓我們開始吧!

以ROOT帳戶登錄LINUX,VM菜單:VM--安裝VMware Tools,打開終端:
注意:在linux的各種命令行下輸入"命令"或"軟件名"一定要注意大小寫!!!
我裝VMwareTools的時候沒注意,煩了我幾天.

[root@linuxidc ~]# cd /mnt/cdrom
[root@linuxidc ~]# cd /cdrom
[root@linuxidc ~]# ls

VMwareTools-5.5.1-19175.rpm VMwareTools-5.5.1-19175.tar.gz
[root@linuxidc ~]# rpm -ivh VMwareTools-5.5.1-19175.i386.rpm
[root@linuxidc ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp
[root@linuxidc ~]# cd /tmp
[root@linuxidc ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz
[root@linuxidc ~]# cd vmware-tools-distrib
[root@linuxidc 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@linuxidc vmware-tools-distrib]# shutdown -r now

# 修改完成之後,重新啟動計算機,讓 VMware Tools 生效

Copyright © Linux教程網 All Rights Reserved