CentOS7虛擬機器中怎麼安裝Vmware tools

1. 首先單擊“虛擬機器”,選擇“安裝Vmware tools”選項,如下圖所示

2. 啟動虛擬機器的光碟

3.開啟vmwareTools,並拷貝到主資料夾下面

4. 通過命令列解壓並進行安裝,注意一定要ROOT使用者操作,否則報錯

  1. 解壓並安裝

[xingyu@localhost ~]$ tar -zxvf VMwareTools-10.3.2-9925305.tar.gz

[root@localhost vmware-tools-distrib]# ./vmware-install.pl

The installer has detected an existing installation of open-vm-tools packages

on this system and will not attempt to remove and replace these user-space

applications. It is recommended to use the open-vm-tools packages provided by

the operating system. If you do not want to use the existing installation of

open-vm-tools packages and use VMware Tools, you must uninstall the

open-vm-tools packages and re-run this installer.

The packages that need to be removed are:

open-vm-tools

The installer will next check if there are any missing kernel drivers. Type yes

if you want to do this, otherwise type no [yes] yes

INPUT: [yes]

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]

INPUT: [/usr/bin] default

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?

[/etc/rc.d]

INPUT: [/etc/rc.d] default

What is the directory that contains the init scripts?

[/etc/rc.d/init.d]

INPUT: [/etc/rc.d/init.d] default

In which directory do you want to install the daemon files?

[/usr/sbin]

INPUT: [/usr/sbin] default

In which directory do you want to install the library files?

則以上完成