{"id":5545,"date":"2016-01-04T13:51:40","date_gmt":"2016-01-04T05:51:40","guid":{"rendered":"http:\/\/rmohan.com\/?p=5545"},"modified":"2016-01-04T13:52:33","modified_gmt":"2016-01-04T05:52:33","slug":"install-kernel-3-10-on-centos-6-7","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5545","title":{"rendered":"Install Kernel 3.10 on CentOS 6.7"},"content":{"rendered":"<p>CentOS 6.7 ships with kernel 2.6 and it&#8217;s a quite old for now(CentOS 7 already comes with 3.10), but compile a kernel on CentOS is a mess and it&#8217;s not recommended.<br \/>\nBut fear no more, guys from Elrepo took care of that for us and made a package, let&#8217;s see how we can install it.<\/p>\n<p>Enable ELRepo Project repository<\/p>\n<p>rpm &#8211;import https:\/\/www.elrepo.org\/RPM-GPG-KEY-elrepo.org<br \/>\nrpm -Uvh http:\/\/www.elrepo.org\/elrepo-release-6-6.el6.elrepo.noarch.rpm<\/p>\n<p>Install the kernel<\/p>\n<p>yum &#8211;enablerepo=elrepo-kernel install kernel-lt<\/p>\n<p>Configure grub<\/p>\n<p>You also need edit \/etc\/grub.conf to change the kernel order, change default from 1 to 0, must looks like the below:<\/p>\n<p>default=0<br \/>\ntimeout=5<br \/>\nsplashimage=(hd0,0)\/grub\/splash.xpm.gz<br \/>\nhiddenmenu<br \/>\ntitle CentOS (3.10.55-1.el6.elrepo.x86_64)<br \/>\nroot (hd0,0)<br \/>\nkernel \/vmlinuz-3.10.55-1.el6.elrepo.x86_64 ro root=\/dev\/mapper\/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup\/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup\/lv_root rd_NO_DM\u00a0 KEYBOARDTYPE=pc KEYTABLE=br-abnt2 rhgb quiet<\/p>\n<p>Reboot and profit!<\/p>\n<p>reboot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS 6.7 ships with kernel 2.6 and it&#8217;s a quite old for now(CentOS 7 already comes with 3.10), but compile a kernel on CentOS is a mess and it&#8217;s not recommended. But fear no more, guys from Elrepo took care of that for us and made a package, let&#8217;s see how we can install it.<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5545"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5545"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5545\/revisions"}],"predecessor-version":[{"id":5546,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5545\/revisions\/5546"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}