zstd-nginx-module-plus
Prerequisites
The use must have the root permission.
The machine needs to be able to access the following domains to download packages and GPG keys:
You can check the accessibility of the domains by running the following commands:
curl https://openresty.org/package/pubkey.gpg curl https://pkg2.openresty.com/xray-priv-libs/
Configure the software repository
First we need to configure the repository for the binary installer, follow the command below. (The CLIENT_TOKEN in the command needs to be replaced with a valid Token from the subscription email)
For Ubuntu/Debian/CentOS/Rocky/Red Hat Enterprise Linux/Fedora OS/Alibaba Cloud Linux/Tencent Linux:
curl -o get-xray-priv-lib-repo.sh https://pkg2.openresty.com/scripts/get-xray-priv-lib-repo.sh
sudo bash get-xray-priv-lib-repo.sh -l zstd-nginx-module-plus -t CLIENT_TOKEN
For the Alpine:
curl -o get-xray-priv-lib-repo.sh https://pkg2.openresty.com/scripts/get-xray-priv-lib-repo.sh
sudo sh get-xray-priv-lib-repo.sh -l zstd-nginx-module-plus -t CLIENT_TOKEN
Installing packages
For operating systems using the yum package manager, run the following command to install the private library.
sudo yum install --disablerepo="*" --enablerepo=zstd-nginx-module-plus -y zstd-nginx-module-plus
For operating systems using the dnf package manager, execute the following command to install the private libraries.
sudo dnf install --disablerepo="*" --enablerepo=zstd-nginx-module-plus -y zstd-nginx-module-plus
For operating systems using the apt package manager, execute the following command to install the private libraries.
sudo apt-get install -y zstd-nginx-module-plus
For apline OS, execute the following command to install the private libraries.
sudo apk add zstd-nginx-module-plus