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

相关推荐

  • win2003服务器远程桌面登录出现“终端服务器超出了最大允许连接数”解决教程 |

    引言:大家在管理Windows Server 2003 服务器的时候,进行远程桌面连接,当输入完账号密码,点确定之后弹出一个提示框“终端服务器超出了最大允许连接数”,如下图所示: 原因:服务器默认情况下,最多只能登录2个链接会话,而且登录远程桌面之后如果没有采用注销的方式退出而是直接关闭远程桌面窗口,实际上远程会话没有释放,继续占用总连接数,当链接数超过最大…

    服务器运维 2018年10月17日
    2.6K00
  • linux如何无损调整分区大小扩容磁盘的详细教程方法

    本篇文章主要介绍了linux如何无损调整分区大小,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧 如果您有服务器咨询问题、购买问题、可以联系我们客服 7271895 690624商祺云-阿里代理、景安代理、西部代理 情况: home:500G root:50G root分区不够用 思路:把home分区的空间划一部分到root分区 …

    服务器运维 2019年1月4日
    12.8K00
  • 学派吧-教你怎么在linux/centos中调整分区大小-linux教程

    本篇文章主要介绍了linux如何无损调整分区大小,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧 情况: home:500G root:50G root分区不够用 思路:把home分区的空间划一部分到root分区 # 设置home分区大小为200G,释放300G空间 $ lvreduce -L 200G /dev/centos/h…

    服务器运维 2018年12月12日
    2.3K00
  • 学派网分享Linux命令快捷方式大全资料-linux教程

    如果您有服务器咨询问题、购买问题、可以联系我们客服 7271895 690624商祺云-阿里代理、景安代理、西部代理 命令行编辑的辅助操作: Tab健:自动补齐 Ctrl +U :清空至首行 Ctrl +K: 清空至尾行 Ctrl +L:(或者clear) 清屏 Ctrl +C: 取消执行命令 获取帮助命令: 内部命令help 例如:help cd 大多数外…

    服务器运维 2019年1月15日
    2.9K00
  • 总结连接状态的详细介绍-linux运维-PHP中文网

    如果您有服务器咨询问题、购买问题、可以联系我们客服 7271895 690624商祺云-阿里代理、景安代理、西部代理 Linux下查看Nginx等的并发连接数和连接状态。 1、查看Web服务器(Nginx Apache)的并发请求数及其TCP连接状态: netstat -n | awk ‘/^tcp/ {++S[$NF]} END {for(a …

    2019年1月14日
    3.2K00
  • centos安装wdcp教程及问题解决方案

    wdcp是什么 wdCP是WDlinux Control Panel的简称,是一套通过WEB控制和管理服务器的Linux服务器管理系统以及虚拟主机管理系统,旨在易于使用Linux系统做为我们的网站服务器系统,以及平时对Linux服务器的常用管理操作,均可在wdCP的后台里操作完成.使用wdCP,通过WEB方式就可以查看服务器情况,资源利用率,系统负载,内存使…

    2018年9月14日
    3.3K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

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