To install cyberpanel in CentOS 7, follow these steps:
I needed to get it to run some tests with elevate on a virtual machine.
Login via SSH as a root user and run the following commands
cd /root
wget -O cyberpanel.sh https://www.dropbox.com/scl/fi/xj8uek95j92o0amc720nd/centos7_cyberpanel.sh?rlkey=htdejdfo7nw63t80fudyfb9xe&dl=0
chmod +x ./cyberpanel.sh
#added since CentOS 7 repo is moved to archive
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo https://www.dropbox.com/scl/fi/zmw1m73m8z2jlw97tap7e/CentOS-7-Base.repo?rlkey=qwqi2aan4efsqiauletzx6dkj&dl=0
#Fix mariadb repo (Only required if having issues with installing mariadb)
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
yum clean all
#finally run installation script
./cyberpanel.sh
Tested with 2.3.5