How to Install cPanel and WHM on Your Linux Server?
cPanel, the most popular control panel in the web hosting world, makes managing a Linux-based virtual server extremely simple. When you rent a VDS with AlmaLinux, Ubuntu, or CentOS operating systems, you can install cPanel to create your own hosting environment.
Prerequisites
A clean operating system (there should be no pre-installed software on AlmaLinux 8/9, Ubuntu 20.04, etc.)
Minimum 2 GB RAM (Recommended 4 GB RAM and above)
An existing cPanel license or a 15-day trial version
SSH access to the server at Root level
Step 1: Update Your System and Set Hostname
Before starting the installation, it is important to update your server and set an FQDN hostname. Connect to your server with SSH:
The cPanel installation is completely automatic. Download cPanel to your server and start the installation by running the following single-line command:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Note: This process can take between 15 to 45 minutes depending on your server's processing power and network capacity. Absolutely do not close the terminal screen.
Step 3: First Login to WHM
When the installation is complete, your WHM access link will appear on the screen (Usually https://your-server-ip:2087). You can go to this address from your browser and log in with your "root" username and password. On the first screen, you can accept the cPanel license agreement and configure your nameserver settings.
For a fast and smooth installation, you can choose our Turkey VDS packages with a high-performance disk structure. cPanel installation on servers you rent through İyibirNet is also performed free of charge by our team!