linux terminal中输入
//#mount/dev/cdrom/mnt/cdrom //挂载刚才的虚拟光驱,(可以不用)
# cd /mnt/cdrom//压缩文件在/mnt/cdrom文件夹下(文件名可能为vmware-linux-tools.tar.gz)
# tar -zxvf /mnt/cdrom/vmware-linux-tools.tar.gz-C /tmp //把安装文件解压到/tmp,解压文件在/tmp/vmware-tools-distrib/中
# cd /tmp/vmware-tools-distrib/
#./vmware-install.pl //执行(./)安装文件(vmware-install.pl)
一路回车或者yes
中间需要设置分辨率如下:
do you want to change the starting screen display size?yes
选17(相对我自己的电脑)
完全安装成功界面:
reboot搞定
安装vmtool完成后,桌面变得很大,如果分辨率调整无效,只能这样解决:
start -> panel -> properties -> all properties -> panel position调整到上面(针对redhat linux 7.3姑且这样解决)
也可参阅 http://blog.iyunv.com/pipisorry/article/details/23049271 解决
否则有以下问题
ps: What is the location of the directory of C header files that match your running的问题
查看是不是安装了gcc,用以下命令:rpm -ql gcc
如果没有安装会显示:packagegcc is not installed
安装gcc用这个命令:[size=1em]yum -y install gcc
安装完成后 在Whatis the location of the gcc program on your machine?输入gcc的目录/usr/bin/gcc回车
Before you can compile modules, you need to have the following installed... 的问题
make
gcc
kernel headers of the running kernel
上面提示的意思安装vmware tools必须先安装gcc 和内核头文件。
问题来了:它找不到我的内核头文件的路径
Searching for a valid kernel header path...
The path "" is not valid.Would you like to change it? [yes]
What is the location of the directory of C header files that match your running kernel?(输入no也可以解决- -//!)