In this tutorial, we'll explain how to install CyberPanel on AlmaLinux 9 server.
CyberPanel is a modern, open-source web hosting control panel that offers a user-friendly interface and seamless integration with OpenLiteSpeed and LiteSpeed Enterprise. It simplifies server management, website hosting, and email handling, making it an excellent choice for developers, businesses, and hosting providers. This guide walks you through the step-by-step process of installing CyberPanel on an AlmaLinux 9 server.
Prerequisites
Before starting, ensure the following:
- A Fresh AlmaLinux 9 KVM VPS or dedicated server
- Root or Sudo Privileges: The installation process requires administrative privileges.
- Domain Name with A DNS recording point to the server.
Install CyberPanel on AlmaLinux 9
Step 1: Update the Server
Start by updating your system packages to ensure the latest versions are installed:
sudo dnf update
After updating, reboot the server to apply any kernel updates:
sudo reboot
Step 2: Install Required Packages
Install essential packages that CyberPanel requires:
sudo dnf install wget curl -y
Step 3: Download the CyberPanel Installer
Download the CyberPanel installation script using the following command:
wget -O installer.sh https://cyberpanel.net/install.sh
The wget command fetches the script and saves it locally as installer.sh.
Step 4: Run the Installer
Grant execute permissions to the installer script:
chmod +x installer.sh
Run the script to start the installation:
sudo ./installer.sh
Step 5: Follow the Installation Prompts
The installer will prompt you to select installation options. Below are detailed explanations of each choice:
Choose the Web Server:
- OpenLiteSpeed (Free and open-source): Type 1.
- LiteSpeed Enterprise (Paid): Type 2.
- For most use cases, OpenLiteSpeed is sufficient.
- Install Full CyberPanel or Minimal Version:
- Full installation includes additional features like email server and DNS server.
- Minimal installation is a lightweight version.
- Type 1 for the full version unless you have specific requirements.
Install Memcached and Redis:
hese caching tools enhance performance. Type Y to install them.
Install Watchdog:
This tool monitors services and restarts them if they crash. Type Y to enable it.
The installer will download and configure the necessary components. This process can take 10-20 minutes depending on your server’s speed.
Once the installation gets completed, the similar output will display:
###################################################################
CyberPanel Successfully Installed
Current Disk usage : 13/52GB (26%)
Current RAM usage : 435/1958MB (22.22%)
Installation time : 0 hrs 17 min 0 sec
Visit: https://<server_id>:8090
Panel username: admin
Panel password: MeqMJLKfFpjNGSwq
Run cyberpanel help to get FAQ info
Run cyberpanel upgrade to upgrade it to latest version.
Run cyberpanel utility to access some handy tools .
Website : https://www.cyberpanel.net
Forums : https://forums.cyberpanel.net
Wikipage: https://docs.cyberpanel.net
Docs : https://cyberpanel.net/docs/
Enjoy your accelerated Internet by
CyberPanel & OpenLiteSpeed
###################################################################
Step 6: Access CyberPanel
Once the installation is complete, note the following details displayed by the installer:
- Admin URL: Typically
https://<hostname>:8090
- Admin Username: Usually
admin
- Admin Password: Set during installation or generated by the installer.
Open your browser and navigate to the CyberPanel admin URL. You might see a security warning because CyberPanel uses a self-signed SSL certificate. You can safely ignore this warning and proceed to the site.
Step 7: Test Your Installation
1. Create a Website:
Use the CyberPanel dashboard to create and host a test website.
2. Test Email Functionality:
Configure and test the email server (if installed).
3. Verify SSL Certificates:
Use the Let’s Encrypt feature in CyberPanel to secure your websites.
Conclusion
In this tutorial, we've explained how to install CyberPanel on AlmaLinux 9 server. With its intuitive interface and powerful features, you can now manage your server, websites, and emails efficiently. For advanced configurations and troubleshooting, refer to the official CyberPanel documentation.