blog:remote_debian_updates_using_apt-dater
Differences
This shows you the differences between two versions of the page.
blog:remote_debian_updates_using_apt-dater [2011-10-01 17:44] – brb | blog:remote_debian_updates_using_apt-dater [2011-10-01 17:45] (current) – brb | ||
---|---|---|---|
Line 6: | Line 6: | ||
We run Debian stable (currently lenny) on many servers. Apt-dater is new enough that it is currently only available via the lenny-backports repository. (NB: in what follows I assume knowledge of basic package management and ssh configuration. Help with both of these is widely available on the 'Net.) | We run Debian stable (currently lenny) on many servers. Apt-dater is new enough that it is currently only available via the lenny-backports repository. (NB: in what follows I assume knowledge of basic package management and ssh configuration. Help with both of these is widely available on the 'Net.) | ||
- | On the apt-dater control server: | + | ===== On the apt-dater control server: |
enable the lenny-backports repository | enable the lenny-backports repository | ||
Line 13: | Line 13: | ||
add the backports repo key | add the backports repo key | ||
- | |||
apt-get update; apt-get install debian-backports-keyring; | apt-get update; apt-get install debian-backports-keyring; | ||
Line 20: | Line 19: | ||
generate an ssh key for the apt-dater control user | generate an ssh key for the apt-dater control user | ||
- | |||
ssh-keygen -t rsa | ssh-keygen -t rsa | ||
Line 32: | Line 30: | ||
in hosts.conf, create host groups and hosts as desired | in hosts.conf, create host groups and hosts as desired | ||
- | On the remote machines: | + | ===== On the remote machines: |
enable the lenny-backports repository and install the repo key (as above) | enable the lenny-backports repository and install the repo key (as above) | ||
Line 45: | Line 43: | ||
apt-dater ALL=NOPASSWD: | apt-dater ALL=NOPASSWD: | ||
- | The magic happens | + | ==== The magic happens |
If you have just added a new host and have not connected to it via ssh before, either ssh directly to the host to accept its host key before starting apt-dater or use ' | If you have just added a new host and have not connected to it via ssh before, either ssh directly to the host to accept its host key before starting apt-dater or use ' | ||
Line 59: | Line 56: | ||
* http:// | * http:// | ||
- | {{tag>}} | + | {{tag>linux}} |
~~LINKBACK~~ | ~~LINKBACK~~ | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
blog/remote_debian_updates_using_apt-dater.1317483841.txt.gz · Last modified: 2011-10-01 17:44 by brb