---
title: "How to install CloudPanel on a VPS or a Dedicated Server"
url: https://docs.ovhcloud.com/de/guides/bare-metal-cloud/virtual-private-servers/install-cloudpanel
lang: de
lastUpdated: 2025-12-03
---
# How to install CloudPanel on a VPS or a Dedicated Server

## Objective

CloudPanel is a modern, lightweight, and high-performance hosting control panel, offering a web interface to deploy and manage:

- websites using PHP or Node.js;
- databases;
- SSL/TLS certificates (Let's Encrypt);
- users;
- a firewall.

This guide explains how to install CloudPanel on a VPS or a Dedicated Server and how to connect to it to perform the initial configuration.

:::warning
OVHcloud provides services for which you are responsible for the configuration, management, and operation. It is therefore your responsibility to ensure their proper functioning.

We provide this tutorial to assist you with common tasks. However, we recommend that you contact a [specialist service provider](https://partner.ovhcloud.com/de/directory/) and/or the service publisher if you encounter difficulties. Indeed, we will not be able to provide you with support. More information is available in the "[Go further](#go-further)" section of this tutorial.
:::

## Requirements

- A [VPS](https://www.ovhcloud.com/de/vps/) or a [Dedicated Server](https://www.ovhcloud.com/de/bare-metal/) with a [recommended configuration](https://www.cloudpanel.io/docs/v2/requirements/) in your <ManagerLink to="/">OVHcloud Control Panel</ManagerLink>.
- An administrative access (sudo) via SSH to your server.

## Instructions

### Step 1 — Connect and update the system

#### Connect to the server

Open a terminal and connect to your VPS (or Dedicated Server) using the following command:

```sh
ssh user@IP_VPS
```

Replace:

- `user` with your username.
- `IP_VPS` with your VPS's IP address.

#### Update the system

Update your operating system. This operation may take several minutes.


**Debian and Ubuntu**

```sh
sudo apt update && sudo apt -y upgrade
```


**AlmaLinux 9 and Rocky Linux 8**

```sh
sudo dnf -y update
```


### Step 2 — Open required ports (firewall)

To allow incoming and outgoing connections, refer to the **Port Firewall** section of the [official CloudPanel documentation](https://www.cloudpanel.io/docs/v2/guides/best-practices/security) to find out which ports to open based on your needs.

#### Example of port opening for Debian and Ubuntu

1\. Install `UFW`:

```sh
sudo apt -y install ufw
```

2\. Open the necessary ports (examples: SSH, CloudPanel panel, HTTP/HTTPS):

```sh
sudo ufw allow 22/tcp
sudo ufw allow 8443/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
```

3\. Enable `UFW` and check its status (the value "ALLOW" is expected):

```sh
sudo ufw enable
sudo ufw status
```

#### Example of port opening for AlmaLinux 9 and Rocky Linux 8

1\. Install `firewalld`:

```sh
sudo dnf -y install firewalld
```

2\. Enable and start the service:

```sh
sudo systemctl enable --now firewalld
```

3\. Open the necessary ports (examples: SSH, CloudPanel panel, HTTP/HTTPS):

```sh
sudo firewall-cmd --add-service=ssh --permanent
sudo firewall-cmd --add-service=http --permanent
sudo firewall-cmd --add-service=https --permanent
sudo firewall-cmd --add-port=8443/tcp --permanent
```

4\. Apply the configuration:

```sh
sudo firewall-cmd --reload
sudo firewall-cmd --list-all
```

### Step 3 — Install CloudPanel

1\. Install `wget`:


**Debian and Ubuntu**

```sh
sudo apt -y install wget
```


**AlmaLinux 9 and Rocky Linux 8**

```sh
sudo dnf -y install wget
```


```sh
wget https://installer.cloudpanel.io/ce/v2/install.sh -O install.sh
```

3\. Run the installer with the desired database engine:

Run the script specifying the database you want to install (MySQL or MariaDB).

- Example with MySQL 8.4:

```sh
sudo DB_ENGINE=MYSQL_8.4 bash install.sh
```

- Example with MariaDB 11.4:

```sh
sudo DB_ENGINE=MARIADB_11.4 bash install.sh
```

The installation may take several minutes, as the script automatically installs the necessary dependencies.

### Step 4 — First connection

Once the installation is complete, enter the URL `https://<IP_VPS>:8443` in your browser, replacing `<IP_VPS>` with your VPS's IP address.

:::info
On the first access, a self-signed certificate is used. Accept the browser warning to continue.
:::

The following interface appears:

![cloudpanel install](/images/guides/bare-metal-cloud/virtual-private-servers/install-cloudpanel/cloudpanel-setup-interface.png)

On the first launch, CloudPanel asks you to create the administrator account by providing a username, an email address, and a password. After completing this step, enter the username and password you just set to log in. You then arrive at the CloudPanel administration interface.

## Go further [](#)
[How to secure a VPS](/de/guides/bare-metal-cloud/virtual-private-servers/secure-your-vps.md)

[How to secure a Dedicated Server](/de/guides/bare-metal-cloud/dedicated-servers/securing-a-dedicated-server.md)

For specialized services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/de/directory/)

Join our [community of users](https://community.ovhcloud.com/).
