Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-08-03 18:56:33
Enter the directory of the yum source configuration file.
cd /etc/yum.repos.d/
ls
Back up the yum source configuration file of Kingsoft Cloud.
mv CentOS.repo CentOS_repo
Copy the system-provided yum source file to the current directory.
cp backup/CentOS-Base.repo .
ls
yum update
cd /etc/yum.repos.d/
ls
Delete the system-provided yum source configuration file and use the file provided by Kingsoft Cloud.
rm -f CentOS-Base.repo
mv CentOS_repo CentOS.repo
yum update
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base_repo_bak
wget [http://mirrors.163.com/.help/CentOS6-Base-163.repo](http://mirrors.163.com/.help/CentOS6-Base-163.repo)
Rename the configuration file according to the file requirement. The following uses “CentOS6-Base-163.repo” as an example.
mv CentOS6-Base-163.repo CentOS-Base.repo
yum update
Pure Mode