How to Upgrade from Debian 11 to Debian 12
How to Upgrade from Debian 11 to Debian 12
Follow this guide to upgrade your system securely and without downtime. Perfect for users of VPS Linux and server VPS from NETCLOUD24.
Step 1: Backup Your System
- Use
rsync
ortar
to create a full backup - Snapshot your VPS if using virtualization
Step 2: Update Current System
sudo apt update && sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt --purge autoremove
reboot
Step 3: Modify APT Sources
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
Step 4: Upgrade to Debian 12
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt --purge autoremove
reboot
Check version after reboot:
lsb_release -a
Post-Upgrade Checks
- Check services:
systemctl status
- Review logs:
journalctl -xe
- Update GRUB if necessary
Use VPS Linux from NETCLOUD24
For fast and secure Debian upgrades, choose NETCLOUD24 VPS Linux with full root access, NVMe SSD, and 24/7 support. Try our EU and global VPS today.
Comments
Post a Comment