{"id":278,"date":"2017-08-04T20:18:27","date_gmt":"2017-08-04T18:18:27","guid":{"rendered":"http:\/\/hentati.org\/?p=278"},"modified":"2020-12-06T20:54:08","modified_gmt":"2020-12-06T19:54:08","slug":"how-to-update-linux-kernel-in-two-minutes","status":"publish","type":"post","link":"https:\/\/hentati.org\/index.php\/2017\/08\/04\/how-to-update-linux-kernel-in-two-minutes\/","title":{"rendered":"How to UPDATE Linux KERNEL in Two Minutes !"},"content":{"rendered":"<h3><span style=\"color: #000000;\">1- To begin create new file &#8220;<strong>noyau.repo&#8221; <\/strong>and save it :<\/span><\/h3>\n<pre><span style=\"color: #000000;\"><strong>vim \/etc\/yum.repos.d\/noyau.repo<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\"><strong>[updates]<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\"><strong>name=RedHat updates<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\"><strong>baseurl=ftp:\/\/Server\/ftp\/updates<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\"><strong>enabled=1<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\"><strong>gpgcheck=0<\/strong><\/span>\r\n\r\n<span style=\"color: #000000;\">:wq<\/span><\/pre>\n<h3><span style=\"color: #000000;\">2- Now, Juste tape this command To force the update :<\/span><\/h3>\n<pre><span style=\"color: #000000;\"><strong>yum update kernel<\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\"><strong>\u00a0<\/strong><\/span><\/p>\n<h2><span style=\"color: #000000;\">And It&#8217;s DONE !<\/span><\/h2>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #000000;\"><strong>Note:<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">If you want to keep the old kernel as the default kernel bootable by grub, you have to execute this command :<\/span><\/p>\n<pre><span style=\"color: #000000;\"><strong>grub2-set-default 1<\/strong><\/span><\/pre>\n<p><span style=\"color: #000000;\">Cause, by default the new kernel is used after reboot :<\/span><\/p>\n<pre><span style=\"color: #000000;\"><strong>systemctl reboot<\/strong><\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1- To begin create new file &#8220;noyau.repo&#8221; and save it : vim \/etc\/yum.repos.d\/noyau.repo [updates] name=RedHat updates baseurl=ftp:\/\/Server\/ftp\/updates enabled=1 gpgcheck=0 :wq 2- Now, Juste tape this command To force the update &#8230;<\/p>\n","protected":false},"author":1,"featured_media":280,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/278"}],"collection":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":6,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":650,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions\/650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media\/280"}],"wp:attachment":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}