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

相关推荐

  • 如何处理Ping ECS实例的IP地址间歇性丢包-linux教程

    本篇文章给大家带来的内容是关于如何处理Ping ECS实例的IP地址间歇性丢包,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。 Ping ECS实例的IP地址间歇性丢包 问题描述 Ping ECS实例的IP地址间歇性丢包,ECS实例的网络一直处于不稳定状态 。 问题原因 系统中病毒。 解决方案 Ping外部存在丢包,但是延迟不大,排查不是带宽…

    服务器运维 2018年11月21日
    2.7K00
  • linux安装安全狗

    [v_notice]现在给很多用户安装了宝塔、但是怕不有攻击、所以安装个安全狗[/v_notice]使用wget方式下载发布包:wget http://down.safedog.cn/safedog_linux64.tar.gz 安装网站安全狗 在root 帐户下执行以下命令: tar xzvf safedog_linux64.tar.gz(在这里一定要看解…

    服务器运维 2018年8月13日
    4.5K00
  • 腾讯阿里云登录宝塔面板提示”请使用正确的入口登录”或 404

    相关问题: 原因: 使用云服务器连接宝塔面板时,提示”请使用正确的入口登录面板”或”404 NOT FOUND”,是由于安全入口校验失败。 当前宝塔已开启安全入口登录,新装机器都会随机生成 8 位字符的安全入口名称。若您忘记安全入口,可以使用以下方式解决: 解决方案: 安全提示 关闭安全入口将使您的面板登录地址…

    2026年1月5日
    61400
  • nginx配置location总结及rewrite规则写法教程-学派吧

    今天学派吧-给大家带来一篇nginx配置location总结及rewrite规则写法教程 1. location正则写法 2. Rewrite规则 2.1 flag标志位 2.2 if指令与全局变量 2.3 常用正则 2.4 rewrite实例 1. location正则写法 一个示例: location = / { # 精确匹配 / ,主机名后面不能带任何…

    服务器运维 2018年10月16日
    2.1K00
  • Linux如何使用tail命令教程分享-学派吧

    Linux tail命令显示一个或多个文件或管道数据的最后一部分(默认为10行);可用于实时监控文件更改。下面本篇文章就来就来给大家介绍一下如何使用Linux tail命令,希望对大家有所帮助。 Linux tail命令 tail命令显示一个或多个文件或管道数据的最后一部分(默认为10行);可用于实时监控文件更改。tail命令最常见的用途之一就是监视和分析日…

    2019年3月23日
    2.8K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

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