# rm-rf/etc/vmware*
#rm-rf/usr/bin/vm*
Tested friends may have found that the installation of VMware 10.0.3 in CentOS 7 does not work, in fact, mainly because the kernel in CentOS 7 is a lower version of kernel 3.10.
To properly install and run VMware 10.0.3 in CentOS 7, you must perform the following steps:
1. Proceed to the/usr/lib/vmware/modules/source directory
Cd/usr/lib/vmware/modules/source
2. Unzip the Vmnet.tar
TAR-XVF Vmnet.tar
3. Go to the Vmnet-only directory
CD vmnet-only
4. Edit the Filter.c file
VI filter.c
will be 206 rows and 259 rows of
#if Linux_version_code < Kernel_version (3, 13, 0)
Replaced by
#if Linux_version_code < Kernel_version (3, 0, 0)
5. Back to the parent directory
Cd.. /
6. Re-compress the folder
TAR-UVF Vmnet.tar vmnet-only
7. Remove the old directory
RM-FR vmnet-only
8. Re-open VMware
Patch file Vmnet-3.19.patch
Method/Step
1
Get patch files
Curl Http://pastie.org/pastes/9934018/download-o/tmp/vmnet-3.19.path
If unable to download, my cloud disk has the backup, the URL is: Http://pan.baidu.com/s/1sj4uWFF Extract code: A7WQ
2
Cd/usr/lib/vmware/modules/source
3
sudo tar-xf Vmnet.tar
4
sudo patch-p0-i/tmp/vmnet-3.19.path
5
sudo tar-cf vmnet.tar vmnet-only
6
sudo rm-rf vmnet-only
7
sudo vmware-modconfig--console--install-all
Vmnet-3.19.patch
#cd/usr/lib/vmware/modules/source
#tar -xf vmnet. Tar
#patch -p0 -i/tmp/vmnet-3.19. Patch
#tar -cf vmnet. Tar vmnet-only
< Span class= "hljs-variable" >< Span class= "Hljs-number" >< Span class= "hljs-built_in" > #rm -r *-only
#vmware-modconfig --console --install-all
Centos7 after upgrading kernel, VMware cannot open