Reprinted: http://www.mamicode.com/info-detail-2855415.html
Preface
The company gave a server, centos system, but the yum command could not be executed after entering it. You need to install the yum source by yourself, so I read many posts and found that wget http://xxxxx is all 404. It took a whole afternoon to get it done. Record it for the convenience of other friends who encounter the problem.
Remember, the yum mirror address is changed, and other operations can be performed according to the reposted blog address.
The address here is changed to this: http://mirrors.163.com/centos/7.8.2003/os/x86_64/Packages/
Then you can find the 4 packages in the picture above by searching: