System Updates
One of the most important things you can do to keep your node secure is to make sure your system is up to date.
To see a list of available updates, run the following command:
sudo apt update
This will list all the available updates but it will not install them. To install the updates, run the following command:
sudo apt dist-upgrade -y
Automating the update process
You can also automate the update process by enabling unattended upgrades. This will allow the system to automatically update your system when a new update is available.
- Install unattended-upgrades
sudo apt install unattended-upgrades
- Enable unattended upgrades
dpkg-reconfigure --priority=low unattended-upgrades
- When prompted, choose
Yes
to enable unattended upgrades.