{"id":15430,"date":"2022-01-14T18:58:00","date_gmt":"2022-01-14T13:28:00","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=15430"},"modified":"2026-02-27T13:17:39","modified_gmt":"2026-02-27T07:47:39","slug":"replace-hardened-kernel-cpanel-standard-kernel","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/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.in\/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.in\/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.in\/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":[3053],"tags":[50,2394,877,2924,2923,1471],"class_list":["post-15430","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-advanced-features-and-whm","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 v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\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.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\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.in\/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:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-27T07:47:39+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=\"Est. 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\":\"Article\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?\",\"datePublished\":\"2022-01-14T13:28:00+00:00\",\"dateModified\":\"2026-02-27T07:47:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/\"},\"wordCount\":255,\"commentCount\":0,\"keywords\":[\"cPanel hosting\",\"cPanel Server\",\"linux server\",\"remove hardened cPanel kernel\",\"replace cpanel kernel\",\"SSH commands\"],\"articleSection\":[\"Advanced Features and WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/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.in\\\/hosting-faqs\\\/#website\"},\"datePublished\":\"2022-01-14T13:28:00+00:00\",\"dateModified\":\"2026-02-27T07:47:39+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/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.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/replace-hardened-kernel-cpanel-standard-kernel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.milesweb.in\\\/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.in\\\/hosting-faqs\\\/#website\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"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.\",\"sameAs\":[\"https:\\\/\\\/www.milesweb.in\"],\"url\":\"https:\\\/\\\/www.milesweb.in\\\/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.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","og_locale":"en_US","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.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2022-01-14T13:28:00+00:00","article_modified_time":"2026-02-27T07:47:39+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Replace the Hardened Kernel of cPanel with a Standard Kernel?","datePublished":"2022-01-14T13:28:00+00:00","dateModified":"2026-02-27T07:47:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/"},"wordCount":255,"commentCount":0,"keywords":["cPanel hosting","cPanel Server","linux server","remove hardened cPanel kernel","replace cpanel kernel","SSH commands"],"articleSection":["Advanced Features and WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/","url":"https:\/\/www.milesweb.in\/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.in\/hosting-faqs\/#website"},"datePublished":"2022-01-14T13:28:00+00:00","dateModified":"2026-02-27T07:47:39+00:00","author":{"@id":"https:\/\/www.milesweb.in\/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.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/replace-hardened-kernel-cpanel-standard-kernel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/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.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","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.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=15430"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15430\/revisions"}],"predecessor-version":[{"id":15432,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15430\/revisions\/15432"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=15430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=15430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=15430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}