Update install.sh and README.md: Remove support for Ubuntu 18.04 and CentOS 8, and adjust OS detection logic. Update supported OS list in README to reflect current compatibility.

This commit is contained in:
Master3395
2025-09-20 19:44:43 +02:00
parent f4e75fc14c
commit 19ebaa2bec
2 changed files with 4 additions and 20 deletions

View File

@@ -82,7 +82,6 @@ CyberPanel runs on x86_64 architecture and supports the following operating syst
- **Ubuntu 24.04.3** - Supported until April 2029 ⭐ **NEW!**
- **Ubuntu 22.04** - Supported until April 2027
- **Ubuntu 20.04** - Supported until April 2025
- **Ubuntu 18.04** - Supported until April 2023
- **Debian 13** - Supported until 2029 ⭐ **NEW!**
- **Debian 12** - Supported until 2027
- **Debian 11** - Supported until 2026
@@ -94,9 +93,7 @@ CyberPanel runs on x86_64 architecture and supports the following operating syst
- **RHEL 9** - Supported until May 2032
- **RHEL 8** - Supported until May 2029
- **CloudLinux 8** - Supported until May 2029
- **CloudLinux 7** - Supported until June 2024
- **CentOS 9** - Supported until May 2027
- **CentOS 8** - Supported until December 2021
- **CentOS 7** - Supported until June 2024
- **CentOS Stream 9** - Supported until May 2027
@@ -147,7 +144,7 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr
### **Bandwidth Reset Issue Fixed** (September 2025)
- **Enhancement**: Implemented automatic monthly bandwidth reset for all websites and child domains
- **Coverage**: All supported operating systems (Ubuntu, AlmaLinux, RockyLinux, RHEL, CloudLinux, CentOS)
- **Coverage**: All supported operating systems (Ubuntu 20.04+, AlmaLinux, RockyLinux, RHEL, CloudLinux 8, CentOS 7/9)
- **Status**: ✅ Automatic monthly reset now functional
### **New Operating System Support Added** (September 2025)

View File

@@ -6,11 +6,6 @@ if echo $OUTPUT | grep -q "CentOS Linux 7" ; then
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
SERVER_OS="CentOS"
elif echo $OUTPUT | grep -q "CentOS Linux 8" ; then
echo -e "\nDetecting Centos 8...\n"
SERVER_OS="CentOS8"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
elif echo $OUTPUT | grep -q "CentOS Stream 9" ; then
echo -e "\nDetecting Centos Stream 9...\n"
SERVER_OS="CentOSStream9"
@@ -31,19 +26,11 @@ elif echo $OUTPUT | grep -q "AlmaLinux 10" ; then
SERVER_OS="CentOS8"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
elif echo $OUTPUT | grep -q "CloudLinux 7" ; then
echo "Checking and installing curl and wget"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
SERVER_OS="CloudLinux"
elif echo $OUTPUT | grep -q "CloudLinux 8" ; then
echo "Checking and installing curl and wget"
yum install curl wget -y 1> /dev/null
yum update curl wget ca-certificates -y 1> /dev/null
SERVER_OS="CloudLinux"
elif echo $OUTPUT | grep -q "Ubuntu 18.04" ; then
apt install -y -qq wget curl
SERVER_OS="Ubuntu"
elif echo $OUTPUT | grep -q "Ubuntu 20.04" ; then
apt install -y -qq wget curl
SERVER_OS="Ubuntu"
@@ -101,13 +88,13 @@ else
echo -e "\nUnable to detect your OS...\n"
echo -e "\nCyberPanel is supported on:\n"
echo -e "Ubuntu: 18.04, 20.04, 22.04, 24.04.3\n"
echo -e "Ubuntu: 20.04, 22.04, 24.04.3\n"
echo -e "Debian: 11, 12, 13\n"
echo -e "AlmaLinux: 8, 9, 10\n"
echo -e "RockyLinux: 8, 9\n"
echo -e "RHEL: 8, 9\n"
echo -e "CentOS: 7, 8, 9, Stream 9\n"
echo -e "CloudLinux: 7.x, 8\n"
echo -e "CentOS: 7, 9, Stream 9\n"
echo -e "CloudLinux: 8\n"
echo -e "openEuler: 20.03, 22.03\n"
exit 1
fi