12.04 CentOS7虛擬機中如何安裝Vmware tools

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


CentOS7虛擬機中如何安裝Vmware tools

2. 啟動虛擬機的光盤


CentOS7虛擬機中如何安裝Vmware tools

3.打開vmwareTools,並拷貝到主文件夾下面


CentOS7虛擬機中如何安裝Vmware tools


CentOS7虛擬機中如何安裝Vmware tools

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


CentOS7虛擬機中如何安裝Vmware tools

  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>

[/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?

則以上完成


分享到:


相關文章: