Today, renting a virtual server has become one of the most popular methods in web hosting solutions. However, managing and configuring virtual servers can bring some technical issues. In this article, we will examine the installation process of cPanel on AlmaLinux step by step and present solutions to potential problems.
1. Problem Identification
One of the most common problems when installing cPanel on AlmaLinux is a system configuration that does not meet cPanel's requirements. This issue is typically caused by missing or incorrect package installations.
Required System Requirements
Minimum 1 GB RAM (Recommended 2 GB or more)
At least 20 GB of free disk space
One IP address
2. Server Preparation
Connect to your server via SSH and perform necessary updates:
ssh root@
dnf update -y
3. Installing Required Packages
We need to install the necessary packages for cPanel to function properly on AlmaLinux:
dnf install perl -y
dnf install wget -y
4. cPanel Installation
To install cPanel, execute the following commands in order:
After the installation is complete, take note of your cPanel access credentials.
5. Activating cPanel License
After the cPanel installation, you need to activate your license:
cd /usr/local/cpanel
./cpsetup
6. Internet Access
To access the cPanel interface, type the following address in your browser:
https://:2087
Use the username and password you noted earlier to log in.
7. Troubleshooting
Common errors you may encounter during installation and their solutions:
Error: cPanel Connection Error
This error is usually caused by firewall settings. Open the necessary ports with the following command:
firewall-cmd --permanent --add-port=2087/tcp
firewall-cmd --reload
Error: Insufficient Disk Space
If your disk space is insufficient, you can clean up unnecessary files using the following command:
dnf autoremove
Conclusion
By following these steps, you can successfully complete the installation of cPanel on AlmaLinux and smoothly finalize your virtual server rental process. Remember, always using updated systems and taking security precautions is of great importance for cybersecurity.