Install the LiteSpeed Repository
sudo wget -O – https://repo.litespeed.sh | sudo bash
Install OpenLiteSpeed
Debian/Ubuntu
CentOS
sudo apt-get -y install openlitespeed
Install LSPHP¶
This command will install lsphp81 and lsphp81-mysql into /usr/local/lsws/lsphp81/bin/lsphp:
Debian/Ubuntu
CentOS
sudo apt-get install lsphp81 lsphp81-common lsphp81-mysql
To get a list of the LSPHP packages and extensions available, you can run the following:
Debian/Ubuntu
CentOS
sudo apt-cache search lsphp
Access the WebAdmin Console¶
The randomly generated WebAdmin password is stored in the /usr/local/lsws/adminpasswd file.
Run the following command to set the WebAdmin password if needed:
sudo /usr/local/lsws/admin/misc/admpass.sh
To access the WebAdmin console, visit port 7080 of your domain (for example, https://example.com:7080/) and log in using the password you just set.