1. Installation

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:

1.1. Installation from source

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

1.2. Installation from repo

Follow the below mentioned article for installation from repository.

https://docs.openlitespeed.org/installation/repo/

2. Certificate

Follow this guide to get a free Let’s Encrypt SSL certificate.

https://medium.com/@bmcrathnayaka/manually-generating-free-ssl-certificates-with-lets-encrypt-certbot-02d9240b85a3

3. HTTPS Setup

  1. Generate admin credentials via sudo /usr/local/lsws/admin/misc/admpass.sh.

  2. Access the admin console via http://localhost:7080/login.php.

  3. 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.