[root@DBDATA yum.repos.d]# yum makecache
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, priorities, protect-packages, protectbase, rhnplugin, security, tmprepo, verify,
: versionlock
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Determining fastest mirrors
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
http://mirrors.aliyun.com/centos/5Server/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.aliyuncs.com/centos/5Server/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirrors.cloud.aliyuncs.com/centos/5Server/os/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

[root@DBDATA ~]# cat /etc/issue
Oracle Linux Server release 5.11
Kernel \r on an \m

[root@DBDATA ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[root@DBDATA ~]#
[root@DBDATA yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo
--2019-11-14 16:31:13-- http://public-yum.oracle.com/public-yum-el5.repo
Resolving public-yum.oracle.com... 23.51.208.176
Connecting to public-yum.oracle.com|23.51.208.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4886 (4.8K) [text/plain]
Saving to: `public-yum-el5.repo'

100%[============================================================================================================================================>] 4,886 --.-K/s in 0s

2019-11-14 16:31:15 (129 MB/s) - `public-yum-el5.repo' saved [4886/4886]

[root@DBDATA ~]# cd /etc/yum.repos.d
[root@DBDATA yum.repos.d]# yum clean all
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, priorities, protect-packages, protectbase, rhnplugin, security, tmprepo, verify,
: versionlock
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@DBDATA yum.repos.d]# yum makecache
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, priorities, protect-packages, protectbase, rhnplugin, security, tmprepo, verify,
: versionlock
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Determining fastest mirrors
el5_latest | 1.4 kB 00:00
el5_latest/filelists | 46 MB 04:56
el5_latest/updateinfo | 832 kB 00:05
el5_latest/other | 284 MB 30:50
el5_latest/group | 1.1 MB 00:12
el5_latest/primary | 29 MB 03:40
ol5_UEK_latest | 1.2 kB 00:00
ol5_UEK_latest/filelists | 21 MB 03:16
ol5_UEK_latest/updateinfo | 134 kB 00:00
ol5_UEK_latest/other | 111 MB 10:08
ol5_UEK_latest/primary | 32 MB 02:20
el5_latest 15734/15734
ol5_UEK_latest 686/686
el5_latest 15734/15734
ol5_UEK_latest 686/686
el5_latest 15734/15734
ol5_UEK_latest 686/686
Metadata Cache Created

最新文章

  1. swift 的枚举、结构体、类
  2. BZOJ2342 Manacher + set
  3. Apache2 部署 Django
  4. HDOJ(1238) KMP
  5. PHP加密3DES报错 Call to undefined function: mcrypt_module_open() 的解决方法
  6. mac中用命令行运行mysql
  7. adb uninstall卸载apk 命令后跟的是包的名称
  8. java.util.Random深入理解
  9. Maven 镜像
  10. 五十行javascript代码实现简单的双向数据绑定
  11. zookeeper安装以及遇到的一些坑
  12. Hadoop3新特性
  13. Bootstrap -- 表格样式、表单布局
  14. 2017-12-19python全栈9期第四天第二节之列表的增删查改之按切片删除
  15. HDU4772(杭州赛区)
  16. 设计模式 笔记 责任链模式 chain of responsibility
  17. ubuntu16。04LST配置nfs实现服务器和客户端共享文件
  18. Python 各种测试框架简介
  19. spark repartition
  20. github命令行下载项目源码

热门文章

  1. CF240E Road Repairs(最小树形图-记录路径)
  2. LightOj-1027 A Dangerous Maze(期望)
  3. 【VMware】The VMX process exited permaturely
  4. JS基础-原型链和继承
  5. java基础篇一
  6. hdu 4725 The Shortest Path in Nya Graph (最短路+建图)
  7. 《Java基础知识》Java变量作用域
  8. 在 .NET Core 中使用 Diagnostics (Diagnostic Source) 记录跟踪信息
  9. Python活力练习Day5
  10. UWP 利用Windows.UI.Composition实现简单的放大&#128269;效果