更换centos6的内核为oracle uek内核

  

更换centos6的内核为oracle uek内核2016/11/16

  一、使用,oracle 提供的脚本完整替换   参考:http://www.tuicool.com/articles/IRbU3e      (root@svr205-7  ~) #, curl  -O  https://linux.oracle.com/switch/centos2ol.sh   (root@svr205-7  ~) #, sh  centos2ol.sh   (root@svr205-7  ~) #, yum 升级      oh 是的,升级完毕,注意升级的时候,磁盘空间要足够。      (root@svr205-7  ~) #, rpm  -qif /etc/redhat-release    Name ,,,,,,,,, oraclelinux-release ,,,,,,,,,搬迁:,(not 浮动)   Version ,,,,,, 6 server ,,,,,,,,,,,,,,,,,,,,,,,,,,供应商:Oracle 美国   Release ,,,,,, 6.0.2 ,,,,,,,,,,,,,,,,,,,,,,,, Build 日期:,Thu  16, Oct  2014年,10:08:37  AM 春秋国旅   日期:Install  Thu  28, May  2015年,01:50:37  PM  CST ,,,,, Build 主持人:ca-buildj3.us.oracle.com   Group ,,,,,,,, System 环境/Base ,,,,,, Source  RPM: oraclelinux-release-6Server-6.0.2.src.rpm   Size ,,,,,,,,, 49559,,,,,,,,,,,,,,,,,,,,,,,,,,,,许可证:GPL   Signature ,,:, RSA/8, Thu  16, Oct  2014年,10:41:14  AM 春秋国旅,Key  ID  72 f97b74ec551f03   Summary ,,,,,, Oracle  Linux  6, release 文件   Description :   System  release 以及方式、文件   (root@svr205-7  ~) #, cat /etc/问题   Oracle  Linux  Server  release  6.6   Kernel  \ r 提醒an  \ m      (root@svr205-7  ~) #, uname  - r   2.6.32-504.23.4.el6.x86_64   (root@svr205-7  ~) #, cat /etc/grub.conf    #,grub.conf  generated  by 蟒蛇   #   #,Note  that 你do  not  have 用rerun  grub  after  making  changes 用却;能够文件   #,注意:,,你have  a /boot 分区只,却;能够means    #,,,,,,,,,,all  kernel 以及initrd  paths 断开连接;relative 用/boot/,如。   #,,,,,,,,,,root  (hd0, 0)   #,,,,,,,,,,kernel /vmlinuz-version  ro 根=/dev/mapper/vg_svr2057-lv_root   #,,,,,,,,,,initrd /initrd -通用- version.img   # boot=/dev/sda   默认=0   超时=5   splashp_w_picpath=(hd0, 0)/grub/splash.xpm.gz   hiddenmenu   title  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 根=/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 安静   ,,,,,,,initrd /initramfs-2.6.32-504.23.4.el6.x86_64.img   title  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 根=/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 安静   ,,,,,,,/initramfs - 2.6.32 initrd  431. - el6.x86_64.img   title  CentOS  (2.6.32-431.el6.x86_64)   ,,,,,,,root  (hd0, 0)   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null

更换centos6的内核为oracle uek内核