1、安装环境准备
首先找到了官网:
http://linuxintro.org/wiki/Vmware#build_environment_error
倒数第二个问题是关于安装gcc的,倒数第一个问题是关于安装make的。
gcc好办,Ubuntu的make参考如下文章:https://blog.csdn.net/liuchang__/article/details/78485586

sudo apt install gcc
sudo apt install ubuntu-make
sudo apt-get install libcanberra*

2、重新配置Modconfig:
如下网址:https://unix.stackexchange.com/questions/311444/trying-to-install-vmplayer-in-arch-linux

sudo vmware-modconfig --console --install-all

3、linux 下网卡默认不能在混杂模式下切换 那么就用简单粗暴的方法(给权限)
问题描述

在Linux如果以普通用户运行VMware Workstations,创建虚拟机后提示如下:

The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet0’. This is not allowed for security reasons. 
Please go to the Web page “http://vmware.com/info?id=161” for help enabling promiscuous mode in the virtual machine.

解决办法
    创建一个组,给这个组赋予读写权限,然后将/dev/vmnet0或/dev/vmnet8修改为这个组

    groupadd vmwaregroup 
    usermod -a -G vmwaregroup netseclab 
    chgrp vmwaregroup /dev/vmnet0 
    chgrp vmwaregroup /dev/vmnet8 
    chmod g+rw /dev/vmnet0 
    chmod g+rw /dev/vmnet8

2.简单粗暴

chmod a+rw /dev/vmnet0 
chmod a+rw /dev/vmnet8
最后修改:2020 年 11 月 30 日
如果觉得我的文章对你有用,请随意赞赏