红联Linux门户
Linux帮助

安装vmtools

发布时间:2009-12-08 14:56:56来源:红联作者:如于得水
为什么我在rhel5下安装vmtools,cdrom中都是文本,而没有压缩文件夹啊。。。
文章评论

共有 4 条评论

  1. 如于得水 于 2009-12-31 14:41:18发表:

    [root@localhost ~]# mount /dev/cdrom
    mount: block device /dev/hdc is write-protected, mounting read-only
    mount: /dev/hdc already mounted or /media/cdrom busy
    mount: according to mtab, /dev/hdc is already mounted on /media/cdrom


    [root@localhost ~]# cd /media/cdrom
    [root@localhost cdrom]# ls
    VMwareTools-6.0.2-59824.i386.rpm VMwareTools-6.0.2-59824.tar.gz

    [root@localhost cdrom]# cp VMwareTools-6.0.2-59824.tar.gz /tmp

    [root@localhost cdrom]# su -

    [root@localhost ~]# cd /tmp
    [root@localhost tmp]# ls
    gconfd-root mapping-yujunzhao ssh-nOJEur4603
    gconfd-yujunzhao orbit-root VMwareTools-6.0.2-59824.tar.gz
    keyring-O9Yedo orbit-yujunzhao xses-yujunzhao.YPDTKz
    [root@localhost tmp]# tar zxf VMwareTools-6.0.2-59824.tar.gz


    [root@localhost tmp]# ls
    gconfd-root orbit-root vmware-tools-distrib
    gconfd-yujunzhao orbit-yujunzhao xses-yujunzhao.YPDTKz
    keyring-O9Yedo ssh-nOJEur4603
    mapping-yujunzhao VMwareTools-6.0.2-59824.tar.gz


    [root@localhost tmp]# cd vmware-tools-distrib
    [root@localhost vmware-tools-distrib]# ls
    bin doc etc FILES INSTALL installer lib vmware-install.pl

    [root@localhost vmware-tools-distrib]# ./vmware-install.pl
    A previous installation of VMware Tools has been detected.

    The previous installation was made by the rpm installer (version 4).

    Converting the rpm4 installer database format
    to the tar4 installer database 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 "y" is a relative path. Please enter an absolute path.

    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 6.0.2 build-59824 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 vmmemctl module for your running kernel.

    The module bld-2.6.9-11.EL-i686smp-RHEL4 loads perfectly in the running kernel.


    Trying to find a suitable vmhgfs module for your running kernel.

    The module bld-2.6.9-11.EL-i686smp-RHEL4 loads perfectly in the running kernel.


    pcnet32 31049 0
    Unloading pcnet32 module

    Trying to find a suitable vmxnet module for your running kernel.

    The module bld-2.6.9-11.EL-i686smp-RHEL4 loads perfectly in the running kernel.


    Trying to find a suitable vmblock module for your running kernel.

    The module bld-2.6.9-11.EL-i686smp-RHEL4 loads perfectly in the running kernel.


    [EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
    provides a new communication capability with the Host, primarily for
    development at the moment. Would you like to enable this feature? [no]



    Detected X.org version 6.8.


    Please choose one of the following display sizes that X will start with (1 -
    15):

    [1] "640x480"
    [2] "800x600"
    [3]< "1024x768"
    [4] "1152x864"
    [5] "1280x800"
    [6] "1152x900"
    [7] "1280x1024"
    [8] "1376x1032"
    [9] "1400x900"
    [10] "1400x1050"
    [11] "1440x900"
    [12] "1680x1050"
    [13] "1600x1200"
    [14] "1920x1200"
    [15] "2364x1773"
    Please enter a number between 1 and 15:

    [3] 2


    X Window System Version 6.8.2
    Release Date: 9 February 2005
    X Protocol Version 11, Revision 0, Release 6.8.2
    Build Operating System: Linux 2.6.9-42.0.8.ELsmp i686 [ELF]
    Current Operating System: Linux localhost.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686
    Build Date: 19 April 2007
    Build Host: hs20-bc1-6.build.redhat.com

    Before reporting problems, check http://wiki.X.Org
    to make sure that you have the latest version.
    Module Loader present
    OS Kernel: Linux version 2.6.9-55.ELsmp (brewbuilder@ls20-bc2-14.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Fri Apr 20 17:03:35 EDT 2007 P
    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-config0/XF86ConfigLog.5331", Time: Tue Dec 8 14:06:22 2009
    (++) Using config file: "/tmp/vmware-config0/XF86Config.5331"

    X is running fine with the new config file.

    Starting VMware Tools services in the virtual machine:
    Switching to guest configuration: [ 确定 ]
    Guest filesystem driver: [ 确定 ]
    Mounting HGFS shares: [失败]
    Guest memory manager: [ 确定 ]
    Guest vmxnet fast network device: [ 确定 ]
    Blocking file system: [ 确定 ]
    DMA setup: [ 确定 ]
    Guest operating system daemon: [ 确定 ]

    The configuration of VMware Tools 6.0.2 build-59824 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 the following command:
    "/usr/bin/vmware-toolbox" during an X server 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

    To make use of the virtual printer, you will need to restart the CUPS service

    Enjoy,

    --the VMware team

  2. chenzhouyu 于 2009-12-16 17:12:17发表:

    路过看看

  3. 如于得水 于 2009-12-15 23:00:35发表:

    不是啊。。。
    在虚拟机安装vmtools的时候不是选中install VMware tools 然后就会有个压缩文件在cdrom中吗?
    但是我的cdrom中没有压缩文件 都是些文本文件。。。
    上边的图不是ISO的位置吗,这个不一定吧。

  4. redkx 于 2009-12-08 16:18:29发表:

    C:\Program Files\VMware\VMware Workstation\windows.iso
    估计你这个地方选错了