CentOS7安装VMware Tools

 

1、创建/mnt/cdrom

mkdir -p /mnt/cdrom

(带上-p则可以一次创建多个目录),使用命令ls /mnt查看目录是否创建成功

2、将光盘挂载在/mnt/cdrom目录,并使用命令ls /mnt/cdrom查看是否挂载成功

mount /dev/cdrom /mnt/cdrom

3、拷贝安装包到家目录

cp /mnt/cdrom/VMwareTools-10.3.22-15902021.tar.gz ~

4、解除挂载

umount /dev/cdrom

5、解压安装包

tar -zxvf VMwareTools-10.3.22-15902021.tar.gz 

6、进入源码文件目录

cd vmware-tools-distrib

7、运行vmware-install.pl文件

 ./vmware-install.pl 
[root@localhost ~]# cd vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ./vmware-install.pl 
open-vm-tools packages are available from the OS vendor and VMware recommends 
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more 
information.
Do you still want to proceed with this installation? [no] y

INPUT: [y]

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? 

一路默认

 

 

你可能感兴趣的:(centos,linux,vmware)