Its very easy... People open eyes...
1.) Firstly, try install OLS from appstore. Failed, okay, he downloaded the install script.
2.) Now edit this install script file: /www/server/panel/install/openlitespeed.sh
3.) Change this lines:
cat /etc/debian_version | grep "10." >/dev/null
if [ $? = 0 ] ; then
OSNAMEVER=DEBIAN10
OSNAME=debian
OSVER=buster
MARIADBCPUARCH="arch=amd64,i386"
to:
cat /etc/debian_version | grep "^11." >/dev/null
if [ $? = 0 ] ; then
OSNAMEVER=DEBIAN11
OSNAME=debian
OSVER=bullseye
MARIADBCPUARCH="arch=amd64,i386"
Its around line 100 and more.
4.) At final, from Terminal or SSH run this command:
/www/server/panel/install/openlitespeed.sh
or
bash /www/server/panel/install/openlitespeed.sh
After it, OLS is in Debian 11 or Debian 12, you can make this with Ubuntu 22 too.