Last active
January 25, 2021 15:36
-
-
Save afahitech/d60d15da089bf5e968f9eed6e7fdd4d8 to your computer and use it in GitHub Desktop.
OpenLiteSpeed Install Ubuntu 20.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you need OpenLiteSpeed installation help, contact with me: | |
Skype: aataur1 | |
Telegram: @AutoDevOps | |
WhatsApp: +8801751643484 | |
Email: afahitech@gmail.com | |
=============================================== | |
sudo apt update | |
sudo apt upgrade | |
sudo ufw allow OpenSSH | |
sudo ufw allow http | |
sudo ufw allow https | |
sudo ufw status | |
sudo ufw enable | |
wget -qO - https://rpms.litespeedtech.com/debian/lst_repo.gpg | sudo apt-key add - | |
echo "deb http://rpms.litespeedtech.com/debian/ focalmain" | sudo tee /etc/apt/sources.list-d/openlitespeed.list | |
sudo apt update | |
sudo apt install openlitespeed | |
sudo /usr/local/lsws/bin/lswsctrl status | |
sudo apt install lsphp7.4 lsphp7.4-common lsphp7.4-mysql lsphp7.4-curl | |
/usr/local/lsws/lsphp74/bin/php7.4 -v | |
sudo apt install mariadb-server | |
sudo systemctl start mariadb | |
sudo systemctl enable mariadb | |
sudo mysql_secure_installation | |
sudo mysql -u root -p | |
CREATE DATABASE testdb; | |
CREATE USER 'testuser' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON testdb.* TO 'testuser'; | |
FLUSH PRIVILEGES; | |
exit | |
http://<YOURSERVERIP>:7080. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment