This guide provides step-by-step instructions to install CyberPanel on AlmaLinux 10, addressing the compatibility issues that prevent successful installation.
- EPEL Repository: Missing EPEL 10 support
- remi-release Version Conflict: Wrong version (9 instead of 10) for AlmaLinux 10
- MariaDB Repository: Using RHEL9 repository instead of RHEL10
- GPG Key Issues: LiteSpeed GPG key import failures
- Boost Libraries: Missing libboost_program_options.so.1.75.0 for galera-4
- Package Dependencies: Missing essential packages for AlmaLinux 10
- AlmaLinux 10 (x86_64 or aarch64)
- Root access
- Internet connection
- At least 2GB RAM (for Free Start license)
-
Download and run the fix script:
curl -sS https://raw.githubusercontent.com/your-repo/cyberpanel-mods/main/core-fixes/almalinux10-cyberpanel-fix.sh | bash -
Install CyberPanel:
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/refs/heads/v2.5.5-dev/install.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/refs/heads/v2.5.5-dev/install.sh)
-
Fix EPEL repository:
dnf remove -y epel-release dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm dnf config-manager --set-enabled epel
-
Fix remi repository:
dnf remove -y remi-release dnf install -y https://rpms.remirepo.net/enterprise/remi-release-10.rpm
-
Fix MariaDB repository:
rm -f /etc/yum.repos.d/MariaDB.repo cat <<EOF >/etc/yum.repos.d/MariaDB.repo [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.11/rhel10-amd64/ module_hotfixes=1 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB enabled=1 gpgcheck=1 EOF
-
Fix boost libraries:
dnf install -y boost-devel boost-program-options # Create symlink for galera-4 compatibility BOOST_VERSION=$(find /usr/lib64 -name "libboost_program_options.so.*" | head -1 | sed 's/.*libboost_program_options\.so\.//') ln -sf /usr/lib64/libboost_program_options.so.$BOOST_VERSION /usr/lib64/libboost_program_options.so.1.75.0
-
Fix LiteSpeed GPG key:
rpm --import https://rpms.litespeedtech.com/centos/RPM-GPG-KEY-litespeed
-
Install missing packages:
dnf install -y wget curl which htop python3 python3-pip dnf-plugins-core dnf config-manager --set-enabled crb dnf clean all dnf makecache
-
Install CyberPanel:
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/refs/heads/v2.5.5-dev/install.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/refs/heads/v2.5.5-dev/install.sh)
After installation, verify that CyberPanel is working:
-
Check services:
systemctl status lscpd systemctl status mariadb
-
Access CyberPanel:
- Open your browser and go to
https://your-server-ip:8090 - Use the credentials provided during installation
- Open your browser and go to
-
GPG Key Import Failed:
rpm --import https://rpms.litespeedtech.com/centos/RPM-GPG-KEY-litespeed
-
MariaDB Installation Failed:
dnf clean all dnf makecache dnf install -y MariaDB-server MariaDB-client
-
Boost Library Missing:
dnf install -y boost-devel boost-program-options
-
EPEL Repository Issues:
dnf remove -y epel-release dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
Check these log files for detailed error information:
/var/log/cyberpanel_debug.log/var/log/mariadb/mariadb.log/usr/local/lscpd/logs/error.log
If you encounter issues:
- Check the troubleshooting section above
- Review the log files
- Ensure all prerequisites are met
- Try the manual fix method if automated script fails
- v1.0: Initial release with AlmaLinux 10 compatibility fixes
- Fixed EPEL repository setup
- Fixed remi-release version conflict
- Fixed MariaDB repository configuration
- Fixed boost library dependencies
- Fixed GPG key import issues
This fix is provided under the same license as CyberPanel.