{"id":8926,"date":"2023-08-21T09:21:45","date_gmt":"2023-08-21T09:21:45","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=8926"},"modified":"2024-10-18T10:11:36","modified_gmt":"2024-10-18T10:11:36","password":"","slug":"how-to-install-cwp-on-centos-linux-8-alma-linux-8","status":"publish","type":"docs","link":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/","title":{"rendered":"How to Install CWP on CentOS Linux 8\/Alma Linux 8"},"content":{"rendered":"\n<p>CentOS 7 is reaching EOL on June 30, 2024 and most panels are moving to Centos 8 or Alma Linux 8 or Rocky Linux 8. However, Centos\/Alma\/Rocky Linux 8 may have issues with repos that need to be resolved before you can successfully install CWP control panel. The guide below will show you how to fix the repo issue and install CWP successfully.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Login to your server using the root user<\/h4>\n\n\n\n<p>ssh root@your-server-IP<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Change Repo URLs using the commands below<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-*\nsed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-*\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">You can also use Cloudflare based Vault repository by running the commands below instead<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-Linux-*\nsed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.epel.cloud|g' \/etc\/yum.repos.d\/CentOS-Linux-*\n<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Alternative Method<\/strong><\/h4>\n\n\n\n<p>If the above does not work for you, you can download the files below into \/etc\/yum.repos.d then extract the files. Use the commands below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd yum.repos.d &amp;&amp; wget http:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/almalinux.zip\nunzip<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3 : Now, install EPEL repo, install wget utility and update the system<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y epel-release\nyum install -y wget\nyum -y update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4: Once update completes, reboot the server<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># reboot<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Once back up, login and run the commands below<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/local\/src\nwget http:\/\/centos-webpanel.com\/cwp-el8-latest\nsh cwp-el8-latest<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS 7 is reaching EOL on June 30, 2024 and most panels are moving to Centos 8 or Alma Linux 8 or Rocky Linux 8. However, Centos\/Alma\/Rocky Linux 8 may have issues with repos that need to be resolved before you can successfully install CWP control panel. The guide below will show you how to [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[2120,1879],"doc_tag":[],"class_list":["post-8926","docs","type-docs","status-publish","hentry","doc_category-cwp-panel","doc_category-servers"],"year_month":"2026-06","word_count":251,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"w m","author_nicename":"wm","author_url":"https:\/\/www.truehost.com\/support\/author\/wm\/"},"doc_category_info":[{"term_name":"CWP Panel","term_url":"https:\/\/www.truehost.com\/support\/docs-category\/cwp-panel\/"},{"term_name":"Servers","term_url":"https:\/\/www.truehost.com\/support\/docs-category\/servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install CWP on CentOS Linux 8\/Alma Linux 8 -<\/title>\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.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install CWP on CentOS Linux 8\/Alma Linux 8 -\" \/>\n<meta property=\"og:description\" content=\"CentOS 7 is reaching EOL on June 30, 2024 and most panels are moving to Centos 8 or Alma Linux 8 or Rocky Linux 8. However, Centos\/Alma\/Rocky Linux 8 may have issues with repos that need to be resolved before you can successfully install CWP control panel. The guide below will show you how to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-18T10:11:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\\\/\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\\\/\",\"name\":\"How to Install CWP on CentOS Linux 8\\\/Alma Linux 8 -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"datePublished\":\"2023-08-21T09:21:45+00:00\",\"dateModified\":\"2024-10-18T10:11:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install CWP on CentOS Linux 8\\\/Alma Linux 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install CWP on CentOS Linux 8\/Alma Linux 8 -","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.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/","og_locale":"en_US","og_type":"article","og_title":"How to Install CWP on CentOS Linux 8\/Alma Linux 8 -","og_description":"CentOS 7 is reaching EOL on June 30, 2024 and most panels are moving to Centos 8 or Alma Linux 8 or Rocky Linux 8. However, Centos\/Alma\/Rocky Linux 8 may have issues with repos that need to be resolved before you can successfully install CWP control panel. The guide below will show you how to [&hellip;]","og_url":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/","article_modified_time":"2024-10-18T10:11:36+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/","url":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/","name":"How to Install CWP on CentOS Linux 8\/Alma Linux 8 -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"datePublished":"2023-08-21T09:21:45+00:00","dateModified":"2024-10-18T10:11:36+00:00","breadcrumb":{"@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-install-cwp-on-centos-linux-8-alma-linux-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install CWP on CentOS Linux 8\/Alma Linux 8"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/www.truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/8926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/comments?post=8926"}],"version-history":[{"count":3,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/8926\/revisions"}],"predecessor-version":[{"id":15446,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/docs\/8926\/revisions\/15446"}],"wp:attachment":[{"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/media?parent=8926"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=8926"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}