1 首先准备一个Ubuntu 16.04 系统
2.使用多线程下载工具axel 从VMware官方地址下载如下:
$ sudo apt-get install axel
$ exel -n 10 https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle (-n 选项指定线程的数目)
3.赋予执行权限并安装:
$ chmod +x VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle
$ sudo ./VMware-Workstation-Full-12.5.5-5234757.x86_64.bundle (普通用户下的安装命令)
4.安装 VMware-Workstation-12
VMware 12 专业版永久许可证密钥 : 5A02H-AU243-TZJ49-GTC7K-3C61N
5.解决安装时出现的问题:
ubuntu上VMware:(vmware-installer.py:3847): Gtk-WARNING **: 无法在模块路 径中找到主题引擎:“murrine”......
解决方法:
安裝5个组件
$ sudo apt-get install murrine-themes
$ sudo apt-get install gtk2-engines-murrine
$ sudo apt-get install libgtkmm-2.4-1c2a(libgtkmm-2.4-1v5:i386套件的其中之一)
$ sudo apt-get install libgtkmm-2.4-dev
$ sudo apt-get install libcanberra-gtk-module:i386
再安装gksu套件(VMware-XXXX..x86_64.bundle是图形程序)
$ sudo apt-get install gnome-tweak-tool
最后使用: gksudo bash ./VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle 安装
-------------------------------------------------------------------------------------------------------------------------------------
如果vm12在ubuntu16.04内核版本为 4.13.0-32-generic 安装失败可以尝试以下安装
ubuntu16.04 安装VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle步骤:
1.从vmware官网下载vm14软件
2.赋予执行权限并安装:
$ chmod a+x VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
$ sudo ./VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle (普通用户下的安装命令)
3.一路next
在此分享一下vm14永久激活密钥:CG54H-D8D0H-H8DHY-C6X7X-N2KG6
4.点击super键,搜索vmware,即可启动虚拟机
注意:error
Ubuntu下VMware Workstation 出现“Failed to build vmmon” and “Failed to build vmnet.”
思路是从github上面找到一个补丁解决这个问题,而全过程可以用一个shell脚本解决,这里附上这个脚本
vim vm.sh
#!/bin/bash
VMWARE_VERSION=workstation-15.0.4 #这里填入你自己的版本
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
systemctl restart vmware && vmware &
sudo chmod u+x vm.sh
sudo ./vm.sh