文章作者:姜南(Slyar) 文章来源:Slyar Home (www.slyar.com) 转载请注明,谢谢合作。
1、Make sure you already have gcc and kernel devel installed. You can install it by running the command.
|
1 |
yum install gcc kernel-devel |
2、Select "Tools" from the VMWare Workstation GUI menu, and then "Install VMWare Tools". This doesn't actually appear to do anything in the guest machine. All it really does is to connect the virtual CD-ROM device to the appropriate CD image containing the tools for your virtual machine.
3、Open a console or SSH session.
4、Mount the virtual cd drive.
|
1 |
mount /dev/cdrom /mnt |
5、Copy file to the /tmp.
|
1 |
cp /mnt/VM*.rpm /tmp |
6、Unmount the virtual cd drive.
|
1 |
umount /dev/cdrom |
7、Run the installer
|
1 |
rpm -i /tmp/VM*.rpm |
8、Run the install script. just hit enter all the way through.
|
1 |
/usr/bin/vmware-config-tools.pl |
9、Done.