
本文共 4016 字,大约阅读时间需要 13 分钟。
CentOS 6 ������������ yum ������������������������������������������������������������������������������������������
umRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination
���������������������������������������������������������
Berry 14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
������: Cannot find a valid baseurl for repo: base
���������������������������������������������������������������������������������������������������������������������������������
1. ������������������������
������������������������������������������������������������������������������������������������
ip addr show
��������� IP ������ ���������������������������������������������
2. ��������������������� DNS
������������ DNS ������������������ repository_mirrorcount��������������������������� Google ��������� DNS ������������������������
nslookup 8.8.8.8
������ DNS ��������������������������������� DNS ������������������������������ DNS ���������
3. ������������ YUM ���
������������������������������������������������������������������������������������������������
������������ /etc/yum.conf
������ baseurl
��� mirrorlist
��������������������������� yum ������������
���������������������������������������������������������������
4. ���������������������
������������������������������ yum ���������������������������������������������������������������������
systemctl status���������������������
������������������������ port 80/http ��� 443/https ���������������������������������������������
5. ������ yum ������������������������
������������������������������������������������������������������������������ /etc/yum.repos.d/CentOS-*.repo
������������������������������ ID ��� base ��� repo ���������
������ baseurl
��� mirrorurl
���������������������
6. ���������������������������������������������������������
��������������������������������������������������������������������������������������������������� YUM ���������������
7. ������������������������������������������
��� yum ���������������������������������������������������������������������������������������
name=CentOS-6 Base baseurl=https://repo.centos.org/centos/6-stream/ enabled=1 gpgcheck=1 repo_gpgkeys url=...) name=������������������ baseurl=https://archive.apache.org/ enabled=1
8. ������ yum clean Coordination () ���������������������������
������������������������������������������������������������������������������������������������
������������������������������������������������������������
yum clean metadata yum makecache
9. ������������������������������������������
��������������������������������������������������������������������� <mirror_url>
��������� .repo
������������������������������������ weitereuipment.
������ router��������������������������������������������� <os-release>
��������� <mirrorarchive>
������������������������������������������������
10. ������������������������������������
������������������������������������������������������������������������������������������ GPG ���������������������
������������������������������
tail -f /var/log/yum.log
������������������������������������������������������������������������������������
11. ������ yum repolist
���������������������������
������ yum repolist
��������������������������������������������������������� YUM ���������
yum repolist������������������������������������������������������
���������������������������������������������
yum repolist info
12. ���������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������ erkn
��� coprime
������������������������������������������
������������������������������ YUM ������������������������������������������������������������������������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
