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

相关推荐

  • 如何通过API配置定时自定义快照-linux教程-学派吧

    本篇文章给大家带来的内容是关于如何通过API配置定时自定义快照,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。 如何通过API配置定时自定义快照 SSD云盘无法开启自动快照,那么就需要自己调用API来设定计划任务完成快照自动化 1、安装配置AliyunCli环境 参考官方文档:AliyunCli配置 2、将如下内容保存为脚本/home/cre…

    服务器运维 2018年11月24日
    2.1K00
  • Nginx与Apache环境防盗链设置方法-Linux运维-学派吧

    有需要服务器方面的需求和咨询,可以联系博主QQ 7271895(收费) Nginx防盗链方法 Apache防盗链方法 说明:很多人的VPS流量是有限的,而一般情况下我们放在网站上的媒体文件都是可以被别人引用的,我们的文件也就成了别人的免费外链,可想而知流量会消耗的有多快,这时候设置一下防盗链还是很有必要的。 根据我们搭建的系统环境不同,我们在Nginx和Ap…

    服务器运维 2018年9月30日
    2.1K00
  • 为什么Linux系统ECS实例扩容云盘提示Bad magic number in super-block while trying to open /dev/vdb1?

    问题现象:e2fsck -f /dev/vdb扩容格式化云盘时提示报错Bad magic number in super-block while trying to open /dev/vdb1 问题原因:起始扇区不正确导致。例如通过fdisk -lu命令查看到操作记录中显示扩容前起始扇区位置是63,而重建分区时默认使用的位置是2048。 解决方案:

    2026年1月11日
    13400
  • Linux-centos下GPT格式磁盘重新格式化为MBR格式

    [v_warn]注意:本文不是教大家把GPT格式转成MBR格式,是重新格式化磁盘,所以磁盘里面的数据会被删得一干二净!!![/v_warn] 一,为什么不能用fdisk命令更改磁盘格式? fdisk命令是针对MBR分区格式的,虽然能用g命令把磁盘格式化为GPT,但是无法再重新格式化为MBR格式,因为fdisk命令无法操作GPT格式的磁盘。二,用parted命…

    2020年7月28日
    3.0K00
  • 🔥🔥🔥史诗级更新:轻量云OpenClaw(小龙虾)接入微信指南

    🔥🔥🔥重磅更新:微信支持接入云上OpenClaw!!! 本文主要介绍如何在腾讯云轻量应用服务器Lighthouse中部署完成OpenClaw后,如何配置接入微信ClawBot。 如果此时此刻您还不了解OpenClaw(中文名俗称”龙虾”),或是了解但还没有开始部署OpenClaw,建议您先参考云上OpenClaw(原Clawdbot)…

    2026年4月1日
    8100

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

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