CentOS8无法安装宝塔,如何解决

2024-03-28 11:50:14 堡塔开发wzz

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日


临时解决方案:使用了阿里云的官方旧镜像源,一行一行复制运行!


\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 https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo


yum makecache


这样就暂时可以装软件了,但是建议您尽快更换系统,面板系统兼容顺序:

面板兼容系统列表有:Centos7.x > Debian10 > Ubuntu 20.04 > Cenots 8 stream > Ubuntu 18.04 > 其它系统