Installing Varnish by Using an RPM Package Obtained from a Mirror Site
|
Software Version |
Whether to Support CentOS 7.6 |
Whether to Support CentOS 8.1 |
Whether to Support openEuler 20.03 (LTS-SP1) |
|---|---|---|---|
|
Varnish 6.2.0 |
Yes |
No |
No |
|
Varnish 6.5.1 |
No |
Yes |
No |
The binary packages available at the Kunpeng mirror site are compiled and packaged based on the open source code, and do not involve vulnerability or bug fixes.
When using open source software, comply with the applicable license.
- Obtain the Varnish RPM package.
- Download the RPM package using a local browser.
- Copy the RPM package to the /home directory on the server.
If the server is connected to the Internet, you can run the wget command on the server to download the RPM package.
This document uses Varnish 6.2.0 on CentOS 7.6 as an example. For other versions, replace the download link and RPM package name.
1cd /home
1wget https://mirrors.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/web/varnish-6.2.0-1.el7.aarch64.rpm --no-check-certificate
- Install Varnish.
1rpm -ivh varnish-6.2.0-1.el7.aarch64.rpm

- Check the installed Varnish in the /usr/local/varnish.
1ls /usr/local/varnish
Parent topic: Installing Varnish