您的位置:首页 > 运维架构 > Linux

CentOS安装VMware Tools

2015-09-07 21:55 621 查看
新建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.

# 安装过程的画面,全部使用默认值,一直按 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」了,

现在我们来分享 Host OS 的数据夹给 Guest OS 使用,〔VM〕→〔Settings〕
注:左下角原本都会显示「You do not have VMware Tools installed」,现在我们装了 VMware Tools,就不再显示;

問題排除:
1. 需要 perl
2. 需要 gcc
3. 如果不是用指令解壓縮, 要注意解出來的檔案script是否執行的權限. 用 tar -zxvf 比較保險.
http://blog.163.com/devinliu@126/blog/static/1364973492013810772684/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: