Skip to content

ellguth/apt-dater

 
 

Repository files navigation

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

About

terminal-based remote package update manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 78.4%
  • Shell 19.9%
  • XSLT 1.3%
  • Objective-C 0.4%