1、安装docker
apt-get install
apt-transport-https
ca-certificates
curl
gnupg
lsb-release
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
或则curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
2、安装qb刷流环境
bash <(wget -qO- https://raw.githubusercontent.com/jerry048/Dedicated-Seedbox/main/Install.sh) -u user -p password-c 1024 -q 4.3.9 -l v1.2.19
3、安装fb
docker run -d --name fb \
--restart=unless-stopped \
-e PUID=0 \
-e PGID=0 \
-e WEB_PORT=8088 \
-p 8300:8088 \
-v /root/filebrowser/config:/config \
-v /home/wpforwg/qbittorrent/Downloads:/myfiles \
80x86/filebrowser:2.10.3-amd64
4、服务器测试
1、 curl -sL yabs.sh | bash
2、curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
3、bash <(curl -sL bash.icu/gb5)
5、八合一脚本
1、 wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
6、Wrap一键脚本(以下两个任选一个即可)
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/warp.sh && bash warp.sh
7、Debian12 密钥登陆
mkdir -p ~/.ssh 编辑authorized_keys添加公钥
编辑 nano /etc/ssh/sshd_config 文件
PermitRootLogin no # 可选,禁用root直接SSH登录(推荐)
PasswordAuthentication no # 如果只允许密钥登录则关闭密码登录
PubkeyAuthentication yes # 确保公钥认证启用
AuthorizedKeysFile %h/.ssh/authorized_keys # 指定公钥文件位置
修改后记得重启SSH服务使配置生效:
systemctl restart sshd
如有任何知识产权、版权问题或理论错误,还请指正。
转载请注明原作者及以上信息。