Mounting the OS Image Source
- Download openEuler-22.03-LTS-SP3-everything-aarch64-dvd.iso and upload it to the /home directory on the server.If the server is connected to the Internet, you can also run the wget command to download the image.
1 2
cd /home wget https://repo.openeuler.org/openEuler-22.03-LTS-SP3/ISO/aarch64/openEuler-22.03-LTS-SP3-everything-aarch64-dvd.iso --no-check-certificate
- Mount the image.
1mount /home/openEuler-22.03-LTS-SP3-everything-aarch64-dvd.iso /media -o loop
- Back up the .repo files and clear the /etc/yum.repos.d/ directory.
1 2
cp -r /etc/yum.repos.d /etc/yum.repos.d-bak rm /etc/yum.repos.d/*
Ensure that all .repo files have been backed up. Enter y on the rm deletion page to delete the files.
- Configure the local yum source.
- Open the /etc/yum.repos.d/Local.repo file.
- Press i to enter the insert mode and add the following content to the file:
1 2 3 4 5
[Local] name=Local baseurl=file:///media/ enabled=1 gpgcheck=0
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the yum source configuration take effect.
1yum clean all && yum makecache

Parent topic: Installing Environment Dependencies