Add support for ALMALINUX 8

recently i install cyberpanel 2.1 in almalinux 8.4 which resemble as Centos 8, so i edit the install as:

#!/bin/sh

OUTPUT=$(cat /etc/*release)
if echo $OUTPUT | grep -q “CentOS Linux 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=“CentOS”
elif echo $OUTPUT | grep -q “AlmaLinux release 8.4” ; then
echo -e "
Detecting Centos 8…
"
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 “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”
else

            echo -e "\

Unable to detect your OS…
"
echo -e "
CyberPanel is supported on Ubuntu 18.04, CentOS 7.x a nd CloudLinux 7.x…
"
exit 1
fi

rm -f cyberpanel.sh
rm -f install.tar.gz
curl --silent -o cyberpanel.sh “https://cyberpanel.sh/?dl&$SERVER_OS” 2>/dev/nul l
chmod +x cyberpanel.sh
./cyberpanel.sh

and then Run it with bash install.sh
it’s compatible and got no error

Type your comment> @starbursthost said:

I tried to install CyberPanel on AlmaLinux 8.4 yesterday, and it said it was an unsupported OS. :confused:

I’ll look at install.sh.

But CyberPanel looks awesome so far when I tested it under CentOS 8.4.

AlmaLinux is from CloudLinux, so it should be stable as they have the experience of building it from RHEL.
So should Rocky Linux, since they have the original creator of CentOS.

Kinda a toss up of which OS to use.
Glad you guys will support both.

Try with the latest dev version using SSH.

bash <(curl https://cyberpanel.sh/new_upgrade.sh) -b 2.1.2-dev

Ok, as an update, it looks like ALMA is in the current install script. Thank you @usmannasir1 (or @usmannasir )?

Yes already added the support.

1 Like