Linux 升级带aufs模块的3.10内核(可选)

[root@localhost ~]# vim /etc/yum.repos.d/hop5.repo[hop5]
name=www.hop5.in Centos Repository
baseurl=http://www.hop5.in/yum/el6/gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-HOP5


 
[root@localhost ~]# yum -y install kernel-ml-aufs kernel-ml-aufs-devel

修改grub的主配置文件/etc/grub.conf,设置default=0,表示第一个title下的内容为默认启动的kernel(一般新安装的内核在第一个位置)。

重启系统reboot now,

然后执行uname -r,查看是否已经是3.10内核!

[root@localhost ~]# uname -r3.10.5-3.el6.x86_64

执行grep aufs /proc/filesystems,查看内核是否支持aufs!

[root@localhost ~]# grep aufs /proc/filesystemsnodev aufs

你可能感兴趣的:(linux)