We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No response
v2.0.0-beta.4
发行版本 debian 内核版本 5.10.0-32-cloud-amd64
无法安装Fail2ban、Firewall
你的系统出现APT仓库配置错误,主要原因是 security.debian.org 仓库路径不正确。以下是修复步骤:
sudo sed -i 's|http://security.debian.org bullseye/updates|http://security.debian.org/debian-security bullseye-security|' /etc/apt/sources.list
sudo apt update
sudo apt install ufw -y
若仍有问题,建议更换为阿里云镜像源:
sudo cp /etc/apt/sources.list{,.bak}
sudo tee /etc/apt/sources.list <<EOF deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb http://mirrors.aliyun.com/debian-security/ bullseye-security main deb-src http://mirrors.aliyun.com/debian-security/ bullseye-security main deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib EOF
sudo apt update && sudo apt install ufw -y
The text was updated successfully, but these errors were encountered:
感谢反馈。目前你可以克隆我们官方提供的脚本版本,并根据 Issue 中提到的方案进行修改和适配。
成功适配后,欢迎将通用版本通过 PR 提交到我们的脚本库项目中,项目地址: 👉 https://github.com/1Panel-dev/scripts
Sorry, something went wrong.
由于我已通过v1文档完成手动安装,不具备验证适配脚本的环境,非常抱歉
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Since I have completed the manual installation through the v1 document, I do not have an environment to verify the adapter script, I am very sorry
wanghe-fit2cloud
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Contact Information
No response
1Panel Version
v2.0.0-beta.4
Problem Description
发行版本 debian
内核版本 5.10.0-32-cloud-amd64
无法安装Fail2ban、Firewall
Steps to Reproduce
你的系统出现APT仓库配置错误,主要原因是 security.debian.org 仓库路径不正确。以下是修复步骤:
1. 修正security源配置(注意路径添加了"-security"目录)
sudo sed -i 's|http://security.debian.org bullseye/updates|http://security.debian.org/debian-security bullseye-security|' /etc/apt/sources.list
2. 更新软件源
sudo apt update
3. 安装ufw
sudo apt install ufw -y
若仍有问题,建议更换为阿里云镜像源:
备份原有源
sudo cp /etc/apt/sources.list{,.bak}
写入阿里云源配置
sudo tee /etc/apt/sources.list <<EOF
deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb http://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src http://mirrors.aliyun.com/debian-security/ bullseye-security main
deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
EOF
再次更新并安装
sudo apt update && sudo apt install ufw -y
The expected correct result
No response
Related log output
Additional Information
No response
The text was updated successfully, but these errors were encountered: