良许Linux教程网 干货合集 Linux系统安装配置VMware Tools具体步骤

Linux系统安装配置VMware Tools具体步骤

VMware Tools 是一套安装在虚拟机的操作系统中的实用程序,VMware Tools 可提高虚拟机的性能,并在 VMware 产品中实现多个易于使用的功能,下面良许教程网为大家分享一下Linux系统安装配置VMware Tools具体步骤。

Linux系统安装配置VMware Tools具体步骤

Linux系统安装配置WMware Tools具体步骤

为了方便在虚拟机中复制粘贴,安装WMware Tools

点击菜单栏–>虚拟机–>安装VMware Tools。 在这里插入图片描述 进入linux主机,打开终端。

进入/media/VMware Tools目录

 [root@localhost ~]# cd /media/VMware\ Tools/

将这个目录下VMwareTools-10.0.5-3228253.tar.gz文件复制到/tmp目录下,然后切换到/tmp目录执行解压。

 [root@localhost VMware Tools]# cp VMwareTools-10.0.5-3228253.tar.gz /tmp
 [root@localhost tmp]# tar -zxvf VMwareTools-10.0.5-3228253.tar.gz

解压完成后看到目录下面又多了个vmware-tools-distrib目录 进入vmware-tools-distrib目录,执行该目录下的vmware-install.pl文件,然后一路回车就行

 [root@localhost tmp]# cd vmware-tools-distrib/
 [root@localhost 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 common agent library files?
 [/usr/lib]
 In which directory do you want to install the common agent transient files?
 [/var/lib]
 
 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 10.0.5 build-3228253 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]
 
 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  ]
    VMware User Agent (vmware-user):                 [  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.
 
 The module pvscsi has already been installed on this system by another
 installer or package and will not be modified by this installer.
 
 The module vmmemctl has already been installed on this system by another
 installer or package and will not be modified by this installer.
 
 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]
 
 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]
 
 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]
 
 Thinprint provides driver-free printing. Do you wish to enable this feature?
 [yes]
 
 
 
 Disabling timer-based audio scheduling in pulseaudio.
 
 Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed
 if you want to enable Common Agent (caf). [yes]
 Do you want to enable Common Agent (caf)? [yes]
 
 
 
 Detected X server version 1.17.4
 
 
 
 Distribution provided drivers for Xorg X server are used.
 
 Skipping X configuration because X drivers are not included.
 
 Creating a new initrd boot image for the kernel.
 Generating the key and certificate files.
 Successfully generated the key and certificate files.
    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  ]
    VGAuthService:                                   [  OK  ]
    Common Agent:                                    [  OK  ]
 The configuration of VMware Tools 10.0.5 build-3228253 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 ...

总结:

本篇文章为大家分享了Linux系统安装配置WMware Tools具体步骤,如果大家在安装WMware Tools的过程中遇到问题可以通过评论区将问题提交给我们。

以上就是良许教程网为各位朋友分享的Linux系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你!

137e00002230ad9f26e78-265x300

本文由 良许Linux教程网 发布,可自由转载、引用,但需署名作者且注明文章出处。如转载至微信公众号,请在文末添加作者公众号二维码。
良许

作者: 良许

良许,世界500强企业Linux开发工程师,公众号【良许Linux】的作者,全网拥有超30W粉丝。个人标签:创业者,CSDN学院讲师,副业达人,流量玩家,摄影爱好者。
上一篇
下一篇

发表评论

联系我们

联系我们

公众号:良许Linux

在线咨询: QQ交谈

邮箱: yychuyu@163.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部