First, clone the https://github.com/hyouteki/vod-stream-qoe repository in your project directory (assuming the project directory is your home).
Choose either of the following ways:
Follow the below mentioned article for installation from source.
https://docs.openlitespeed.org/installation/source/
Before starting the installation make sure to apply the patches by running this script once you have extracted the OpenLiteSpeed repository.
cp vod-stream-qoe/ols/* openlitespeed cd openlitespeed chmod +x apply_patches.sh ./apply_patches.sh
If somehow this did not work apply the patch manually using the patch command
patch <path-to-file-getting-patched> <patch-file>
.
Patch file Corresponding file lsquic_cubic.patch
./lsquic/src/liblsquic/lsquic_cubic.c
lsqpack.patch
./lsquic/src/liblsquic/ls-qpack/lsqpack.c
Follow the below mentioned article for installation from repository.
https://docs.openlitespeed.org/installation/repo/
Follow this guide to get a free Let’s Encrypt SSL certificate.
Generate admin credentials via sudo /usr/local/lsws/admin/misc/admpass.sh
.
Access the admin console via http://localhost:7080/login.php
.
Follow this guide to setup SSL at listener and virtual host level. This is crucial for HTTP3.
https://docs.openlitespeed.org/security/ssl/
Make sure to add our certificate and private key file paths in SSL configuration.