CloudPanel is a modern and easy-to-use control panel for managing your server. It’s lightweight, open-source, and designed for performance, making it a great option for web hosting. If you’re running an Ubuntu or Debian-based VPS and want to use CloudPanel to manage your web applications, this guide will walk you through the installation process.
Before you start, ensure you have the following:
A fresh VPS running Ubuntu 20.04/22.04 or Debian 10/11.
Root access or a user with sudo privileges.
A basic understanding of working with the Linux terminal.
Before installing any software, it’s important to update your system to ensure all packages are up to date.
CloudPanel requires a few dependencies to be installed. These include curl
, wget
, and sudo
. Install them by running:
CloudPanel provides an official installation script, but first, we need to ensure that the repository and its GPG key are set up.
This command will download and execute the installer script directly from CloudPanel’s servers.
After running the command above, the installation script will start. It will automatically install CloudPanel and all required components (including Nginx, MySQL, PHP, and Redis).
The script will ask you a few configuration questions during the installation:
Server Type: Choose the appropriate option based on your server.
Database: The script will set up MariaDB by default. You can choose a different database if you prefer.
Once the installation process is complete, the script will give you a summary of the server details, including:
Your CloudPanel login URL (e.g., https://your-ip-address:8443)
Your admin username and password.
Once the installation finishes, you can log in to CloudPanel by navigating to the IP address of your VPS followed by the port 8443
(e.g., https://your-vps-ip:8443
).
You will be prompted to enter the admin credentials that were generated during the installation. Once logged in, you can start managing your server, creating websites, and configuring databases.
If you’re running a firewall (like ufw
), you’ll need to allow traffic on port 8443 for CloudPanel access.
Additionally, open ports for HTTP (80) and HTTPS (443) if you plan to serve websites:
For better security, it’s highly recommended to install an SSL certificate for the CloudPanel login page. You can use Let’s Encrypt to obtain a free SSL certificate.
Log into CloudPanel.
Go to Settings and navigate to the SSL section.
Follow the prompts to install a free SSL certificate via Let’s Encrypt.
Now that CloudPanel is installed and running, you can use it to:
Create and manage websites.
Manage DNS settings.
Set up databases.
Configure email and FTP accounts.
CloudPanel’s user-friendly interface allows you to manage multiple servers easily, giving you full control of your VPS and hosted applications.
CloudPanel is a great choice for managing your VPS server with ease. By following these simple steps, you can install CloudPanel on your Ubuntu or Debian VPS and start using its powerful features to manage websites, databases, and more. Enjoy the simplicity and power of CloudPanel for your hosting needs!
Let me know if you need any further assistance!