centOS安装宝塔提示报错

安装宝塔提示这个错误、一般是DNS问题、或者更换个安装节点

P root@localhost:~
root0104.223.166.114's password: I
Last failed login: Tue Jul 17 02:32:19 EDT 2018 from 112.85.42.197 on. ssh :notty IThere were 780 failed login attempts since the last successful login. ILast login: Tue Jul 17 02:19;17 2018 from 125.113.55.4E
[rootelocalhost ~]# yum install y wget as wget O install.sh http:/ / download. bt. cn/ install/ install.sh && sh install.shLoaded plugins: fastestmir ror
Could not retrieve mirrorlist http: I /mirrorlist. centos .org/ ?release=7sarch=x86_ 64&repo=os error was
14: curl#6 - "Could not resolve host: mirrorlist . centos . org: Unknown error"
One of the configured repositories failed (Unknown) ,
and yum doesn't have enough cached data to continue. At this point the onlysafe thing yum can do is fail. There are a few ways to work "fix" this :
  Contact the upstream for the repository ã  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 thepackages for the previous di stribution release still work)
  3. Disable the repository. sO yum won't use it by default. Yum will then.
  just ignore the repository until you pe rmanently enable it again or use
  --enablerepo for temporary usage :
  yum configmanager --di.disable 
  Configure the failing repository to be skipped, if it is unavailable.Note that yum will try to contact the repo. when. it runs most conmands,
  o will have to try and fail each time (and thus. yum will be be much J
  slower) . If it is a very temporary problem though, this is often a nicecompromise:
  yum config-manager -- save -- setopt=crepoid> .skip_ if_ unavai lable=t rue
Cannot find a valid baseurl for repo: base/7/x86_ 64 I[rootelocalhost ~]#[ rootGlocalhost ~

主题测试文章,只做测试使用。发布者:云大使,转转请注明出处:https://www.xp8.net/server/203.html

(0)
打赏 微信扫一扫 微信扫一扫
云大使的头像云大使
上一篇 2018年7月17日 下午4:04
下一篇 2018年7月17日 下午4:14

相关推荐

  • 最新腾讯云Moltbot(原Clawdbot)接入QQ 保姆级教程

    QQ 作为月活超过6个亿的国民软件,谁不想在QQ上使用Clawdbot呢,这篇教程教你在QQ上连接Moltbot(原Clawdbot),搭建你的个人助理~ 如果遇到什么使用上的问题,欢迎在评论区留言~ bash ./scripts/upgrade.sh # 运行升级脚本 clawdbot plugins install . #安装新版本的插件 clawdbo…

    2026年1月29日
    1.0K00
  • linux服务器下如何查看mysql安装信息的详细教程-学派吧-

    这篇文章主要介绍了linux服务器下查看mysql的安装信息,需要的朋友可以参考下 查看mysql的安装信息: #ps -ef | grep mysql usr/bin/mysql 是指:mysql的运行路径var/lib/mysql 是指:mysql数据库文件的存放路径usr/lib/mysql 是指:mysql的安装路径 #whereis mysql #…

    2019年1月1日
    2.6K00
  • linux/centos安装宝塔服务器流量高异常解决方法-学派吧

    故障:  流量异常 这几天小编的服务器突然进行了卡顿、流量异常、服务器安装了宝塔、各种安全软件也安装了。没什么用。最后全部结束掉。 上传带宽达到500K一秒。而服务器带宽只有3M。造成了网页打开特别的缓慢。宝塔页面也非常卡、每次重启服务器都会结束异常、   上传带宽500多KB 下载300多KB 已经把带宽跑满。 下面说解决方法 解决方法: 使用 …

    2019年1月1日
    6.8K00
  • 腾讯云小白云服务器CVM 镜像迁移-跨地域/跨可用区/跨账号

    本文为您提供云服务器 CVM 实例迁移的操作指引,包括 跨地域迁移、跨可用区迁移、跨账号迁移 三种场景。 跨地域迁移:例如将实例数据从广州地域迁移到北京地域;跨越不同的地理位置,不同地域之间完全隔离。 跨可用区迁移:例如将实例数据从广州六区迁移至广州七区;在同一地域内,跨越电力和网络互相独立的物理数据中心。 跨账号迁移:例如将实例数据从账号A迁移至账号B;实…

    2026年1月13日
    18600
  • 学派吧-linux中xargs命令技巧的各种使用详解-linux教程

    xargs是给命令传递参数的一个过滤器,也是组合多个命令的一个工具。下面这篇文章主要给大家介绍了关于linux中xargs命令用法的相关资料,需要的朋友可以参考借鉴,下面来跟着小编一起看看吧。 前言 xargs命令是把接收到的数据重新格式化,再将其作为参数提供给其他命令,下面介绍xargs命令的各种使用技巧,一起来看看吧。 一、将多行输入转换成单行输入: […

    服务器运维 2018年12月19日
    2.0K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

工作时间:周一至周五,9:30-18:30,节假日休息

添加微信
添加微信
分享本页
返回顶部
---------官方优惠叠加渠道折扣:通过我们购买腾讯云/阿里云,价格更低,服务更优。更有专业配置指导与服务。微信同步:18838889666----