SUNScholar/Upgrading/Server Software/Step 3

Back to Upgrading Server

"apticron" setup
To setup emails alerts for required software security upgrades, type the following in a terminal after logging into the server: sudo -i

apt-get install apticron

Edit the apticron config to specify the alert recipient: nano /etc/apticron/apticron.conf Modify the file to send email to the "root" account. See example below. EMAIL="root"
 * 1) apticron.conf
 * 2) set EMAIL to a space separated list of addresses which will be notified of
 * 3) impending updates
 * 1) impending updates

Email setup
Ensure that there is a "root" email alias in the "/etc/aliases" file. nano /etc/aliases

See example below. postmaster:   root root: hgibson@sun.ac.za clamav: root dspace: hgibson@sun.ac.za
 * 1) See man 5 aliases for format

To activate the new alias, type the following: newaliases

Automatic software updates
You can setup automatic updates, however you do this ''' at your own risk. '''
 * https://help.ubuntu.com/16.04/serverguide/automatic-updates.html
 * https://help.ubuntu.com/14.04/serverguide/automatic-updates.html
 * https://help.ubuntu.com/12.04/serverguide/automatic-updates.html
 * https://help.ubuntu.com/10.04/serverguide/automatic-updates.html