您好,Centos 8官方已于2021年12月31日以后停止Centos 8支持、转至Centos 8 Stream项目支持
详细说明:
https://www.bt.cn/bbs/thread-82931-1-1.html
因此Centos 8已经无法正常安装宝塔面板、软件请更换至Centos 7或Centos 8 Stream系统安装宝塔
*Centos 7 官方支持至2024年7月30日
*Centos 8 Stream 官方支持至2024年5月31日
**操作前请做好数据备份,尽量能做快照就做快照**
临时解决方案:
1.使用一键换源脚本来更换软件源
- curl -k [url]https://120.78.156.100/new/fix_source.sh[/url]|bash
复制代码
此脚本仅作用修复系统软件源使用。
2.使用了阿里云的官方旧镜像源
- \cp -r /etc/yum.repos.d/ /yum.repos.d.bak
- rm -rf /etc/yum.repos.d/*
- curl -o /etc/yum.repos.d/CentOS-Base.repo [url]https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo[/url]
- yum makecache
复制代码
然后卸载重新安装下网站监控报表插件看下是否正常
|