Centos7 after upgrading kernel, VMware cannot open

Source: Internet
Author: User
Tags parent directory


# 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.