Ubuntu安装vmware-workstation失败后解决方法

由于不用版本、不同内核的Ubuntu, 安装 vmware-workstation 时, 可能会安装失败,安装失败后的解决方案,

错误1

使用以下命令可以查看安装失败的模块

sudo /etc/init.d/vmware start 

输出如下, 多数情况下都是这两个模块失败了

Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done

使用以下命令, 查看安装版本

vmware-installer -l

输出如下

Product Name         Product Version     
==================== ====================
vmware-workstation   17.5.2.23775571  

关注以下两个仓库

https://github.com/mkubecek/vmware-host-modules

https://github.com/nan0desu/vmware-host-modules

下载对应版本的源码, 手动编译安装, 然后即可成功运行vmware-workstation

cd vmware-host-modules-workstation-17.5.2-k6.9-
sudo make install
sudo /etc/init.d/vmware start

假如编译失败了, GitHub 有很多名为 vmware-host-modules 的仓库, 多尝试几次

比如 https://github.com/mkubecek/vmware-host-modules 这个仓库的代码并没有解决我的错误,而 https://github.com/nan0desu/vmware-host-modules 这个仓库解决了我的错误

错误2

错误信息如下

could not open /dev/ vmmon,Please make sure that the kernel module `vmmon’ is loaded.

解决方法

sudo /etc/init.d/vmware start

参考文章 解决VMware报错“could not open /dev/ vmmon,Please make sure that the kernel module `vmmon’ is loaded.”的问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值