简单将debian10升级Debian11

debian11早就出来了,有些VPS或者服务器商家依旧还是默认提供的debian10系统,我们还是紧跟debian的步伐吧,早点儿升级到新版本。下面介绍最简单的办法将debian10升级到debian11,具体操作如下:

简单几步把debian 9升级到debian 10

 

先更新默认的debian10系统:

apt update && apt upgrade

 

接着切换debian10的源到debian11的源,直接复制下面的代码在SSH客户端里面回车即可:

cat > /etc/apt/sources.list << EOF

deb https://mirrors.huaweicloud.com/debian bullseye main contrib non-free

deb-src https://mirrors.huaweicloud.com/debian bullseye main contrib non-free

deb https://mirrors.huaweicloud.com/debian-security/ bullseye-security main

deb-src https://mirrors.huaweicloud.com/debian-security/ bullseye-security main

deb https://mirrors.huaweicloud.com/debian bullseye-updates main

deb-src https://mirrors.huaweicloud.com/debian bullseye-updates main

EOF

 

接下来继续升级更新:

apt update && apt full-upgrade

 

后面的操作基本上都是默认 yes “Y”之类的…

 

有需要的话重启一下操作系统:

reboot

 

 

debian 9 升级 debian 10 :https://www.zhujiceping.com/37040.html

debian 10 升级debian 11:https://www.zhujiceping.com/64312.html

debian 11升级 debian 12:https://www.zhujiceping.com/70432.html

本站QQ群:812451114,联系站长:zhujiceping@vip.qq.com