创建工作站vmware workstation时,提示before you can run vmware several modules must be compiled

安装vmware并打开vmware station时提示
before you can run vmware several modules must be compiled and loaded into the running kernel
查看相关log提示
Cannot open file “/usr/lib/vmware/settings”: No such file or directory
问题的解决方法
https://communities.vmware.com/thread/509225
也可以试着在下面的地址下搜索答案
https://askubuntu.com/questions/617704/failed-to-build-vmnet-for-kernel-3-19
我使用的方法是
https://jingyan.baidu.com/article/da1091fb34fc84027849d61e.html
感谢作者提供的相关补丁,解决了疑难
在下载了vmnet-3.19.patch补丁后并上传到Linux上在linux机器上执行以下命令即可。
cd /usr/lib/vmware/modules/source
sudo tar -xf vmnet.tar
sudo patch -p0 -i /tmp/vmnet-3.19.patch
mv vmnet.tar vmnet.tar.SAVED
sudo tar -cf vmnet.tar vmnet-only
rm -rf vmnet-only
vmware-modconfig --console --install-all

你可能感兴趣的:(Linux)