Security Update @linux

sudo apt-get install unattended-upgrades apt-listchanges
vim /etc/apt/apt.conf.d/50unattended-upgrades
  Unattended-Upgrade::Mail "root";

dpkg-reconfigure -plow unattended-upgrades
  choose YES

vim /etc/apt/apt.conf.d/20auto-upgrades
  APT::Periodic::Update-Package-Lists "1";
  APT::Periodic::Unattended-Upgrade "1";
  APT::Periodic::Verbose "2";

vim /etc/apt/listchanges.conf 
  email_address=root

發佈留言