当前位置: 首页 > news >正文

门户网站的设计丰台路网站建设

门户网站的设计,丰台路网站建设,产品设计是冷门专业吗,黄梅那里有做网站的1、问题现象 由于CentOS停止维护#xff0c;mirrorlist.centos.org网站也关闭不可访问。导致CentOS默认配置的yum.repos.d源也不可用#xff0c;所以执行yum命令会报“Could not resolve host: mirrorlist.centos.org”错误。具体如下#xff1a; Could not retrieve mirror…1、问题现象 由于CentOS停止维护mirrorlist.centos.org网站也关闭不可访问。导致CentOS默认配置的yum.repos.d源也不可用所以执行yum命令会报“Could not resolve host: mirrorlist.centos.org”错误。具体如下 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release7archx86_64repoosinfrastock error was 14: curl#6 - Could not resolve host: mirrorlist.centos.org; 未知的错误  One of the configured repositories failed (未知),  and yum doesnt have enough cached data to continue. At this point the only  safe thing yum can do is fail. There are a few ways to work fix this:      1. Contact the upstream for the repository and get them to fix the problem.      2. Reconfigure the baseurl/etc. for the repository, to point to a working         upstream. This is most often useful if you are using a newer         distribution release than is supported by the repository (and the         packages for the previous distribution release still work).      3. Run the command with the repository temporarily disabled             yum --disablereporepoid ...      4. Disable the repository permanently, so yum wont use it by default. Yum         will then just ignore the repository until you permanently enable it         again or use --enablerepo for temporary usage:             yum-config-manager --disable repoid         or             subscription-manager repos --disablerepoid      5. Configure the failing repository to be skipped, if it is unavailable.         Note that yum will try to contact the repo. when it runs most commands,         so will have to try and fail each time (and thus. yum will be be much         slower). If it is a very temporary problem though, this is often a nice         compromise:             yum-config-manager --save --setoptrepoid.skip_if_unavailabletrue 二、解决办法 通过一下命令使用新文件替换CentOS原有的CentOS-Base.repo文件。 #先备份原来的CentOS-Base.repo文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_old#从阿里云下载新文件替代CentOS-Base.repo curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo#重建yum元数据缓存大约需1分钟 yum makecache以上完成后yum命令即可正常使用。
http://www.zqtcl.cn/news/336586/

相关文章:

  • 焦作建设厅网站wordpress调用视频播放器
  • 网站版面做好江苏省建设工程设计施工图审核中心网站
  • 智能网站平台wordpress同步头条
  • 做采集的网站有流量吗广州建设学校
  • 建设部网站公告外贸网站建设定制
  • 如何搭建 seo网站上海市住房与城乡建设部网站
  • 百度搜不到自己的网站python云服务器网站开发实例
  • 给企业做网站的业务员优书网没了
  • 江门网站建设方案外包洛阳网站设计哪家专业
  • 电暖怎么做网站办公室平面设计图
  • 全屏网站 功能丽水市企业网站建设 微信营销 影视拍摄
  • 天天爱天天做视频网站网站推送
  • 制作企业网站与app有什么不同化工企业网站建设
  • 东莞企业推广网站专门做黄漫的网站
  • 温州网站关键词排名优化win10 电脑做网站服务器
  • 网站设计规划信息技术教案营销模式和营销策略
  • 太仓住房城乡建设网站微信怎么注册
  • 德骏网站建设重庆企业网站如何推广
  • 路由器做内部网站服务器石家庄新闻综合频道在线直播回放
  • 怎么给网站备案亚马逊网站建设与维护方法分析
  • 金华网站建设团队产品网络推广方案范文
  • 拼多多刷单网站开发虚拟机可以做两个网站
  • wordpress安装路径和站点地址的设置信通网站开发中心
  • 柳州公司网站建设网站服务商
  • 智能建站实验报告成功营销网站
  • 基于jsp的网站开发开题报告青海公路工程建设市场信用信息服务网站
  • 做网站页面的软件wordpress如何开启page页面评论
  • 做网站最简单的长春财经学院
  • 导购网站 icp备案要求网站设置ico
  • ftp做网站营销策划方案步骤