Solve the error of installing CentOS 8: Error setting up base repository

1. Questions

Installation It is CentOS-8very common to have the problem that during the installation process the settings for the software source are found and such an error is displayed anyway “Error setting up base repository”.
Please add a picture description
This problem is caused by the fact CentOS-8that its underlying software repository has long 2022 年 01 月 31 日been removed due to the short lifespan of . But fortunately, the software library that can be used is CentOSstill reserved for us, but the address has changed https://vault.centos.org.

2. Solve the problem

The way to solve this problem is mainly downloaded through the online mode of the network.

<1> First select "Network & Host Name" to enter the configuration network, and the host can access the Internet.
Please add a picture description<2> After saving and exiting in the previous step, enter now "Installation Source", select "On the network:"a column, edit and write URL: vault.centos.org/8.5.2111/BaseOS/x86_64/os/ in it , and select https:// as the prefix , select URL type:for the repository URL .

insert image description here

<3> Then go back out, wait for a while and you will find that there will be no more errors.

Please add a picture description

So far, the problem is solved

Guess you like

Origin blog.csdn.net/qq_36393978/article/details/128232326