Centos7 Since the advent of the official website to provide the image is always 3.10 version, this version of the biggest problem is the hardware driver (especially the wireless network card) support is not very good, I test >5 models, wireless card can not be used normally, if not mainstream models, manual installation is difficult, The easiest way is to upgrade the kernel to the latest version. The steps are as follows:
1, upgrade the kernel need to use Elrepo yum Source, first we import Elrepo key
rpm --import https://www.elrepo.org/rpm-gpg-key-elrepo.org
2. Install Elrepo source
rpm -uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
3. In the Elrepo source of Yum, mainline is the latest version of the kernel
yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml -y
4, modify the kernel boot sequence, the default boot order should be 1, after the upgrade of the kernel is inserted into the front, 0 (if you need to manually select which kernel each time you start, this step can be omitted)
grub2-
set-default
0
5, restart the system (if you do not modify the default boot kernel, you need to manually select the 4.1 version)
Reboot
6. View Kernel version
Uname-r
Centos7 upgrading the kernel to the latest version