7,166
edits
Line 471: | Line 471: | ||
unattended-upgrades というのもあるのね | unattended-upgrades というのもあるのね | ||
このパッケージはデフォルトで入ってる模様 | |||
<syntaxhighlight> | |||
sudo aptitude install postfix | |||
sudo aptitude install mailx | |||
</syntaxhighlight> | |||
[https://help.ubuntu.com/community/AutomaticSecurityUpdates AutomaticSecurityUpdates] | |||
/etc/apt/apt.conf.d/10periodic | |||
<pre> | |||
APT::Periodic::Enable "1"; | |||
APT::Periodic::Update-Package-Lists "1"; | |||
APT::Periodic::Download-Upgradeable-Packages "1"; | |||
APT::Periodic::AutocleanInterval "5"; | |||
APT::Periodic::Unattended-Upgrade "1"; | |||
APT::Periodic::RandomSleep "1800"; | |||
</pre> | |||
/etc/apt/apt.conf.d/50unattended-upgrades | |||
<pre> | |||
Unattended-Upgrade::Allowed-Origins { | |||
"Ubuntu lucid-security"; | |||
"Ubuntu lucid-updates"; | |||
}; | |||
</pre> | |||
=== いろいろ === | === いろいろ === |