wsb-dhl
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/
Install from the repository
Configure the software repository
First we need to configure the repository before installation. (The CLIENT_TOKEN in the command needs to be replaced with a valid Token from the subscription email)
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 wsb-dhl -t CLIENT_TOKEN
Install packages
Execute the following command to install the package.
sudo dnf install --disablerepo="*" --enablerepo=wsb-dhl -y wsb-dhl
After installation, you can check the version of the package by running the following command.
/appl/wsb/bin/openresty -v
You can check the files installed by the package by running the following command.
rpm -ql wsb-dhl
Upgrade packages
Execute the following command to upgrade the package.
sudo dnf makecache --disablerepo="*" --enablerepo=wsb-dhl
sudo dnf upgrade --disablerepo="*" --enablerepo=wsb-dhl -y wsb-dhl
Download and install manually
Download packages
Download the RPM package using the following command.
- The
CLIENT_TOKENin the command needs to be replaced with a valid Token from the subscription email. - The package version
1.27.1.2.1is used as an example.
CLIENT_TOKEN=xxxxxxxxxxxxxxxxxxxxxx
wget https://pkg2.openresty.com/xray-priv-libs/$CLIENT_TOKEN/wsb-dhl/rhel/9/x86_64/wsb-dhl-1.27.1.2.1-1.el9.x86_64.rpm
You can open https://pkg2.openresty.com/xray-priv-libs/$CLIENT_TOKEN/wsb-dhl/rhel/9/x86_64/ in your browser to check the specific software version information.
Install from a local RPM package
sudo rpm -ivh wsb-dhl-1.27.1.2.1-1.el9.x86_64.rpm
Upgrade from a local RPM package
If you have already installed the package, you can upgrade it using the following command.
sudo rpm -Uvh wsb-dhl-1.27.1.2.1-1.el9.x86_64.rpm
Update the service
After the installation/upgrade, you need to restart the service to make the changes take effect.
We assume the service name is wsb-dh
sudo systemctl restart wsb-dhl