Installing Squid by Using the Yum Source Obtained from a Mirror Site
The binary packages available at the Kunpeng mirror site are compiled based on the open source code, and do not involve vulnerability or bug fixes.
When using open source software, comply with the applicable license agreements.
openEuler does not support such a Yum source installation method.
- Check that the Internet connection is normal.
1curl www.baidu.com - Configure the network source.
- Go to the /etc/yum.repos.d directory.
1cd /etc/yum.repos.d
- Create an rpm.repo file.
- Run the following command to open the rpm.repo file:
1vim rpm.repo - Add the following information to the rpm.repo file:
[rpm] name=rpm baseurl=https://mirrors.huaweicloud.com/kunpeng/yum/el/7/aarch64/ gpgcheck=0 enabled=1
The path specified by baseurl is the address of the mirror site.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the following command to open the rpm.repo file:
- Go to the /etc/yum.repos.d directory.
- Make the network source take effect.
1 2 3
yum clean all yum makecache yum list
- Install Squid using the Yum source.
1yum install squid-4.8-1.el7.aarch64
The installed Squid is in the /usr/local/squid directory.

Parent topic: Installing Squid