apt-get -y update
apt-get -y upgrade
apt-get -y full-upgrade
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
EOF
apt-get update -y && apt-get -y upgrade && apt-get -y autoremove --purge
If prompt say YES or Y to Configuring “libpam0g:amd64” – Any questions YES
apt-get -y full-upgrade
shutdown -r now
systemctl status 3cxsbc
hostnamectl
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian-security/ bookworm-security main
deb http://deb.debian.org/debian bookworm-updates main
EOF
rm /etc/apt/sources.list.d/3cxpbx*
apt install wget gnupg2 -y
wget -O- https://repo.3cx.com/key.pub | gpg --dearmor | tee /usr/share/keyrings/3cx-archive-keyring.gpg > /dev/null
echo "deb [arch=amd64 by-hash=yes signed-by=/usr/share/keyrings/3cx-archive-keyring.gpg] http://repo.3cx.com/3cx bookworm main" | tee /etc/apt/sources.list.d/3cxpbx.list
apt-get -y update
apt-get -y upgrade
If you are running NF tables you can make your adjustments if necessary or press "N" for the default setting
apt-get -y full-upgrade
After the upgrade is completed your SBC should be upgraded to debian 12, you can verify with the hostnamectl command below
hostnamectl
We recommend giving the SBC one more reboot, but no required.
shutdown -r now
Once SBC is back up verify it is operational in the 3CX console and phones are connected.
apt install zstd
apt remove iptables
dpkg-reconfigure openssh-server
apt install emacsen-common
apt install iamerican ispell publicsuffix task-english wamerican
dpkg-reconfigure openssh-server
apt-get update -y && apt-get -y upgrade && apt-get -y autoremove --purge
dpkg-reconfigure openssh-server
shutdown -r now