File: README

package info (click to toggle)
apt-dater 0.9.0-3%2Bwheezy1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,752 kB
  • sloc: ansic: 5,962; sh: 3,800; perl: 1,169; xml: 464; makefile: 181; sed: 16
file content (39 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
README for apt-dater
====================

With apt-dater you can easily keep one ore more (Debian) GNU/Linux
hosts up to date.


Pre-configuration on your management server:

  Copy and modify the apt-dater.conf:
    cp conf/apt-dater.conf.example $HOME/.config/apt-dater/apt-dater.conf

  Copy and modify the hosts.conf:
    cp conf/hosts.conf.example $HOME/.config/apt-dater/hosts.conf 

  Copy and modify the screenrc:
    cp conf/screenrc.example $HOME/.config/apt-dater/screenrc


Managed hosts by apt-dater:

  You need a SSH server and sudo installed. Create a user which will
  be used to install updates (using root is NOT recommended).
  Modify the /etc/sudoers:

	Defaults env_reset,env_keep=MAINTAINER
	the-user ALL=NOPASSWD: /usr/bin/apt-get, /usr/bin/aptitude 


Management server:

  Create a user on your management server which perform updates on your
  Debian hosts.

  Generate a SSH keypair:
    ssh-keygen [-t TYPE]

  Distribute the public key(s) e.g.:
    ssh-copy-id -i ~/.ssh/your-public-key managed-host