Install VMware 10 in CentOS 7
This article mainly introduces how to install Vmware 10.0.3 on CentOS 7. After installing VMware 10.0.3 on CentOS 7, it cannot work normally, in fact, this is mainly because the kernel in CentOS 7 is earlier than the kernel 3.10.
To run a vm, you must have the gcc, kernel, kernel-devel, and kernel-headers components.
You can install yum install-y using the repository online.
To install and run VMware 10.0.3 normally in CentOS 7, perform the following steps:
1. Go to the/usr/lib/vmware/modules/source directory.
Cd/usr/lib/vmware/modules/source
2.decompress 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
Set
# If LINUX_VERSION_CODE <KERNEL_VERSION (3, 13, 0)
Replace
# If LINUX_VERSION_CODE <KERNEL_VERSION (3, 0, 0)
5. Return to the parent directory
Cd ../
6. recompress the folder
Tar-uvf vmnet.tar vmnet-only
7. Remove the old directory
Rm-fr vmnet-only
8. re-open VMware.