Installing WHM/cPanel on AlmaLinux: A Step-by-Step SSH Guide
Introduction
AlmaLinux is a reliable and robust operating system that has gained popularity after the discontinuation of CentOS. WHM/cPanel is considered the industry standard for web hosting. This guide will provide you with step-by-step instructions on how to install WHM/cPanel on AlmaLinux via SSH.
Prerequisites
- A server with AlmaLinux installed.
- Root access to the server.
- At least 1GB of RAM (2GB or more recommended).
- At least 20GB of free disk space.
1. Update the System
- SSH Connection: Connect to your server via SSH.
ssh root@yourserveraddress
- Update the System:
2. Configure Network Settings
- Static IP: A static IP address is recommended for WHM/cPanel.
- Set the Hostname:
hostnamectl set-hostname yourhostname.example.com
3. Install Prerequisites
4. Download WHM/cPanel Installer
- cPanel Installer:
curl -o latest -L https://securedownloads.cpanel.net/latest
5. Start the Installation
- Run the Installation Script:
- Note: This process can take an hour or more, depending on your connection speed and server resources.
6. Access WHM/cPanel
- Once the installation is complete, you can access WHM/cPanel at:
- You will need to accept the license agreement and complete the initial setup upon first login.
7. Security Settings
- Change Root Password:
- Configure cPHulk Brute Force Protection: Enhance security by configuring cPHulk in WHM.
8. Optional Configurations
- Configure Firewall: Increase security by installing a firewall like CSF.
- PHP and Apache Configurations: Customize PHP and Apache configurations using WHM's 'EasyApache' feature.
9. Troubleshooting and Support
- Log Files: Check log files in
/var/log
for potential errors.
- Official Documentation: Utilize cPanel's extensive documentation for guidance.
- Support Forums: Community support forums can help resolve issues you encounter.
Conclusion
WHM/cPanel offers a powerful web hosting solution on your AlmaLinux-powered servers. This guide outlines the step-by-step installation process, but always remember to make additional configurations as per your specific needs and environment. Keeping up with updates, implementing security measures, and taking regular backups are critical for a smooth hosting experience.
Thank you for your feedback.
Sorry about that :( We'll work to make it better.
You voted before.
(1645 times viewed / 57 people found it helpful)