CentOS安装VMware Tools
2013-10-13 18:36
190 查看
CentOS虚拟机中安装VMware Tools
1、拷贝文件到/tmp目录下
# cp /media/VMware\ Tools/VMwareTools-9.6.0-1294478.tar.gz /tmp/
2、文件解包
# cd /tmp/
# tar -zxvf VMwareTools-9.6.0-1294478.tar.gz
# ls
..
3、开始安装
# cd 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] 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] yes
The installation of VMware Tools 9.6.0 build-1294478 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] yes
Initializing...
Making sure services for VMware Tools are stopped.
Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:[ OK ]
Unmounting HGFS shares:[ OK ]
Guest filesystem driver:[ OK ]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=pvscsi to override.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmmemctl to override.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[yes] yes
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be
enabled/disabled by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel modules?
[no] no
Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes] yes
Disabling timer-based audio scheduling in pulseaudio.
Detected X server version 1.7.7
Stopping HAL daemon: [ OK ]
Starting HAL daemon: [ OK ]
X is running fine with the new config file.
Creating a new initrd boot image for the kernel.
Starting Virtual Printing daemon: done
Checking acpi hot plug[ OK ]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:[ OK ]
Guest vmxnet fast network device:[ OK ]
VM communication interface:[ OK ]
VM communication interface socket family:[ OK ]
Guest filesystem driver:[ OK ]
Mounting HGFS shares:[FAILED]
Blocking file system:[ OK ]
Guest operating system daemon:[ OK ]
The configuration of VMware Tools 9.6.0 build-1294478 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.
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, either reboot or
1. stop networking or stop any interface using the vmxnet or pcnet32 driver
2. remove the pcnet32 module with 'rmmod pcnet32'
3. remove the vmxnet module with 'rmmod vmxnet'
4. load the vmxnet module with 'modprobe -v vmxnet'
5. and restart networking or restart the stopped network interfaces
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
#
// OK安装完成
// 重启系统后 VMware Tools就生效了
# reboot
卸载VMware Tools
#/tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl 或
#/usr/bin/vmware-uninstall-tools.pl
// 删除安装包
# rm /tmp/VMwareTools-9.6.0-1294478.tar.gz
# rm -fr /tmp/vmware-tools-distrib/
1、拷贝文件到/tmp目录下
# cp /media/VMware\ Tools/VMwareTools-9.6.0-1294478.tar.gz /tmp/
2、文件解包
# cd /tmp/
# tar -zxvf VMwareTools-9.6.0-1294478.tar.gz
# ls
..
3、开始安装
# cd 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] 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] yes
The installation of VMware Tools 9.6.0 build-1294478 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] yes
Initializing...
Making sure services for VMware Tools are stopped.
Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:[ OK ]
Unmounting HGFS shares:[ OK ]
Guest filesystem driver:[ OK ]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=pvscsi to override.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmmemctl to override.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[yes] yes
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be
enabled/disabled by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel modules?
[no] no
Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes] yes
Disabling timer-based audio scheduling in pulseaudio.
Detected X server version 1.7.7
Stopping HAL daemon: [ OK ]
Starting HAL daemon: [ OK ]
X is running fine with the new config file.
Creating a new initrd boot image for the kernel.
Starting Virtual Printing daemon: done
Checking acpi hot plug[ OK ]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:[ OK ]
Guest vmxnet fast network device:[ OK ]
VM communication interface:[ OK ]
VM communication interface socket family:[ OK ]
Guest filesystem driver:[ OK ]
Mounting HGFS shares:[FAILED]
Blocking file system:[ OK ]
Guest operating system daemon:[ OK ]
The configuration of VMware Tools 9.6.0 build-1294478 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.
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, either reboot or
1. stop networking or stop any interface using the vmxnet or pcnet32 driver
2. remove the pcnet32 module with 'rmmod pcnet32'
3. remove the vmxnet module with 'rmmod vmxnet'
4. load the vmxnet module with 'modprobe -v vmxnet'
5. and restart networking or restart the stopped network interfaces
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
#
// OK安装完成
// 重启系统后 VMware Tools就生效了
# reboot
卸载VMware Tools
#/tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl 或
#/usr/bin/vmware-uninstall-tools.pl
// 删除安装包
# rm /tmp/VMwareTools-9.6.0-1294478.tar.gz
# rm -fr /tmp/vmware-tools-distrib/
相关文章推荐
- CentOS6.5安装VMware Tools
- 在CentOS 5.5系统中安装VMware Tools
- VMware centOS 安装VMware Tools
- CentOS安装vmware tools
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- Linux(CentOS)最小化(mini)安装VMware Tools 推荐
- CentOS6.5 安装VMware Tools
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- CentOS 6.5 安装VMWare tools,以及解决安装后/mnt中有hgfs但没共享文件的方法
- centos安装vmware tools
- Vmware Workstation 6.0 中为 CentOS 5.3 安装 VMware Tools
- centos 安装vmware tools
- centos 6.5安装VMware tools
- centos 6.3 虚拟机 安装vmware tools
- CentOS 6 安装VMWare tools,以及解决安装后/mnt中有hgfs但没共享文件的方法
- VMware下CentOS7 如何安装VMware Tools
- [CentOS 6.4 ] 安装VMware Tools
- CentOS命令行安装VMware tools
- centos 6.5安装VMware tools
- CentOS安装VMware Tools