更新 Debian LAMP 系统的步骤如下:
sudo apt update
sudo apt upgrade
sudo apt install unattended-upgrades -y
sudo dpkg-reconfigure unattended-upgrades
sudo systemctl restart apache2
sudo systemctl restart mariadb
sudo systemctl restart php7.x-fpm # 根据你的 PHP 版本替换 7.x
以上步骤将帮助你的 Debian LAMP 系统保持最新状态,同时确保系统的稳定性和安全性。