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.