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

相关推荐

  • fastcgi分离和lamp虚拟主机部署wordpress和discuzx教程

    lamp架构wordpress和discuzx教程 背景 虚拟主机 fastcgi 部署流程 部署架构 环境 架构图 编译软件 安装开发环境和必要的包 编译httpd 编译php 安装mariadb 配置文件修改 修改httpd主机 修改fast-cgi主机 配置mysql 宿主机的hosts文件修改 安装wordpress和Discuzx 背景 虚拟主机 …

    2018年10月11日
    2.4K00
  • 如何查看云服务器 ECS 公网流量统计总和-linux运维-学派吧

    本篇文章给大家带来的内容是关于如何查看云服务器 ECS 公网流量统计总和,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。 查看云服务器 ECS 公网流量统计总和 您可以在云服务器控制台导出使用记录的 CSV 文件查看云服务器每天/每小时的公网流量统计总和。 登录云服务器控制台。 单击费用 > 进入费用中心。 单击左侧导航栏消费记录 &g…

    服务器运维 2018年11月21日
    2.1K00
  • Linux环境下如何编译和执行c程序教程-linux运维-学派吧

    本篇文章给大家带来的内容是介绍Linux环境下如何编译和执行c程序?(详解) 。有一定的参考价值,有需要的朋友可以参考一下,希望对你们有所帮助。 1 单个文件的编译和执行 创建main.c文件,内容如下: #include <stdio.h>#include <stdlib.h>int main(void){ printf(&quot…

    服务器运维 2018年11月21日
    1.8K00
  • linux ~/.是什么如何使用教程详解

    linux ~/.是什么目录? linux ~/是一般情况下表示当前目录。但是当开终端的时候,都是在用户名目录下面的,所以这个就是用户名目录里面的东西。而.fcitx,加了一个点都是隐藏文件。按CTRL+H可以显示隐藏文件。 linux中 ~ 表示的是什么目录? ~ 表示代码主目录,也就是当前登录用户的用户目录。 比如:我登录用户是chen cd ~ ~ 代…

    服务器运维 2019年3月13日
    2.7K00
  • 宝塔提示no input file specified 解决方法

    今天给客户开了一个新服务器、安装好宝塔、搬迁好数据库以后,无法打开网页,提示no input file specified,有点郁闷啊。环境、导入数据都是没问题的。怎么会提示这个呢。按了修改php.ini的办法看了下。也不对。 后来删除站点重建建立,在导入数据。解决问题。具体什么问题也不知道。反正供有2个都是这样解决的。

    服务器运维 2018年8月22日
    6.2K00

发表回复

登录后才能评论
联系我们

联系我们

18838889666

在线咨询: QQ交谈

邮件:xinyun@88.com

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

添加微信
添加微信
分享本页
返回顶部
学派网官网正在升级改造中,如有影响访问,敬请谅解