How to install CloudPanel on a VPS or a Dedicated Server

Ver como Markdown

Find out how to install the CloudPanel administration interface 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.

Información sobre la administración de los servicios de OVHcloud y cómo encontrar la asistencia adecuada

Al utilizar las guías de OVHcloud, tenga en cuenta las siguientes condiciones:

  • Las instrucciones pretenden ofrecer el mayor detalle posible, pero no pueden cubrir todos los casos de uso individuales. Es posible que deba adaptar las acciones descritas a sus necesidades.
  • El ecosistema de OVHcloud está diseñado para ofrecer flexibilidad y libertad de elección. Por lo tanto, los clientes son responsables de la configuración correcta y segura de sus servicios. Para evitar la pérdida de datos, recomendamos encarecidamente aplicar estrategias de copia de seguridad a todos sus datos importantes.
  • Nuestras guías y tutoriales pueden hacer referencia a software o servicios de terceros en combinación con las soluciones de OVHcloud. El soporte técnico de OVHcloud no incluye la configuración de sistemas o productos fuera de nuestra responsabilidad. Esto incluye, entre otros:
    • Sistemas operativos e interfaces de usuario (Windows, Debian, Plesk, etc.).
    • Cualquier otro software de terceros (clientes FTP, software de correo electrónico, etc.).
    • Servicios ofrecidos por otros proveedores (DNS, API, interfaces de usuario, etc.).

Para recibir la asistencia adecuada ante cualquier problema, siga estas recomendaciones:

  • ¿Busca asesoramiento personalizado o desea tratar un tema que no se aborda en detalle en nuestra documentación?
    Únase a la comunidad de OVHcloud para buscar su tema y contactar con otros usuarios.
  • ¿Necesita informar de un incidente relacionado con su servicio de OVHcloud o tiene dificultades en el área de cliente de OVHcloud?
    Cree una solicitud de soporte en nuestro centro de ayuda.
  • ¿Necesita asistencia profesional para su proyecto o ayuda con tareas fuera de nuestro ámbito de soporte?
    Visite nuestro portal de partners para encontrar expertos familiarizados con las soluciones de OVHcloud.
  • ¿Busca información más detallada sobre nuestros niveles de soporte y Professional Services?
    Visite nuestras páginas web sobre los niveles de soporte de OVHcloud y los OVHcloud Professional Services.

Puede participar en la mejora de nuestra documentación:

  • ¿Desea enviar comentarios para mejorar una guía o informar de información insuficiente en una página concreta?
    Utilice los botones «¿Le ha resultado útil esta página?» al final de la página para hacérnoslo saber.
  • ¿Desea proponer una actualización concreta de la documentación?
    Utilice la función «Editar esta página», disponible al final de la página y en la barra lateral.

Requirements

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:

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
AlmaLinux 9 and Rocky Linux 8
sudo apt update && sudo apt -y upgrade

Step 2 — Open required ports (firewall)

To allow incoming and outgoing connections, refer to the Port Firewall section of the official CloudPanel documentation to find out which ports to open based on your needs.

Example of port opening for Debian and Ubuntu

1. Install UFW:

sudo apt -y install ufw

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

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):

sudo ufw enable
sudo ufw status

Example of port opening for AlmaLinux 9 and Rocky Linux 8

1. Install firewalld:

sudo dnf -y install firewalld

2. Enable and start the service:

sudo systemctl enable --now firewalld

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

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:

sudo firewall-cmd --reload
sudo firewall-cmd --list-all

Step 3 — Install CloudPanel

1. Install wget:

Debian and Ubuntu
AlmaLinux 9 and Rocky Linux 8
sudo apt -y install wget
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:
sudo DB_ENGINE=MYSQL_8.4 bash install.sh
  • Example with MariaDB 11.4:
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

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

How to secure a Dedicated Server

For specialized services (SEO, development, etc.), contact OVHcloud partners

Join our community of users.

¿Le ha resultado útil esta página?