Please Support Debian 10

my vps using debian 10. I cant install CP. how to fix it?

Cyberpanel so far not support Debian 10. please fix it

Debian 10 is brand new and doesn’t yet have to ported packages for many functionalities needed for CyberPanel to operate

@muttahir We now hit Mar 2021… If using buster-backports tree (with optionally some packages from testing tree).

What does your current testing imply in regards to Debian 10/Buster support for the CyberPanel self-hosted edition?

edit cyberpanel.sh
add Debian from grep

elif grep -q -E “Ubuntu 18.04|Debian|Ubuntu 20.04|Ubuntu 20.10” /etc/os-release ; then

save and run with ./cyberpanel.sh $@

Hi Everyone
What the Awful support is for cyberpanel …

I used this command to installation on ubuntu 20.04 tls :
sudo su -c “sh <(curl https://cyberpanel.sh || wget -O - https://cyberpanel.sh)”

But it gives me this error :

If you don’t have direct access to root user, please run sudo su - command (do NOT miss the - at end or it will fail) and then run installation command again.

I asked about the error but did not received any help

Would some one please help me to install this panel or I have to left and try other solution?

Thanks

I tried this, and it’s a bit more complicated but here goes…

Note, there are some features that aren’t going to work, and I haven’t tested extensively all the features but I was able to create one click wordpress installs (the main thing I needed). Also, phpmyadmin won’t work either, but there is a work around.

First download the cyberpanel.sh file:

curl --silent -o cyberpanel.sh "https://cyberpanel.sh/?dl&Ubuntu" 2>/dev/null

edit the file:

nano cyberpanel.sh

now you can add Debian to this line so it looks like:

elif grep -q -E “Ubuntu 18.04|Debian|Ubuntu 20.04|Ubuntu 20.10” /etc/os-release

Make it executable:

chmod +x cyberpanel.sh

Don’t run it just yet as you are going to run into problems. 1st one is that it is going to give an error saying something like “Unable to locate package libmariadbclient-dev”. To fix this, you need to install it from the MariaDB depository. Follow the accepted answer there to get the package:

Later in the install you will get another error saying something like “can’t find linux release cent-os”. This is because the install.py file says that if there is no ‘lsb-release’ file, then use ‘os-release’ but that sets the distro as centos. So you will need to create a ‘lsb-release’ file to get it to think it is an ubuntu install.

touch /etc/lsb-release
nano /etc/lsb-release

then paste into lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

(or if you have the details for a newer release, use that)

Save then close.

Now try running the script with:

./cyberpanel.sh $@

This should get you through the install, however phpmyadmin won’t work with SSO (or at all really). To fix it:

Download and install the latest version somewhere in the litespeed folder, for example:

cd /usr/local/lsws/Example/html
wget https://files.phpmyadmin.net/phpMyAdmin/5.1.2/phpMyAdmin-5.1.2-all-languages.tar.gz
tar xvzf phpMyAdmin-5.1.2-all-languages.tar.gz phpmyadmin

Then change owner and permissions:

chown -R lsadm:lsadm * 
chmod -R 0755 *

Then you will need to create a symbolic link from a website you created. So if have created a website testwebsite .com, then the link might look like:

cd /home/testwebsite.com/public_html
ln -s /usr/local/lsws/Example/html/phpmyadmin phpmyadmin

Also note that you need “open_basedir” disabled for this to work.

In any case, it’s all quite hacky and I def. do not recommend this for any production work. I also had CSF preinstalled, so I didn’t try the install feature nor the modsecurity. However, it does get it going and if you really want to try it on a Debian system, it will work.

And for sure BACKUP everything before doing anything because it will very likely mess up something and you won’t know it until later.