您好,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日
可根据以下链接的方法升级Centos 8至Centos 8 Stream:
https://www.bt.cn/bbs/thread-82931-1-1.html
临时解决方案:使用阿里云的官方旧镜像源
- \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
复制代码
如更换临时源后,您那边重新安装下Nginx看看。如是新服务器系统,无数据的话。可以更改服务器系统版本
面板所支持的服务器系统:Centos7/Centos stream 8-9、Ubuntu18-22、Debian10-11 |