標籤:centos2ol kernel uek
測試升級centos6.6的核心到oracle uek核心
參考:
http://www.tuicool.com/articles/IRbU3e
[[email protected] ~]# curl -O https://linux.oracle.com/switch/centos2ol.sh[[email protected] ~]# sh centos2ol.sh[[email protected] ~]# yum upgradeoh yeah,升級完畢,注意upgrade的時候,磁碟空間要足夠。[[email protected] ~]# rpm -qif /etc/redhat-release Name : oraclelinux-release Relocations: (not relocatable)Version : 6Server Vendor: Oracle AmericaRelease : 6.0.2 Build Date: Thu 16 Oct 2014 10:08:37 AM CSTInstall Date: Thu 28 May 2015 01:50:37 PM CST Build Host: ca-buildj3.us.oracle.comGroup : System Environment/Base Source RPM: oraclelinux-release-6Server-6.0.2.src.rpmSize : 49559 License: GPLSignature : RSA/8, Thu 16 Oct 2014 10:41:14 AM CST, Key ID 72f97b74ec551f03Summary : Oracle Linux 6 release fileDescription :System release and information files[[email protected] ~]# cat /etc/issueOracle Linux Server release 6.6Kernel \r on an \m[[email protected] ~]# uname -r2.6.32-504.23.4.el6.x86_64[[email protected] ~]# cat /etc/grub.conf # grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You have a /boot partition. This means that# all kernel and initrd paths are relative to /boot/, eg.# root (hd0,0)# kernel /vmlinuz-version ro root=/dev/mapper/vg_svr2057-lv_root# initrd /initrd-[generic-]version.img#boot=/dev/sdadefault=0timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitle Oracle Linux Server Red Hat Compatible Kernel (2.6.32-504.23.4.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-504.23.4.el6.x86_64 ro root=/dev/mapper/vg_svr2057-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_svr2057/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_svr2057/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-504.23.4.el6.x86_64.imgtitle Oracle Linux Server Red Hat Compatible Kernel (2.6.32-431.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/vg_svr2057-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_svr2057/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_svr2057/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-431.el6.x86_64.imgtitle CentOS (2.6.32-431.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/vg_svr2057-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_svr2057/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_svr2057/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-431.el6.x86_64.img
測試升級centos6.6的核心到oracle uek核心