Installing Lighttpd by Using the Yum Source Obtained from a Mirror Site
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 the rpm.repo file.
- Run the following command to open the rpm.repo file:
1vi 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
Set baseurl to the address of the mirror site.
- Save and close the rpm.repo file.
- Run the following command to open the rpm.repo file:
- Go to the /etc/yum.repos.d directory.
- Make the network source take effect.
1yum clean all
1yum makecache1yum list - Install Lighttpd using Yum.
1yum -y install lighttpd-1.4.53-el7.aarch64
- The installed Lighttpd is in the /usr/local/lighttpd directory.

Parent topic: Installing Lighttpd