在 VMware Workstation 中安装了 Ubuntu 15.04 64位版本。
安装 vmware-tools 时报了很多错误,为了启用 界面自动适应客户机、剪切板 等功能,还是要研究一下安装 vmware-tools。
安装步骤如下:
1. 安装相关软件(终端下执行):
- apt-get install dkms linux-headers-$(uname -r) build-essential psmisc
- apt-get install git
- git clone https://github.com/rasa/vmware-tools-patches.git
2. 删除文件夹(终端下执行):
- cd vmware-tools-patches/patches
- 删除 除 vmhgfs 之外,其他文件夹
3. 加载 vmware-tools
- 点击 VMware Workstation ==> 点击 "虚拟机" 菜单 ==> 点击 "安装 VMware Tools"
4. 拷贝安装包(注:压缩包名称中版本号可能有所不同):
- 将 DVD-ROM 中加载的文件 VMwareTools-10.0.0-2977863.tar.gz 拷贝到 vmware-tools-patches 文件夹下。
5. 进入目录 vmware-tools-patches
6. 执行安装
- ./untar-and-patch-and-compile.sh