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

相关推荐

  • 宝塔安装其他SSL证书

    有些新朋友不会安装证书、我在这里做个演示、我们先申请证书、我是在国内申请的免费的、这个看需求、如果是公司可以用收费的、加密不同 我用的景安提供的免费版、http://www.zzidc.com/index.action?agentpand=36148先注册会员,然后点产品、云安全、免费SSL、申请 购买购买后点开通下面填写下基本信息进行验证、我选择的DNS验…

    2018年8月4日
    12.9K00
  • 如何处理访问ECS服务器的网站提示-linux运维-学派吧

    本文在介绍如何处理访问ECS服务器的网站提示的基础上,重点探讨了其具体步骤,本文内容紧凑,希望大家可以有所收获。 访问ECS服务器的网站提示“由于你访问的URL可能对网站造成安全威胁,您的访问被阻断” 用户在访问ECS服务器上的网站时,有可能会遇到“很抱歉 由于你访问的URL可能对网站造成安全威胁,您的访问被阻断。” 这是由于云盾的应用防火墙对您的URL访问…

    服务器运维 2018年11月21日
    2.4K00
  • 阿里云服务器普通模式下绑定网卡多EIP的方法

    本文为您介绍如何在弹性公网IP(EIP)绑定辅助弹性网卡的普通模式下,实现辅助弹性网卡多EIP,从而提高ECS实例的利用率。 背景信息 现在使用阿里云服务器的用户越来越多了。而一台服务器一台IP限制了一些用户多站点的使用。今天就来分享下单服务器多网卡多IP教程 推荐服务器购买优惠 该地址甄选企业上云所需多类商品,满足客户多样化需求,支持快速选配,一键购买等功…

    服务器运维 2021年6月23日
    4.1K00
  • linux/windows http怎么做自动跳转https

    IIS7以上版本 1. 安装rewrite组件 2. 找到网站根目录web.config文件,替换一下内容(如果没有此文件可以创建一个); 3.重启IIS测试访问。 APache 版本 如果需要整站跳转,则在网站的配置文件的标签内,键入以下内容: RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ Rewri…

    2018年7月21日
    3.5K00
  • 学派吧-Linux不常用却很有用的命令-linux教程

    which命令 用于查找并显示给定命令的绝对路径,环境变量PATH中保存了查找命令时需要遍历的目录。which命令会在环境变量PATH设置的目录里查找符合条件的文件。也就是说,使用which命令,就可以看到某个系统命令是否存在,以及执行的到底是哪一个位置的命令。 whereis命令 用来定位命令的二进制程序、源代码文件和man手册页等相关文件的路径。 loc…

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

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

添加微信
添加微信
分享本页
返回顶部