由于不用版本、不同内核的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.”的问题

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐