Rate This Document
Findability
Accuracy
Completeness
Readability

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.

  1. Obtain the Varnish RPM package.
    1. Download the RPM package using a local browser.

      Download addresses:

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

      1
      cd /home
      
      1
      wget https://mirrors.huaweicloud.com/kunpeng/yum/el/7/aarch64/Packages/web/varnish-6.2.0-1.el7.aarch64.rpm --no-check-certificate
      
  2. Install Varnish.
    1
    rpm -ivh varnish-6.2.0-1.el7.aarch64.rpm
    

  3. Check the installed Varnish in the /usr/local/varnish.
    1
    ls /usr/local/varnish