---
title: How To Install CentOS Web Panel on VPS
description: "## PRE**REQUISITES** - Basic knowledge of Linux, - Know how to use the shell - Know how to host your site on your own VPS In this tutorial, we will show you how to install CentOS Web Panel on CentOS…"
url: "https://truehost.com/support/knowledge-base/how-to-install-centos-web-panel-on-centos-8/"
updated: "2024-08-21"
category: CWP Panel
---

# How To Install CentOS Web Panel on VPS

## PRE**REQUISITES**

- Basic knowledge of Linux,

- Know how to use the shell

- Know how to host your site on your own VPS

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’s 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 correct hostname:

```
hostnamectl set-hostname cwp.idroot.usFor changes to take effect typeexec bash
```

### Step 3. Download and Installing CentOS Web Panel.

After setting hostname, now download script installation Centos Web panel using the following command:

```
yum -y install wget && cd /usr/local/src && wget http://centos-webpanel.com/cwp-el8-latest && sh cwp-el8-latest
```

The installation script will take some time to complete, and once it’s done you will be provided with an URL to access the panel and your MySQL root password.

```
#############################
#      CWP Installed        #
#############################

go to CentOS WebPanel Admin GUI at http://SERVER_IP:2030/

http://SERVER_IP:2030
SSL: https://SERVER_IP:2031
---------------------
Username: root
Password: YOUR_PASSWORD
MySQL root Password: MYSQL_PASSWORD

#########################################################
          CentOS Web Panel MailServer Installer
#########################################################
SSL Cert name (hostname): cwp.truehost.cloud
SSL Cert file location /etc/pki/tls/ private|certs
#########################################################

visit for help: www.centos-webpanel.com
Write down login details and press ENTER for server reboot!
Press ENTER for server reboot!
```

If the system does not reboot automatically simply type “reboot” to reboot the server:

### Step 4. Accessing the CentOS Web Panel.

CentOS Web Panel will be available on HTTPS port 2031 by default. Open your favorite browser and navigate to `https://your-domain.com:2031` or `https://server-ip-address:2030`.

Login to the panel using the system’s root account. You got the password in the previous step.

If you are using a firewall, please open port 2030 to enable access to the control panel.

![](https://truehost.co.ke/support/wp-content/uploads/2021/10/CWPPANELOUTLOOK-1.png)
