5-9
Friday
标签
梦涛笔记

CentOS安装VMware Tools

CentOS 发布时间:2025-03-13 19:42:41

新建cdrom挂载目录

mkdir /mnt/cdrom

挂载光驱

mount -t auto /dev/cdrom /mnt/cdrom 
#这命令就是把CentOS CDROM挂载在/mnt/cdrom目录中,就可以访问里面的内容了;

使用光驱中的文件,进行安装

[root@CentOS6 /]# cd /mnt/cdrom
[root@CentOS6 /]# ls -a
[root@CentOS6 /]# cp VMwareTools-8.6.1-19175.tar.gz /tmp
[root@CentOS6 /]# cd /tmp
[root@CentOS6 /]# tar zxpf VMwareTools-8.6.1-19175.tar.gz
[root@CentOS6 /]# cd vmware-tools-distrib
[root@CentOS6 vmware-tools-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
  1. 安装过程的画面,全部使用默认值,一直按 Enter 就对了

一直到出现:

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start
Enjoy,
–the VMware team

出现以上,则基本安装完!

5 shutdown -r now 重启

6 重新启动计算机再次登入之后,我们就会发觉到,当我们要离开 Guest OS 的时候,不再需要按「Ctrl + Alt」了,

评论: