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

相关推荐

  • 阿里云腾讯云服务器linux硬盘挂载教程及宝塔安装

    前言 今天给大家带来一篇关于景安快云服务器的硬盘挂载及宝塔安装教程 准备工具 服务器一台  系统 centos7.2 64为例  shell工具服务器推荐代理商:www.hixinyun.com 价格优惠、 下面开始 我们是以安装宝塔为基础的、所以先挂载硬盘 先建立www名称 (宝塔安装默认在www目录下) mkdir -p /www 1、确认是否有没有分区…

    2019年1月18日
    12.6K10
  • HTTP 错误 500.0 – Internal Server Error

    错误出现情形:此错误一般出现在网站搬家到新网站空间报错。 错误原因:web.config文件中定义的php版本路径出错。 原有空间php文件路径: 新空间文件路径: 修改后就能正常使用了

    2018年7月17日
    4.8K00
  • nginx+php-fpm搭建wordpress-WP搭建教程

    1. 准备 LNMP 环境 2. 安装wordpress 3. 配置 一开始搭建的hexo博客,hexo博客有个缺点,他是用nodejs的服务器,不太稳定,服务器经常挂。所以最后还是决定用nginx+php-fpm搭建一个wordpress站点,这样网站就比较稳定。废话不多说,直接进入主题。 我是用的centos的服务器,下面的一些个命令也是centos的命…

    建站问题 2018年10月2日
    3.5K00
  • 宝塔linux面板mysql报错ERROR! Failed to stop running server, so refusing to try to start.解决方法

    今天突然有个使用宝塔linux面板客户的线上mysql服务停止并无法启动,检查后发现根目录占用已经达到100%,清理日志腾出空间后执行启动命令:service mysqld restart 提示: Shutting down MySQL……………………… ERROR! ERROR! Failed to stop runni…

    2019年4月15日
    3.4K00
  • Linux中常用命令的总结教程-linux运维-学派吧

    本篇文章给大家带来的内容是关于Linux中常用命令的总结(详细),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。 ls -alrtAFR -a 显示所有文件及目录 (ls 内定将文件名或目录名称开头为"."的视为隐藏档,不会列出)-l 除文件名称外,亦将文件型态、权限、拥有者、文件大小等资讯详细列出-r 将文件以相反次序显…

    服务器运维 2018年11月21日
    1.9K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

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