{"id":496,"date":"2021-07-23T12:31:30","date_gmt":"2021-07-23T12:31:30","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-install-kernelcare\/"},"modified":"2021-07-23T12:31:30","modified_gmt":"2021-07-23T12:31:30","slug":"how-to-install-kernelcare","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-install-kernelcare\/","title":{"rendered":"How to Install KernelCare"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This document describes how to install the KernelCare software via the command line. KernelCare automatically updates your system\u2019s Linux\u00ae kernel without the need for a reboot.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>To automatically install KernelCare through WHM, read the Purchase from WHM section of our How to Purchase a KernelCare License documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"install-kernelcare\">Install KernelCare<\/h2>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>You <strong>must<\/strong> run these commands as the <code>root<\/code> user.<\/li>\n<li>To install and run KernelCare, you <strong>must<\/strong> disable Secure Boot if you enabled Secure Boot previously.<\/li>\n<\/ul><\/div>\n<\/div>\n<h3 id=\"check-for-compatible-kernels\">Check for compatible kernels<\/h3>\n<p>Before you purchase and install KernelCare, make certain that your system possesses a compatible kernel. To do this, read the KernelCare documentation.<\/p>\n<h3 id=\"choose-and-run-your-preferred-command\">Choose and run your preferred command<\/h3>\n<p>You can choose between two different SSH commands to begin the KernelCare installation process. To begin the KernelCare installation process, run <strong>one<\/strong> of the following commands:<\/p>\n<div class=\"highlight\">\n<div style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\">\n<table style=\"border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;\">\n<tr>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">1\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">2\n<\/span><\/code><\/pre>\n<\/td>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"color:#a6e22e\">curl<\/span> <span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">s<\/span> <span style=\"color:#a6e22e\">https<\/span>:<span style=\"color:#75715e\">\/\/repo.cloudlinux.com\/kernelcare\/kernelcare_install.sh | bash\n<\/span><span style=\"color:#75715e\"><\/span><span style=\"color:#a6e22e\">wget<\/span> <span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">qq<\/span> <span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">O<\/span> <span style=\"color:#f92672\">-<\/span> <span style=\"color:#a6e22e\">https<\/span>:<span style=\"color:#f92672\">\/\/<\/span><span style=\"color:#a6e22e\">repo<\/span>.<span style=\"color:#a6e22e\">cloudlinux<\/span>.<span style=\"color:#a6e22e\">com<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">kernelcare<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">kernelcare_install<\/span>.<span style=\"color:#a6e22e\">sh<\/span> | <span style=\"color:#a6e22e\">bash<\/span><\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<h3 id=\"register-the-license-key\">Register the license key<\/h3>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>You can skip this step if you purchased a KernelCare license from the cPanel Store. KernelCare licenses use IP-based licensing, which you don\u2019t need to register.<\/p>\n<\/p><\/div>\n<\/div>\n<p>The KernelCare license key deploys and registers your server. To register your key, run the following command:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\"><span style=\"color:#e6db74\">\/usr\/<\/span>bin<span style=\"color:#f92672\">\/<\/span>kcarectl <span style=\"color:#f92672\">--<\/span>register $kc_key<\/code><\/pre>\n<\/div>\n<h3 id=\"check-for-applied-patches\">Check for applied patches<\/h3>\n<p>After you register KernelCare, you will need to check for applied patches. This ensures that the automated kernel security updates ran properly on your server. To check for applied patches, run the following command:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\"><span style=\"color:#e6db74\">\/usr\/<\/span>bin<span style=\"color:#f92672\">\/<\/span>kcarectl <span style=\"color:#f92672\">--<\/span>info<\/code><\/pre>\n<\/div>\n<h3 id=\"manually-check-for-patch-updates\">Manually check for patch updates<\/h3>\n<p>KernelCare will automatically check for new patches every four hours. If you want to check for new patches yourself, run the following command:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\"><span style=\"color:#e6db74\">\/usr\/<\/span>bin<span style=\"color:#f92672\">\/<\/span>kcarectl <span style=\"color:#f92672\">--<\/span>update<\/code><\/pre>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview This document describes how to install the KernelCare software via the command line. KernelCare automatically updates your system\u2019s Linux\u00ae kernel without the need for a reboot. Note: To automatically install KernelCare through WHM, read the Purchase from WHM section of our How to Purchase a KernelCare License documentation. Install KernelCare Important: You must run &hellip;<\/p>\n","protected":false},"author":1,"featured_media":497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/496"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=496"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/496\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/497"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}