1. Check the Linux kernel version and whether the Aufs module is supported:
[16:45:31 [email protected] ~]# uname-r3.10.0-229.el7.x86_64[16:46:45 [email protected] ~]# grep aufs/etc/filesystems
2. Download the 3.10 kernel with the Aufs module
from this site http://down.51cto.com/data/1903250 Download the following two files and upload them to a virtual machine
Kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm.gz
Kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm.gz
3. Unzip and install
[16:59:55 [email protected] ~]# GZIP-DV kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm.gz[17:00:04 [email protected] ~]# gzip-d V kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm.gz
[17:00:35 [email protected] ~]# RPM-IVH kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm[17:02:00 [email protected] ~]# rpm-ivh ke rnel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
4. Modify the configuration file
Unlike the CENTOS6 version, the/etc/grub.conf is changed directly
CENTOS7 version of this file is not/etc/grub.conf, its kernel parameters to modify the following steps
[17:02:47 [email protected] ~]# vi/etc/default/grubgrub_timeout=5grub_default=savedgrub_disable_submenu=truegrub_ terminal_output= "Console" grub_cmdline_linux= "Crashkernel=auto rhgb quiet" grub_disable_recovery= "true"
from the configuration file, you can see that Grub_default is saved,saved means that the last kernel is started by default on the next boot, where we need to change grub_default=0 (0 means select the first kernel at startup, as shown)
Also execute the following command to regenerate the grub.cfg
Grub2-mkconfig-o/boot/grub2/grub.cfg
5. Rebooting the system
Reboot
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/84/74/wKioL1eQv5GxZA4hAACGb56jyBc297.jpg-wh_500x0-wm_3 -wmp_4-s_3476378381.jpg "title=" 1.JPG "alt=" Wkiol1eqv5gxza4haacgb56jybc297.jpg-wh_50 "/>
Check the kernel version and see if the kernel supports AUFS
[21:17:43 [email protected] ~]# uname-r3.10.5-3.el6.x86_64[21:18:01 [email protected] ~]# grep aufs/proc/filesystemsnod EV Aufs
Execution complete, system support AUFS, can do Docker installation operation
This article is from the "Big Waste" blog, please be sure to keep this source http://bigtrash.blog.51cto.com/8966424/1828600
Centos7.1 Upgrade Kernel Support AUFS module