OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise. It is easy to use and user-friendly than the current most popular web server software such as Apache and Nginx because they have a user-friendly web panel to config your OpenLiteSpeed webserver. In addition, OpenLiteSpeed server runs server-side caching, which speeds up your web server by caching the content on the server-side and reduces the load to your server. OpenLiteSpeed also understands Apache rewrite rules, making it very easy for websites running on Apache to do the switch and gain a significant performance upgrade. Many popular shared hosting sites are currently adopting LiteSpeed technology on their web hosting plan due to the performance upgrades and compatibility, resulting in more than 5 million websites presently using OpenLiteSpeed.
Instruction
Check your email for your VM details. Your VM details are sent to your email inbox.
Check your junk/ spam mail just in case.
Did not receive it?
Contact us.
Installation
With Evoxt's One-Click Installation, your OpenLiteSpeed server is already configured, and you can start using it right away.
The root directory of your OpenLiteSpeed server will be at
/var/www/html
While the config folder will be located at
/usr/local/lsws/
What is installed
With Evoxt’s OpenLiteSpeed stack using OpenLiteSpeed One-Click Installation.
- CentOS 8 will be used as the Operating System.
- OpenLiteSpeed server will be installed.
- MySQL 8 is installed.
- PHP 7.4 is installed.
- phpMyAdmin is also installed to ease database management.
phpMyAdmin
You can access phpMyAdmin by going to /phpmyadmin
YOUR_VM_IP/phpmyadmin
The login username will be
root
The password will be your default root database password
Use this command to get your default root database password,
cat /var/log/mysqld.log
[root@TEST ~]# cat /var/log/mysqld.log
ZmM1MGU5ZWFmNzJlMmNkYm
[root@TEST ~]#
If you do not want phpMyAdmin to be installed and wish to remove it, simply run this command to remove phpMyAdmin through SSH
rm -rf /var/www/html/phpmyadmin
Configuring OpenLiteSpeed
To configure your OpenLiteSpeed server, you can visit Your_VM_IP:7080 on the browser.
192.168.0.1:7080
To get your login id and password, login to
your vps through SSH and key in this line of code:
cat /usr/local/lsws/adminpasswd
[root@OLS www]# cat /usr/local/lsws/adminpasswd
WebAdmin user/password is admin/MTFmZDEx
[root@OLS www]#
or you can reset the password by using this command:
/usr/local/lsws/admin/misc/admpass.sh
[root@OLS www]# /usr/local/lsws/admin/misc/admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]: admin
Please specify the administrator's password.
This is the password required to login the administration Web interface.
Password:
Retype password:
Administrator's username/password is updated successfully!
[root@OLS www]#
Alternatively, all the configuration files are stored here
/usr/local/lsws/
you can do the configuration through CLI as well.
Restarting OpenLiteSpeed server
You can restart your OpenLiteSpeed server by accessing your OpenLiteSpeed panel and click graceful restart on the top right
or you can use these 2 command to restart and reload your OpenLiteSpeed server configuration
/usr/local/lsws/bin/lswsctrl restart
/usr/local/lsws/bin/lswsctrl reload
Get started with your website development right away without worrying about installing any prerequisites with Evoxt's OpenLiteSpeed One-Click Installation
Deploy