cyberpanel/install
usmannasir 39b74cb9b7 Fix OLS binary compatibility by detecting OS distribution
Add OS detection logic to download correct OpenLiteSpeed binaries based on system type:
- Ubuntu/Debian systems: Download binaries with libcrypt.so.1 (GLIBC 2.35)
- RHEL/AlmaLinux/Rocky 8+/9+: Download binaries with libcrypt.so.2 (GLIBC 2.34)

This fixes the "libcrypt.so.2: cannot open shared object file" error that occurred
when Ubuntu systems tried to use RHEL-compiled binaries.

Changes:
- Added detectBinarySuffix() method to both installCyberPanel.py and upgrade.py
- Updated binary URLs to use https://cyberpanel.net with OS-specific suffix
- Module URL: cyberpanel_ols_x86_64_{ubuntu|rhel}.so
- Binary URL: openlitespeed-phpconfig-x86_64-{ubuntu|rhel}

Binary compatibility matrix:
- Ubuntu 20.04/22.04/24.04, Debian 10+, CentOS 7 → ubuntu binaries
- AlmaLinux 8+/9+, Rocky 8+/9+, RHEL 8+/9+, OpenEuler → rhel binaries
2025-11-07 12:52:15 +05:00
..
dns Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
dns-one Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
email-configs bug fix: postfix conf for ipv6 2025-09-01 00:07:41 +05:00
email-configs-one bug fix: postfix conf for ipv6 2025-09-01 00:07:41 +05:00
gun-configs Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
litespeed Add Almalinux 10 and php 84+85 2025-09-07 22:57:53 +02:00
lscpd Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
mysql Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
php-configs Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
phpconfigs Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
pure-ftpd Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
pure-ftpd-one Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
rainloop Add sieve by default. 2025-09-10 20:01:52 +02:00
CyberPanel8.repo Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
__init__.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
composer.sh Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
composer_cn.sh Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
cyberso.pub Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
dns_cyberpanel.sh Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
env_generator.py bug fix: allowed host issue 2025-09-15 12:07:15 +05:00
filesPermsUtilities.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
filesPermsUtilities.py.bak Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
firewallUtilities.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
install.py bug fix: python 3.6 compatibility 2025-10-10 17:26:50 +05:00
install.py.bak Fix mirror gettoforge 2025-09-12 09:42:52 +02:00
install.xml Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
installCyberPanel.py Fix OLS binary compatibility by detecting OS distribution 2025-11-07 12:52:15 +05:00
installLog.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
install_utils.py Add Almalinux 10 and php 84+85 2025-09-07 22:57:53 +02:00
lscp.tar.gz Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
mysqlUtilities.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
postfix-files Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
randomPassword.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
setup_env.py bug fix: allowed host issue 2025-09-15 12:07:15 +05:00
test.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
unInstall.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
venvsetup.sh Fix AlmaLinux 8 installation: Add python-dotenv to requirements (v2.4.4) 2025-10-10 01:00:22 +05:00
venvsetup.sh.bak Fix ALL documentation links. 2025-09-08 11:50:35 +02:00