نصب VMware Tools v4 بر روی لینوکس ابونتو
All the guides I found on the Internet, including VMWare’s website were outdated in some way, so I decided to write a guide of my own. I just went through these steps from start to finish on a fresh server and had no problems. In about 5 minutes, you will be able to install VMWare Tools on Ubuntu Server.
- Use Install VMWare Tools option in VMWare Client to attach media
- Update the server
12sudo apt–get –y updatesudo apt–get –y upgrade
- Create the mount point
1sudo mkdir –p /media/cdrom - Mount the ISO
1sudo mount /dev/cdrom /media/cdrom
You should see the message: mount: block device /dev/sr0 is write-protected, mounting read-only
- Change Directory
1cd /media/cdrom
- Copy the tar file to your /tmp directory
1sudo cp VM*.tar.gz /tmp
- Install Build tools if necessary
1sudo apt–get –y install linux–headers–server build–essential
- Change Directory
1cd /tmp
- Unmount the ISO
1sudo umount /media/cdrom - Expand the tar
1sudo tar xzvf VM*.tar.gz - Change Directory
1cd vmware–tools–distrib
- To prevent a potential error in the install script on Ubuntu 11.10+, create a special directory
Unable to create symlink “/usr/lib64/libvmcf.so” pointing to file “/usr/lib/vmware-tools/lib64/libvmcf.so/libvmcf.so”.1sudo mkdir –p /usr/lib64 - Run the Install Script. The -d flag automatically answers the default to all questions. To customize it, just omit the -d.
1sudo ./vmware–install.pl –d
- Reboot
1sudo reboot
Let me know if this worked for you!