In centos, you can use yum to conveniently and quickly install the required software and libraries. if The yum source is not good, the installation speed will be very slow. by default, centos official sources appear to be outside China, so the speed is not guaranteed. I have been using 163 of the source, and I feel that the speed is good. The following describes how to modify the yum source. 1. enter the folder cd/etc/yum. repos. d2 that stores the source configuration, back up the default source mv./CentOS-Base.repo./CentOS-Base.repo.
In centos, you can use yum to conveniently and quickly install the required software and libraries. if The yum source is not good, the installation speed will be very slow. by default, centos official sources appear to be outside China, so the speed is not guaranteed. I have been using 163 of the source, and I feel that the speed is good. The following describes how to modify the yum source.
1. enter the folder cd/etc/yum. repos. d2 that stores the source configuration, back up the default source mv./CentOS-Base.repo./CentOS-Base.repo.bak3, use wget to download the 163 source wget CentOS-Base-163.repo CentOS-Base.repo
After the above operations, the default source is changed to 163. Of course, the steps 3 and 4 can be merged as follows:
wget http://mirrors.163.com/.help/CentOS-Base-163.repo -O CentOS-Base.repo