0%

服务器杂项问题

ipv6套warp
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

systemd内存空间不够

报错Systemd - Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd
解决:
append to /etc/fstab
none /run tmpfs defaults,size=64M 0 0

mount /run again
mount -o remount /run

now check df again
df -h /run

debian wifi固件缺失

添加源,debian11用bullseye替换stretch
buster:debian10    stretch:debian9    jessie:debian8

1
2
3
4
5
6
7
deb http://httpredir.debian.org/debian/ stretch main contrib non-free

sudo apt-get update
sudo apt-get install firmware-iwlwifi

modprobe -r iwlwifi
modprobe iwlwifi

debian 10 apt问题

deb http://security.debian.org/debian-security buster/updates main contrib non-free找不到文件是因为buster debian10在2024-06-30结束支持了
bullseye debian11 LTS 支持截止日期 2026-08-31
使用下面的sources.list:

1
2
3
deb [trusted=yes] http://deb.debian.org/debian bullseye main contrib non-free
deb [trusted=yes] http://security.debian.org/debian-security bullseye-security main contrib non-free
deb [trusted=yes] http://deb.debian.org/debian bullseye-updates main contrib non-free

使用apt-get --allow-unauthenticated upgrade升级软件,
apt-get --allow-unauthenticated upgrade debian-archive-keyring后使用apt install 就不会报”GPG签名不对”的错误了


cloudreve重置密码

./cloudreve –database-script ResetAdminPassword