溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Linux系統(tǒng)中如何安裝配置VMware Tools

發(fā)布時間:2022-01-24 14:54:01 來源:億速云 閱讀:252 作者:清風(fēng) 欄目:開發(fā)技術(shù)

這篇文章主要為大家展示了Linux系統(tǒng)中如何安裝配置VMware Tools,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶大家一起來研究并學(xué)習(xí)一下“Linux系統(tǒng)中如何安裝配置VMware Tools”這篇文章吧。

VMware Tools 是一套安裝在虛擬機的操作系統(tǒng)中的實用程序,VMware Tools 可提高虛擬機的性能,并在 VMware 產(chǎn)品中實現(xiàn)多個易于使用的功能。

Linux系統(tǒng)中如何安裝配置VMware Tools

Linux系統(tǒng)安裝配置WMware Tools具體步驟

為了方便在虛擬機中復(fù)制粘貼,安裝WMware Tools

點擊菜單欄–>虛擬機–>安裝VMware Tools。 Linux系統(tǒng)中如何安裝配置VMware Tools 進入linux主機,打開終端。

進入/media/VMware Tools目錄

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

將這個目錄下VMwareTools-10.0.5-3228253.tar.gz文件復(fù)制到/tmp目錄下,然后切換到/tmp目錄執(zhí)行解壓。

 [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目錄,執(zhí)行該目錄下的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有哪些版本

Linux的版本有:Deepin、UbuntuKylin、Manjaro、LinuxMint、Ubuntu等版本。其中Deepin是國內(nèi)發(fā)展最好的Linux發(fā)行版之一;UbuntuKylin是基于Ubuntu的衍生發(fā)行版;Manjaro是基于Arch的Linux發(fā)行版;LinuxMint默認的Cinnamon桌面類似Windows XP簡單易用;Ubuntu則是以桌面應(yīng)用為主的Linux操作系統(tǒng)。

以上就是關(guān)于“Linux系統(tǒng)中如何安裝配置VMware Tools”的內(nèi)容,如果該文章對您有所幫助并覺得寫得不錯,勞請分享給您的好友一起學(xué)習(xí)新知識,若想了解更多相關(guān)知識內(nèi)容,請多多關(guān)注億速云行業(yè)資訊頻道。

向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI