SUNScholar/Optimisations/Ubuntu Software

From Libopedia
Jump to navigation Jump to search
Back to Optimisations

Introduction

This is optional, however still a good idea to let the server do it's own critical software security updates when you are not around to do it, for example over weekends.

Procedure

Login as the "dspace" user, then perform the following.

Install software:

sudo apt-get install unattended-upgrades

Enable unattended updates

sudo dpkg-reconfigure -plow unattended-upgrades

Enable auto upgrades

sudo nano /etc/apt/apt.conf.d/20auto-upgrades

Add the following;

APT::Periodic::Unattended-Upgrade "1";

Configure what can be upgraded

sudo nano /etc/apt/apt.conf.d/50unattended-upgrades

References