更新 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 系統保持最新狀態,同時確保系統的穩定性和安全性。