Centos7不让安装面板了,是不是真的,好阔怕
正在开启面板SSL,请稍等............========================================
证书开启成功!
========================================
lrwxrwxrwx. 1 root root 37 Jan92021 python -> /www/server/panel/pyenv/bin/python3.7
-rwx------. 2 root root 14001936 Jan92021 python3.7
---------------- python3.7
lsattr: Operation not supported While reading flags on python
=================================================
ERROR: The BT-Panel service startup failed.
ERROR: 宝塔启动失败
CentOS Linux release 7.4.1708 (Core)
Bit:64 Mem:1823M Core:4
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
============================================
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
============================================
============================================
Centos7/8官方已经停止支持
如是新安装系统服务器建议更换至Debian-12/Ubuntu-22/Centos-9系统安装宝塔面板
============================================
检测到缺少系统ssl相关依赖,可执行下面命令安装依赖后再重新安装宝塔看是否正常
执行前请确保系统源正常
安装依赖命令: yum install openssl-devel -y
路过!吃瓜: :::: 你肯定用的是小厂服务器 是不是要安转旧版本的宝塔,最近在用 1panel 本帖最后由 you890 于 2025-1-20 08:48 编辑
Centos 7安装软件提示:错误:为仓库 'appstream' 下载元数据失败
请更新源
进入到 /etc/yum.repos.d/ 目录下
把原来文件都删除
到阿里云网站 http://mirrors.aliyun.com/repo/
下载对应的repo文件
Centos-7.repo
下载完成后传到 /etc/yum.repos.d/ 目录下
再安装脚本
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
跑代码吧 好像到最后一样是安装不了 sed -e "s|^mirrorlist=|#mirrorlist=|g" -e"s|^#baseurl=htt://mirror.centos.org/centos/\$releasever|baseurl=htts://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.6.1810|g" -e "s|^#baseurl=htt://mirror.centos.org/\$contentdir/\$releasever|baseurl=htts://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.6.1810|g" -i.bak /etc/yum.repos.d/CentOS-*.repo
yum clean all
yum makecache
输入这个命令就行了,意思是切换到阿里yum源去安装,目前安装失败原因都是因为官方停止更新导致yum源失效
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo htts://mirrors.tencent.com/repo/centos7_base.repo
yum clean all
yum makecache
这个是腾讯的yum源,htt后面自行加p,没权限毕竟 a775374494 发表于 2025-1-20 16:31
sed -e "s|^mirrorlist=|#mirrorlist=|g" -e"s|^#baseurl=htt://mirror.centos.org/centos/\$releasever|ba ...
很好,安装成功。
页:
[1]