<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; kernel update</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/kernel-update/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Kernel Update</title>
		<link>http://wiki.centos-webpanel.com/kernel-update</link>
		<comments>http://wiki.centos-webpanel.com/kernel-update#comments</comments>
		<pubDate>Mon, 11 Jan 2016 23:02:29 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Updates]]></category>
		<category><![CDATA[kernel update]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=438</guid>
		<description><![CDATA[How to update CentOS 6 kernel to version 3 or 4 from default CentOS 2.6 kernel. Please read this article before doing any changes on your server. Install repository having new kernels rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm sed -i "s/enabled=1/enabled=0/g" /etc/yum.repos.d/elrepo.repo To install kernel 4 yum --enablerepo=elrepo-kernel install kernel-ml To install kernel 3 yum [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>How to update CentOS 6 kernel to version 3 or 4 from default CentOS 2.6 kernel.<br />
<em>Please read this article before doing any changes on your server.</em></p>
<p>Install repository having new kernels</p>
<pre>
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
sed -i "s/enabled=1/enabled=0/g" /etc/yum.repos.d/elrepo.repo
</pre>
<p>To install kernel 4</p>
<pre>yum --enablerepo=elrepo-kernel install kernel-ml  </pre>
<p>To install kernel 3</p>
<pre>yum --enablerepo=elrepo-kernel install kernel-lt  </pre>
<p>Now lets activate our newly installed kernel.<br />
Edit File <strong>/etc/grub.conf</strong> and set "<strong>default=</strong>" to your new kernel, this will be probably the 0.</p>
<p>You can count each line starting with kernel as one number starting from 0, so the first kernel will be 0 and others +1.<br />
Latest installed kernel version starts from the top.</p>
<p><strong>Example:</strong><br />
"kernel /vmlinuz-4.3.3-1.el6.elrepo.x86_64"   will be default 0<br />
"kernel /vmlinuz-2.6.32-573.12.1.el6.x86_64"  will be default 1<br />
"kernel /vmlinuz-2.6.32-504.el6.x86_64"       will be default 2</p>
<p>Once you have changed the <strong>/etc/grub.conf</strong> kernel boot configuration, you need to reboot the server.<br />
When server comes back, you can check the kernel version by using command:</p>
<pre>uname -a</pre>
<p>Please note that this custom kernel versions are <strong>NOT</strong> default in Centos 6 system and that this could cause some issues with the compatibility of server services.</p>
<div class="st-alert st-alert- ">
We don't recommend this installations, but in some cases it's need as kernel 4 has much more performances for handling high traffic servers.
</div>
<p>If you have a VPS server like openVZ then you can't do a kernel update, that would need to be done by your server provider.</p>
<p><strong>If you need a help, you can always check our support services.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/kernel-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
