Welcome 微信登录

首页 / 操作系统 / Linux / 解决CentOS 6.3 yum安装软件时找不到镜像问题

近日,准备给某一客户企业部署nagios监控系统,于是在其IBM服务器上最小化安装了CentOS 6.3(64bit),却发现刚安装完的系统yum仓库更新不了。提示报错信息:[root@nagios-server ~]# yum update –y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn"t resolve host "mirrorlist.centos.org""
Error: Cannot find a valid baseurl for repo: base
[root@nagios-server ~]# nslookup mirrorlist.centos.org
;; connection timed out; no servers couldbe reached
到这里发现问题了,域名解析不了,yum的配置文件里指向的域名就识别不了了。重新设置下dns指向。[root@nagios-server ~]# vim /etc/resolv.conf
search 38forsbm
nameserver 8.8.8.8
nameserver 218.85.152.99Nagios 的详细介绍:请点这里
Nagios 的下载地址:请点这里相关阅读:网络监控器Nagios全攻略 http://www.linuxidc.com/Linux/2013-07/87067.htmNagios搭建与配置详解 http://www.linuxidc.com/Linux/2013-05/84848.htmNginx环境下构建Nagios监控平台 http://www.linuxidc.com/Linux/2011-07/38112.htm在RHEL5.3上配置基本的Nagios系统(使用Nagios-3.1.2) http://www.linuxidc.com/Linux/2011-07/38129.htmRedHat Linux 本地yum源的配置 http://www.linuxidc.com/Linux/2013-08/88217.htmRedHat 6.2 Linux修改yum源免费使用CentOS源 http://www.linuxidc.com/Linux/2013-07/87383.htm更多CentOS相关信息见CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14Linux多个登录用户间的通信方式Linux平台下ns2.35安装相关资讯      yum 
  • yum安装与卸载软件常见命令  (05月24日)
  • 升级Python导致yum报错  (12/21/2015 15:14:23)
  • RHEL7.0配置CD-ROM为本地YUM  (12/10/2015 09:24:47)
  • CentOS 6.5下YUM仓库的部署  (03月11日)
  • 从CentOS安装R中看yum、rpm、repo  (12/18/2015 14:48:10)
  • Linux Study之--CentOS 创建本地  (12/03/2015 19:47:40)
本文评论 查看全部评论 (0)
表情: 姓名: 字数