Debian10系统手动升级内核
安装新内核(必要)
XML/HTML代码
- apt-get update
- apt -t buster-backports -y install linux-image-amd64 linux-headers-amd64
- update-grub
- reboot
XML/HTML代码
- dpkg --list | grep linux-image
XML/HTML代码
- apt -y purge linux-image-4.19.0-22-amd64 linux-headers-4.19.0-22-amd64
- apt -y autoremove
- update-grub
- reboot
XML/HTML代码
- apt-get update
- apt -t buster-backports -y install linux-image-amd64 linux-headers-amd64
- apt -y autoremove
- apt -y purge linux-image-4.19.0-22-amd64 linux-headers-4.19.0-22-amd64
- update-grub
- reboot
XML/HTML代码
- echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
- echo "net.ipv4.tcpcongestioncontrol=bbr" >> /etc/sysctl.conf
- sysctl -p
XML/HTML代码
- curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh
BlueSkyXN 综合工具箱
使用方法:
XML/HTML代码
- #X86平台
- wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
- #ARM平台
- wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/armbox.sh && chmod +x box.sh && clear && ./box.sh
XML/HTML代码
- deb http://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
- deb-src http://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
- deb http://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
- deb-src http://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
- deb http://archive.debian.org/debian buster-backports main contrib non-free
- deb http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
- deb-src http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
Debian10使用apt更新或者安装软件会出现证书问题,可以用其他信任证书替换
XML/HTML代码
- wget http://iii80.com/sh/kernel/debian10/debian-archive-bullseye-automatic.gpg -P /etc/apt/trusted.gpg.d/
全自动脚本:bash <(curl -sL https://iii80.com/sh/kernel/debian10.sh)