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

相关推荐

  • 阿里云腾讯云安装管理面板centos宝塔面板安装教程

    2分钟装好面板,一键管理服务器Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、Deepin),Web端管理,QQ群及论坛技术支持一键LAMP/LNMP、创建网站FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换,一键开启Tomcat环境 Linux面板安装脚本 系统兼容性排序: Debia…

    2018年7月12日
    9.2K00
  • 学派吧-详解linux 删除换行符的方法-linux教程

    这篇文章主要介绍了linux 删除换行符的方法小结,需要的朋友可以参考下 今天需要删除文件里面的换行符,比如有一个文件a.txt: 1,2,34,5,61,2,34,5,61,2,34,5,61,2,34,5,61,2,34,5,6 1、使用vim删除换行符 vim输入命令:%s/\n//g 2、使用sed命令,例如 sed ':t;N;s/\n/…

    服务器运维 2019年1月1日
    2.1K00
  • 如何在Linode CentOS7开启Google TCP-BBR优化算法 | linux运维

    Linux在4.9版本的内核新增了一款TCP拥塞控制技术:BBR,Linode最新内核也更新到4.9,但是没有把BBR编译进去,下面是教程是替换Linode CentOS7内核,并开启Google TCP-BBR优化算法方法。 注意:Linode、阿里云测试OK,Ucloud测试加载4.9变为只读系统。 1. 安装elrepo提供的kernel4.9 增加e…

    服务器运维 2018年11月21日
    2.9K00
  • Linux cut命令的使用方法教程分享

    Linux cut命令用于根据字段提取文件内容。文本文件没有像数据库那样的行/列,有时我们只需要单列数据。根据分隔符剪切已识别的列(例如:冒号’:’,分号’;’,逗号’,’等)。 对于下面示例,我们采用/etc/passwd文件。所有行都以下面的格式存储,冒号(:)按如下方式分隔。我们使…

    2019年3月23日
    3.7K00
  • Apache防盗链和隐藏版本信息-linux-centos运维

    有需要服务器方面的需求和咨询,可以联系博主 QQ 7271895 一、防盗链 二、隐藏版本信息 实验要求: 三台虚拟机分别是:linux和两台windows虚拟机,linux虚拟机为服务器,Windows7-1为客户端,Windows7-2为盗链端。 实验步骤: 一、防盗链 1.把httpd、apr、apr-util安装包解压缩到/opt目录中 tar zx…

    2018年10月2日
    3.0K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

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