<?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>update your centos7 to the latest kernel Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/update-your-centos7-to-the-latest-kernel/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 21 Jun 2018 20:41:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to update your centos7 to  the latest kernel</title>
		<link>https://www.osradar.com/how-to-update-your-centos7-to-the-latest-kernel/</link>
					<comments>https://www.osradar.com/how-to-update-your-centos7-to-the-latest-kernel/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sun, 10 Jun 2018 13:37:12 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[update your centos7 to the latest kernel]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3983</guid>

					<description><![CDATA[<p>This  Tutorial is  about how to update your centos7  to  the latest kernel release. any  new kernels is coming wit bug fixes , security fixes and  new hardware drivers support. To update your centos  Server u need SSH access /Root / and  Internet  to add the needed repos. This is my actual system : to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-update-your-centos7-to-the-latest-kernel/">How to update your centos7 to  the latest kernel</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This  Tutorial is  about how to update your centos7  to  the latest kernel release. any  new kernels is coming wit bug fixes , security fixes and  new hardware drivers support.</p>
<p>To update your centos  Server u need SSH access /Root / and  Internet  to add the needed repos.</p>
<p>This is my actual system :</p>
<p><img loading="lazy" class="alignnone size-full wp-image-3984" src="https://www.osradar.com/wp-content/uploads/2018/06/centos7.png" alt="" width="766" height="170" srcset="https://www.osradar.com/wp-content/uploads/2018/06/centos7.png 766w, https://www.osradar.com/wp-content/uploads/2018/06/centos7-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/centos7-696x154.png 696w" sizes="(max-width: 766px) 100vw, 766px" /></p>
<p>to Update kernel to last release you have to add news Centos Repo</p>
<p>Now We’ll Start the procedure of Kernel upgrade on CentOS 7 :</p>
<p>We need to enable the ELRepo repository on CentOS 7, run the below commands :</p>
<pre>[root@osradar ~]# rpm --import http://www.elrepo.org/RPM-GPG-KEY-elrepo.org
[root@osradar ~]# rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
Retrieving http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:elrepo-release-7.0-3.el7.elrepo ################################# [100%]
[root@osradar ~]#</pre>
<p>and checkl  if repo had  beed  added with command  yum repolist</p>
<p><img loading="lazy" class="alignnone size-full wp-image-3985" src="https://www.osradar.com/wp-content/uploads/2018/06/centos7-1.png" alt="" width="765" height="382" srcset="https://www.osradar.com/wp-content/uploads/2018/06/centos7-1.png 765w, https://www.osradar.com/wp-content/uploads/2018/06/centos7-1-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/centos7-1-696x348.png 696w" sizes="(max-width: 765px) 100vw, 765px" /></p>
<p>&nbsp;</p>
<p>You can retrieve latest download links on official page here</p>
<p>Now we’ll install Kernel 4.17 with the below command :</p>
<p>** at the time kernel 4.17 was available as latest version, for latest versions the procedure will be the same.</p>
<pre>[root@osradar ~]# yum --enablerepo=elrepo-kernel install kernel-ml -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.yourwebhoster.eu
* elrepo: mirrors.ircam.fr
* elrepo-kernel: mirrors.ircam.fr
* extras: mirror.yourwebhoster.eu
* updates: mirror.yourwebhoster.eu
elrepo-kernel | 2.9 kB 00:00:00 
elrepo-kernel/primary_db | 1.7 MB 00:00:00 
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package kernel-ml.x86_64 0:4.17.0-1.el7.elrepo will be installed
--&gt; Finished Dependency Resolution</pre>
<p>&nbsp;</p>
<p>Now kernel 4.17 will downloaded and installed .</p>
<p>Now we need to add/modify config under /etc/default/grub :</p>
<p>vi  /etc/default/grub</p>
<p>And put this line or modify the line if  exists to :</p>
<pre>GRUB_DEFAULT=0</pre>
<pre>[root@osradar ~]# cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
[root@osradar ~]#</pre>
<p>&nbsp;</p>
<p>Save   and exit  and run this command to create the kernel configs :</p>
<p>grub2-mkconfig -o /boot/grub2/grub.cfg</p>
<pre>[root@osradar ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.17.0-1.el7.elrepo.x86_64
Found initrd image: /boot/initramfs-4.17.0-1.el7.elrepo.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-862.3.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-862.3.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-862.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-862.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-77ba7edb9afc4a8cb0705febd9ed3064
Found initrd image: /boot/initramfs-0-rescue-77ba7edb9afc4a8cb0705febd9ed3064.img
done</pre>
<p>&nbsp;</p>
<p>That’s it.  now you can reboot your server and check the  new kernel  in the grub menu :</p>
<p><img loading="lazy" class="alignnone size-full wp-image-3986" src="https://www.osradar.com/wp-content/uploads/2018/06/Kernel.png" alt="" width="698" height="380" srcset="https://www.osradar.com/wp-content/uploads/2018/06/Kernel.png 698w, https://www.osradar.com/wp-content/uploads/2018/06/Kernel-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/Kernel-696x380.png 696w" sizes="(max-width: 698px) 100vw, 698px" /></p>
<p>boot  , login and check if  system start   without issues</p>
<p><img loading="lazy" class="alignnone size-full wp-image-3987" src="https://www.osradar.com/wp-content/uploads/2018/06/kernel3.png" alt="" width="719" height="284" srcset="https://www.osradar.com/wp-content/uploads/2018/06/kernel3.png 719w, https://www.osradar.com/wp-content/uploads/2018/06/kernel3-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/kernel3-696x275.png 696w" sizes="(max-width: 719px) 100vw, 719px" /></p>
<p>Please  Enjoy</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-update-your-centos7-to-the-latest-kernel/">How to update your centos7 to  the latest kernel</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-update-your-centos7-to-the-latest-kernel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
