`
EdgenHuang
  • 浏览: 109555 次
  • 性别: Icon_minigender_1
  • 来自: 福建泉州
社区版块
存档分类
最新评论

RHEL 5.4 安装 VMware Tools

阅读更多

Vmtools
      VM tools顾名思义就是Vmware的一组工具。主要用于虚拟主机显示优化与调整,另外还可以方便虚拟主机与本机的交互,如允许共享文件夹,甚至可以直接从本机向虚拟主机拖放文件、鼠标无缝切换、显示分辨率调整等,十分实用。

安装
      如果选择在VMware Workstation中手动安装(也就是不采用Easy Install)的方式安装RHEL 5.4,那么,也只能手动安装vmtoos了,如下:

(1)选择VMware Workstation的菜单“VM/Install VMware tools…”,VMware Workstation会自动加载vmtoos的iso到当前运行的系统的cdrom,并默认挂载到“/media/VMware Tools



 
(2)在当前系统RHEL5.4中,执行以下命令:

[root@rhel54 ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdc on /media/VMware Tools type iso9660 (ro,noexec,nosuid,nodev,uid=500)
[root@rhel54 ~]# cd /media/"VMware Tools"
[root@rhel54 VMware Tools]# ll
总计 104398
-r--r--r-- 1 edgen root      1996 11-12 02:26 manifest.txt
-r--r--r-- 1 edgen root 106900818 11-12 02:27 VMwareTools-8.4.5-324285.tar.gz
[root@rhel54 VMware Tools]# cp VMwareTools-8.4.5-324285.tar.gz /tmp
[root@rhel54 VMware Tools]# cd /tmp

[root@rhel54 tmp]# ll
总计 104584
drwx------ 3 edgen edgen      4096 12-26 22:09 gconfd-edgen
drwx------ 2 root  root       4096 12-26 20:12 gconfd-root
drwx------ 2 edgen edgen      4096 12-26 22:09 keyring-sznBvg
srwxrwxr-x 1 edgen edgen         0 12-26 22:09 mapping-edgen
drwx------ 2 edgen edgen      4096 12-26 23:07 orbit-edgen
-rw-rw-r-- 1 edgen edgen         5 12-26 22:12 scim-bridge-0.3.0.lockfile-500@localhost:0.0
srwxrwxr-x 1 edgen edgen         0 12-26 22:12 scim-bridge-0.3.0.socket-500@localhost:0.0
srw------- 1 edgen edgen         0 12-26 22:09 scim-helper-manager-socket-edgen
srw------- 1 edgen edgen         0 12-26 22:09 scim-panel-socket:0-edgen
srw------- 1 edgen edgen         0 12-26 22:09 scim-socket-frontend-edgen
drwx------ 2 edgen edgen      4096 12-26 22:09 ssh-BNdRno3399
drwx------ 2 edgen edgen      4096 12-26 22:09 virtual-edgen.9ttEaB
-r--r--r-- 1 root  root  106900818 12-26 23:07 VMwareTools-8.4.5-324285.tar.gz
[root@rhel54 tmp]# tar -zxf VMwareTools-8.4.5-324285.tar.gz

[root@rhel54 tmp]# ll
总计 104592
drwx------ 3 edgen edgen      4096 12-26 22:09 gconfd-edgen
drwx------ 2 root  root       4096 12-26 20:12 gconfd-root
drwx------ 2 edgen edgen      4096 12-26 22:09 keyring-sznBvg
srwxrwxr-x 1 edgen edgen         0 12-26 22:09 mapping-edgen
drwx------ 2 edgen edgen      4096 12-26 23:07 orbit-edgen
-rw-rw-r-- 1 edgen edgen         5 12-26 23:12 scim-bridge-0.3.0.lockfile-500@localhost:0.0
srwxrwxr-x 1 edgen edgen         0 12-26 22:12 scim-bridge-0.3.0.socket-500@localhost:0.0
srw------- 1 edgen edgen         0 12-26 22:09 scim-helper-manager-socket-edgen
srw------- 1 edgen edgen         0 12-26 22:09 scim-panel-socket:0-edgen
srw------- 1 edgen edgen         0 12-26 22:09 scim-socket-frontend-edgen
drwx------ 2 edgen edgen      4096 12-26 22:09 ssh-BNdRno3399
drwx------ 2 edgen edgen      4096 12-26 22:09 virtual-edgen.9ttEaB
-r--r--r-- 1 root  root  106900818 12-26 23:07 VMwareTools-8.4.5-324285.tar.gz
drwxr-xr-x 7 root  root       4096 11-12 02:26 vmware-tools-distrib
[root@rhel54 tmp]# cd vmware-tools-distrib
[root@rhel54 vmware-tools-distrib]# ll
总计 596
drwxr-xr-x  2 root root   4096 11-12 02:26 bin
drwxr-xr-x  2 root root   4096 11-12 02:26 doc
drwxr-xr-x  3 root root   4096 11-12 02:26 etc
-r--r--r--  1 root root 552155 11-12 02:26 FILES
lrwxrwxrwx  1 root root     13 12-26 23:14 INSTALL -> ./doc/INSTALL
drwxr-xr-x  2 root root   4096 11-12 02:26 installer
drwxr-xr-x 17 root root   4096 11-12 02:26 lib
lrwxrwxrwx  1 root root     31 12-26 23:14 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@rhel54 vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

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]

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]


In which directory do you want to install the documentation files?
[/usr/share /doc /vmware-tools]

 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 8.4.5 build-324285 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] no

[root@rhel54 vmware-tools-distrib]# /usr/bin/vmware-config-tools.pl
Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                       [确定]
   Virtual Printing daemon:                                      [确定]
   VMware User Agent (vmware-user):                    [确定]
   Blocking file system:                                             [确定]
   Unmounting HGFS shares:                                   [确定]
   Guest filesystem driver:                                       [确定]
   Guest memory manager:                                     [确定]
   VM communication interface socket family:          [确定]
   VM communication interface:                               [确定]


Found a compatible pre-built module for vmmemctl.  Installing it...


Found a compatible pre-built module for vmhgfs.  Installing it...


Found a compatible pre-built module for vmxnet.  Installing it...


Found a compatible pre-built module for vmblock.  Installing it...


Found a compatible pre-built module for vmci.  Installing it...


Found a compatible pre-built module for vsock.  Installing it...


Found a compatible pre-built module for vmxnet3.  Installing it...


Found a compatible pre-built module for pvscsi.  Installing it...




Detected Xorg X server version 7.1.



The configuration file /etc/X11/xorg.conf can not be found. Do you want to
create a new one? (yes/no) [yes]


Host resolution detected as "1366 x 768".


Please choose one of the following display sizes that X will start with:

[1]  "320x200"
[2]  "320x240"
[3]  "400x300"
[4]  "512x384"
[5]  "640x400"
[6]  "640x480"
[7]  "720x480"
[8]  "800x480"
[9]  "854x480"
[10]  "720x576"
[11]  "800x600"
[12]  "1024x768"
[13]< "1280x720"
Please enter a number between 1 and 13:

[13]

 

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.
Current Operating System: Linux rhel54.yupan 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686
Build Date: 22 July 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config1/XF86ConfigLog.7071", Time: Sun Dec 26 23:44:43 2010
(++) Using config file: "/tmp/vmware-config1/XF86Config.7071"
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
   Checking acpi hot plug                                  [确定]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [确定]
   Paravirtual SCSI module:                                    [确定]
   Guest filesystem driver:                                      [确定]
   Mounting HGFS shares:                                       [失败]
   Guest memory manager:                                     [确定]
   Guest vmxnet fast network device:                     [确定]
   VM communication interface:                               [确定]
   VM communication interface socket family:          [确定]
   Blocking file system:                                            [确定]
   Guest operating system daemon:                       [确定]
   Virtual Printing daemon:                                      [确定]
The configuration of VMware Tools 8.4.5 build-324285 for Linux for this running
kernel completed successfully .

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox -cmd " from the
command line or by invoking "/usr/bin/vmware-toolbox " from the command line
during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1.  Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

Enjoy,

--the VMware team

 

[root@rhel54 vmware-tools-distrib]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
[root@rhel54 vmware-tools-distrib]# reboot

 

(3)在Vmware 界面中选择“vm/setting…”菜单打开“setting”窗口, 选择“Options”标签页,选择“Share Folders”,在右边点击“Add”按钮,选择主机目录。在Linux中进入到“/mnt/hgfs”目录就可以看到windows下的内容,同样你可以在linux下将文件拷进此文件夹传递到windows下。

  • 大小: 23.7 KB
分享到:
评论

相关推荐

    CentOS 5.3 / RHEL 5.4 安装 Oracle 11gR2

    ### CentOS 5.3 / RHEL 5.4 安装 Oracle 11gR2 知识点 #### 引言与背景 在2009年,Oracle发布了其备受期待的11g Release 2(R2)版本,这标志着Oracle数据库技术的一个重要里程碑。相较于之前的Release 1(R1)...

    在vmware中安装RHEL5.4(32-86x)+界面安装oracle10g详细手册.doc

    在vmware中安装RHEL5.4(32_86x)+界面安装oracle10g详细手册

    RHEL5.4+RHCS集群配置

    集群中的每个节点都需要安装RHEL5.4,并进行相应的配置。 6. 节点业务地址存储地址:节点业务地址与存储地址配置是为了确保集群中每个节点能够正确通信,并且存储资源能够被集群所共享。文档中列出了两个节点node1...

    Red_Hat_Enterprise_Linux_安装vmware-tools

    在Red Hat Enterprise Linux (RHEL)环境中安装VMware Tools是一个重要的步骤,因为它能极大地提升虚拟机的性能和功能。VMware Tools是一个包含优化驱动程序和实用工具的软件包,为VMware虚拟化平台提供更好的集成,...

    rhel5.4远程安装共10页.pdf.zip

    【标题】"rhel5.4远程安装共10页.pdf.zip" 提供的是关于Red Hat Enterprise Linux(RHEL)5.4版本的远程安装指南,这个文档可能详细阐述了如何通过网络对RHEL系统进行无盘或者基于网络的安装过程。在RHEL中,远程...

    在vmware中安装rhel5.4,并界面安装oracle10g详细手册

    在vmware中安装rhel5.4,并界面安装oracle10g详细手册,这个是doc的文档。

    vmware rhel5.4 x86_64 oracle 10.2..4 rac

    2. **安装RHEL5.4**:在每台虚拟机上安装64位RHEL5.4,保持系统时钟同步,并安装必要的软件包,如gcc、kernel-devel等。 3. **设置Oracle响应文件**:用于自动化安装过程,包含Oracle Grid Infrastructure和数据库的...

    rhel5.4 centos 5.4 挂载可读写ntfs分区rpm包

    标题中的“rhel5.4”指的是Red Hat Enterprise Linux 5.4,这是一个由Red Hat公司发行的企业级Linux操作系统版本。CentOS 5.4是RHEL的一个克隆版本,提供了一个免费的、社区支持的平台,其核心与RHEL 5.4相同。这个...

    RHEL5.4下升级openSSH6.5的RPM包

    在RHEL5.4上升级到OpenSSH 6.5通过直接安装提供的RPM包是一个简单而直接的过程,但在执行任何操作之前,备份和了解新版本的特性总是明智的选择。通过遵循上述步骤,您可以顺利地完成升级任务,确保您的远程访问服务...

    Oracle 11G 在 RHEL5.4 X86 上的完全安装手册

    总结来说,这份手册详细阐述了在RHEL5.4 X86平台上使用VMware Workstation进行Oracle 11G完全安装的全过程,从准备阶段的软件和工具准备,到虚拟机的配置和操作系统的安装,再到Oracle 11G的安装和配置,每一步都...

    Gforge5.7.1在RHEL5.4下的安装

    Gforge5.7.1在RHEL5.4下的安装

    vmware7.1上rhel5.4使用NAT上网设置方法

    在本文中,我们将详细探讨如何在VMware 7.1上配置RHEL 5.4系统,以便通过NAT方式连接到Internet。首先,我们需要理解NAT(网络地址转换)的作用,它允许内部网络中的设备(如虚拟机)通过公共IP地址访问外部网络,...

    在RHEL 5.4 下安装Nagios-3.2.3

    在RHEL 5.4操作系统中安装Nagios 3.2.3是一个涉及多个步骤的过程,主要用于实现系统监控,包括CPU负载、磁盘使用情况等关键资源的实时监测。Nagios是一款开源的网络监控系统,能够检测网络服务、主机状态以及各种...

    IBM 3850 Raid driver rhel5.4

    rhel 5.4 ibm 3850 raid driver

    RHEL5.4+ORACLE11G+WEBLOGIC10.3集群安装部署手册

    在RHEL5.4的环境下,安装oracle,并且安装weblogic集群后,部署应用

    数据库管理\mysql主从同步(RHEL 5.4).

    数据库管理\mysql主从同步(RHEL 5.4)

Global site tag (gtag.js) - Google Analytics