宝塔安装环境提示Trying other mirror如何处理

错误提示

我们云服务器默认安装了宝塔面板,安装环境时候提示错误如下

处理方法

  1. 从云服务器面板 http://vps.laoxuehost.net/ 获取centos远程登陆账户密码。

  2. 通过ssh工具登陆远程服务器

  3. 依次执行命令,替换默认文件

cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
wget  http://mirrors.163.com/.help/CentOS7-Base-163.repo  -O CentOS-Base.repo
  1. 生成缓存
yum clean all
yum makecache

其他镜像

网易源 http://mirrors.163.com/
阿里云 https://developer.aliyun.com/mirror/
清华源 https://mirrors.tuna.tsinghua.edu.cn/
搜狐源 http://mirrors.sohu.com/

1 Star2 Stars3 Stars4 Stars5 Stars (无评分)
Loading...

分类:VPS问题 | 标签:, ,

在线客服

QQ客服

微信客服