{"id":13031,"date":"2022-01-14T13:28:39","date_gmt":"2022-01-14T13:28:39","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=13031"},"modified":"2022-01-17T06:37:54","modified_gmt":"2022-01-17T06:37:54","slug":"replace-hardened-kernel-cpanel-standard-kernel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","title":{"rendered":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?"},"content":{"rendered":"\n<p>While hosting on a cPanel server, you will get a ready kernel with the control panel. However, you can replace the hardened cPanel-provided kernel with any standard third-party kernel.<\/p>\n\n\n\n<div class=\"kb-wisdom-wrapr kb-wisdom-warning kb-wisdom-wrapr-red\">\n\t<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n\t\t<div class=\"kb-wisdom-icon\"><div><\/div><\/div>\n\t<\/div>\n\t<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n\t\t<p><strong>Warning<\/strong>: cPanel now deprecates the hardened kernel from cPanel &amp; WHM version 68. They no longer provide updates for this kernel. It is why we strongly recommend that you enable symlink protection options once you remove the hardened kernel.<\/p> <p>If you have no idea how, please read this article: <a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/enable-symlink-protection-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Enable Symlink Protection in WHM?<\/a><\/p> <p>We also suggest you plan downtime for this process as it needs a server reboot.<\/p>\n\t<\/div>\n<\/div>\n\n\n<h2>To Replace the Hardened Kernel of cPanel with a Standard Kernel<\/h2>\n<p>We start by removing the cPanel-provided hardened kernel followed by the kernel installation.<\/p>\n<p>1. Log in to your server with <em><strong>SSH<\/strong><\/em>.<\/p>\n<p>2. Run this command:<\/p>\n<pre class=\"\">rm \/etc\/yum.repos.d\/cPkernel.repo<\/pre>\n\n\n<p>The system will remove the <strong>cPkernel<\/strong> or cPanel kernel from the server.<\/p>\n\n\n\n<p>3. Enter and run this command immediately:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum list --showduplicates kernel<\/pre>\n\n\n\n<p>A list of available kernels will appear that you can install on the system.<\/p>\n\n\n\n<p>4. To install a kernel, please run the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install KERNELNAME <\/pre>\n\n\n\n<p>Do not forget to replace the <strong>KERNELNAME<\/strong> with the kernel version you want to install. <\/p>\n\n\n\n<p>We recommend you run: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install kernel-2.6.32 <\/pre>\n\n\n\n<p>This command will install the latest kernel version currently available.<\/p>\n\n\n\n<p>5. Reboot your server once the installation is complete.<\/p>\n\n\n\n<p>If you don&#8217;t know how to reboot your server, please give these articles a read:<br><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/reboot-vps-dedicated-server-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Reboot a VPS\/Dedicated Server via WHM?<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/reboot-linux-server-ssh\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Reboot a Linux Server via SSH?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While hosting on a cPanel server, you will get a ready kernel with the control panel. However, you can replace the hardened cPanel-provided kernel with any standard third-party kernel. Warning: cPanel now deprecates the hardened kernel from cPanel &amp; WHM version 68. They no longer provide updates for this kernel. It is why we strongly [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,41,4],"tags":[50,2374,853,2905,2904,1448],"class_list":["post-13031","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-faq","category-howtos","category-web-hosting-faq","tag-cpanel-hosting-2","tag-cpanel-server","tag-linux-server","tag-remove-hardened-cpanel-kernel","tag-replace-cpanel-kernel","tag-ssh-commands"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Replace the Hardened Kernel of cPanel with a Standard Kernel?<\/title>\n<meta name=\"description\" content=\"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?\" \/>\n<meta property=\"og:description\" content=\"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-14T13:28:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-17T06:37:54+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\",\"name\":\"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2022-01-14T13:28:39+00:00\",\"dateModified\":\"2022-01-17T06:37:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?","description":"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","og_locale":"en_GB","og_type":"article","og_title":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?","og_description":"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2022-01-14T13:28:39+00:00","article_modified_time":"2022-01-17T06:37:54+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","name":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2022-01-14T13:28:39+00:00","dateModified":"2022-01-17T06:37:54+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article will explain how a server admin can remove\/replace a hardened cPanel kernel with a standard kernel via SSH.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":374,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=13031"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13031\/revisions"}],"predecessor-version":[{"id":13035,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13031\/revisions\/13035"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=13031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=13031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=13031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}