Install VMware Workstation 16 Pro on Linux Systems
VMware Workstation 16 Pro安装步骤:
1,下载
2,下载文件增加执行权
3,安装kernel modules
4,更新Kernel
5,sudo /etc/init.d/vmware start 启用相关服务
6,修改主板BIOS 的VT-X技术,开启virtual虚拟服务。
7,安装结束
官方安装介绍链接
tag:https://www.tecmint.com/install-vmware-workstation-in-linux/comment-page-3/
官网下载安装包,下载地址:https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evaluation.html
下载完成后修改权限:chmod u+x VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle
运行安装包:sudo ./VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle
步骤三执行完成后,在应用程序里点击应用图标,会提示安装kernel modules,点击安装
在执行步骤4时遇到无法安装kernel modules的问题,解决方案如下:
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
git checkout workstation-16.2.3 (这里要跟你的VMWare 版本一致)
make
sudo make install
vmware 卸载命令
vmware-installer -u vmware-workstation
如果报错Before you can run Vmware, several modules must be compiled and loaded into the running kernel.
方法一:需要更新Linux Kernel Headers:
sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)
【重要的事情说一遍:VMWARE 安装正常运行后,别在更新linux-kernel否则……你要再次安装一遍,甚至需要重装系统】
方法二:
Upgrading Kernel in Ubuntu Server
官方安装介绍链接
tag: https://www.tecmint.com/upgrade-kernel-in-ubuntu/
官方方法
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
sudo dpkg -i *.deb
【重要的事情说一遍:VMWARE 安装正常运行后,别在更新linux-kernel否则……你要再次安装一遍,甚至需要重装系统】
以上操作无异常后,依然发现有异常或报错,请用下面的命令启用相关服务即可正常。
could not open /dev/vmmon
gcc 问题的时候使用下面的命令解决,并启用
sudo /etc/init.d/vmware start
或检查并安装新版本的GCC
Unable to change virtual machine power state: This host supports Intel VT-x, but Intel VT-x is disabled.
提示修改主板BIOS 的VT-X 虚拟模块被禁用。