1. 程式人生 > >離線升級redhat6.5核心,2.6->3.10

離線升級redhat6.5核心,2.6->3.10

cd /etc/yum.repos.d
wget http://www.hop5.in/yum/el6/hop5.repo
yum install yum-plugin-downloadonly


yum install --downloadonly  --downloaddir=/tmp/rpm kernel-ml-aufs kernel-ml-aufs-devel


從/tmp/rpm找到 kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm , kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
rpm -i * 安裝上面兩個rmp
vim /etc/grub.conf
default=0


重啟, uname -r