{"id":6866,"date":"2021-10-03T19:22:27","date_gmt":"2021-10-03T19:22:27","guid":{"rendered":"https:\/\/truehost.co.ke\/support\/?post_type=ht_kb&#038;p=6866"},"modified":"2024-08-21T11:59:19","modified_gmt":"2024-08-21T11:59:19","password":"","slug":"how-to-install-centos-web-panel-on-centos-8","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/","title":{"rendered":"How To Install CentOS Web Panel on VPS"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">PRE<strong>REQUISITES<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Basic knowledge of Linux, <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Know how to use the shell<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Know how to host your site on your own VPS<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>In this tutorial, we will show you how to install CentOS Web Panel on CentOS 8. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a><a><\/a> Install CentOS Web Panel on CentOS 8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1. First, let\u2019s start by ensuring your system is up-to-date.<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted has-vivid-red-color has-text-color has-link-color wp-elements-3e8a74718b879c141d41e9a8b968ee6c\">sudo dnf update<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2. Setup Hostname.<\/h3>\n\n\n\n<p>Login in to your server as root and make sure to set the correct hostname:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-vivid-red-color has-text-color has-link-color wp-elements-753de0d1e2f783306feb37a211722b6b\"><code>hostnamectl set-hostname cwp.idroot.us<\/code><br><br>For changes to take effect type<br><br>exec bash <br><div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3. Download and Installing CentOS Web Panel.<\/h3>\n\n\n\n<p>After setting hostname, now download script installation Centos Web panel using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-vivid-red-color has-text-color has-link-color wp-elements-9a9252f74d00b092dc3f76a5542801ea\"><code>yum -y install wget &amp;&amp; cd \/usr\/local\/src &amp;&amp; wget http:\/\/centos-webpanel.com\/cwp-el8-latest &amp;&amp; sh cwp-el8-latest<\/code><div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div><\/pre>\n\n\n\n<p>The installation script will take some time to complete, and once it\u2019s done you will be provided with an URL to access the panel and your MySQL root password.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#############################\n#      CWP Installed        #\n#############################\n\ngo to CentOS WebPanel Admin GUI at http:\/\/SERVER_IP:2030\/\n\nhttp:\/\/SERVER_IP:2030\nSSL: https:\/\/SERVER_IP:2031\n---------------------\nUsername: root\nPassword: YOUR_PASSWORD\nMySQL root Password: MYSQL_PASSWORD\n\n#########################################################\n          CentOS Web Panel MailServer Installer          \n#########################################################\nSSL Cert name (hostname): cwp.truehost.cloud\nSSL Cert file location \/etc\/pki\/tls\/ private|certs\n#########################################################\n\nvisit for help: www.centos-webpanel.com\nWrite down login details and press ENTER for server reboot!\nPress ENTER for server reboot!<\/pre>\n\n\n\n<p>If the system does not reboot automatically simply type \u201creboot\u201d to reboot the server:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4. Accessing the CentOS Web Panel.<\/h3>\n\n\n\n<p>CentOS Web Panel will be available on HTTPS port 2031 by default. Open your favorite browser and navigate to <code>https:\/\/your-domain.com:2031<\/code> or <code>https:\/\/server-ip-address:2030<\/code>. <\/p>\n\n\n\n<p>Login to the panel using the system\u2019s root account. You got the password in the previous step.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p> If you are using a firewall, please open port 2030 to enable access to the control panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"434\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png\" alt=\"\" class=\"wp-image-6870\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png 773w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1-300x168.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1-768x431.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1-50x28.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1-600x337.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1-320x180.png 320w\" sizes=\"auto, (max-width: 773px) 100vw, 773px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>PREREQUISITES In this tutorial, we will show you how to install CentOS Web Panel on CentOS 8. Install CentOS Web Panel on CentOS 8 Step 1. First, let\u2019s start by ensuring your system is up-to-date. sudo dnf update Step 2. Setup Hostname. Login in to your server as root and make sure to set the [&hellip;]<\/p>\n","protected":false},"author":10,"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],"doc_tag":[],"class_list":["post-6866","docs","type-docs","status-publish","hentry","doc_category-cwp-panel"],"year_month":"2026-07","word_count":309,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Amicah","author_nicename":"amicah","author_url":"https:\/\/truehost.com\/support\/author\/amicah\/"},"doc_category_info":[{"term_name":"CWP Panel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cwp-panel\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Install CentOS Web Panel on VPS -<\/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:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-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 CentOS Web Panel on VPS -\" \/>\n<meta property=\"og:description\" content=\"PREREQUISITES In this tutorial, we will show you how to install CentOS Web Panel on CentOS 8. Install CentOS Web Panel on CentOS 8 Step 1. First, let\u2019s start by ensuring your system is up-to-date. sudo dnf update Step 2. Setup Hostname. Login in to your server as root and make sure to set the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-21T11:59:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/\",\"name\":\"How To Install CentOS Web Panel on VPS -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/CWPPANELOUTLOOK-1.png\",\"datePublished\":\"2021-10-03T19:22:27+00:00\",\"dateModified\":\"2024-08-21T11:59:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/CWPPANELOUTLOOK-1.png\",\"contentUrl\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/CWPPANELOUTLOOK-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-centos-web-panel-on-centos-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install CentOS Web Panel on VPS\"}]},{\"@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:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/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 CentOS Web Panel on VPS -","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:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/","og_locale":"en_US","og_type":"article","og_title":"How To Install CentOS Web Panel on VPS -","og_description":"PREREQUISITES In this tutorial, we will show you how to install CentOS Web Panel on CentOS 8. Install CentOS Web Panel on CentOS 8 Step 1. First, let\u2019s start by ensuring your system is up-to-date. sudo dnf update Step 2. Setup Hostname. Login in to your server as root and make sure to set the [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/","article_modified_time":"2024-08-21T11:59:19+00:00","og_image":[{"url":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/","name":"How To Install CentOS Web Panel on VPS -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png","datePublished":"2021-10-03T19:22:27+00:00","dateModified":"2024-08-21T11:59:19+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/#primaryimage","url":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png","contentUrl":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2021\/10\/CWPPANELOUTLOOK-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-centos-web-panel-on-centos-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Install CentOS Web Panel on VPS"}]},{"@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:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/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:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=6866"}],"version-history":[{"count":5,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6866\/revisions"}],"predecessor-version":[{"id":13762,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6866\/revisions\/13762"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=6866"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=6866"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=6866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}