[root@linux VMware Tools]# ls
manifest.txt VMwareTools-9.2.3-1031360.tar.gz
[root@linux VMware Tools]# cp VMwareTools-9.2.3-1031360.tar.gz
4、解壓,生成vmware-tools-distrib目錄
[root@linux VMware Tools]# cd /tmp/
[root@linux tmp]# chmod +x VMwareTools-9.2.3-1031360.tar.gz
[root@linux tmp]# tar zxf VMwareTools-9.2.3-1031360.tar.gz
[root@linux tmp]# ls |grep -i vmware
VMwareTools-9.2.3-1031360.tar.gz
vmware-tools-distrib
[root@linux vmware-tools-distrib]# ls
(中間可能出現:
在第3步中,可能會出現以下問題:
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.5.0-23-generic kernel headers.
Would you like to change it? [yes]
需要安裝linux-headers-3.5.0-23-generic包,具體版本可能不同,請自行對照(uname -r)。
sudo apt-get install linux-headers-3.5.0-23-generic
也可以使用如下的通用命令
sudo apt-get install linux-headers-`uname -r`
然後把目錄更改爲有效目錄
Enter the path to the kernel header files for the 3.5.0-23-generic kernel?
/usr/src/linux-headers-3.5.0-23-generic/include
The path "/usr/src/linux-headers-3.5.0-23-generic/include" appears to be a
valid path to the 3.5.0-23-generic kernel headers.
Would you like to change it? [no]
其他地方難度不大,vmware tools安裝完成。
)sudo apt-get install open-vm-dkms
sudo mount -t vmhgfs .host:/ /mnt/hgfs