OpenLiteSpeed is comparatively newer server software as compares to Apache and Nginx, but is gaining momentum due to its less resource usage.
As per a test, Wordpress on OpenLiteSpeed uses 40% less resources as compared to Apache.
Openlitespeed does have a 1 click setup for cloud providers. However today we will see how we can install Wordpress with OpenLiteSpeed on a KVM.
Step 1: Install KVM with latest available Linux OS version (preferably Ubuntu 20.04 or higher)
Step 2: SSH to your server using putty or any similar terminal software.
Step 3: Install CURL by using command
sudo apt install curl
Step 4: Update the system and upgrade if any updates are available by using following commands one after the other
sudo apt update
sudo apt upgrade
Step 5: After the system update is completed run the following 3 commands one after the other
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/wpimgsetup.sh )
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Cloud-init/per-instance.sh )
reboot
Done. You have installed wordpress with OpenLiteSpeed server.
Now point your domain to the ip address of the server and when you ssh your server with root access, you will be asked to enter your domain name and you can also configure lets encrypt free ssl.
*commands in step 5 are taken from GitHub @ https://github.com/litespeedtech/ls-cloud-image/wiki/Build-WordPress-Image
0 Comments