Standard server maintaince question

Hello guys, I have a Discourse forum that I created last year. It has been up and running for over 12 months. I deployed it via DigitalOcean one-click app.

Server specs: Ubuntu, 2GB / 1CPU.

My question is, how do I keep it up to date and secure? The only maintenance I’ve done is upgrading my Discourse and Docker version to the latest version via the Discourse Admin Dashboard. Is there anything else that I have to do?

i would strongly suggest you turn on automatic security updates. Use the dpkg-reconfigure -plow unattended-upgrades command.

If you are using a password and not a SSH key, be sure to enforce a strong root password. Use the apt install libpam-cracklib package. Also recommend fail2ban which blocks any IP addresses for 10 minutes that attempt more than 3 password retries. apt install fail2ban

Once in a while, log into the console and do the following commands:

  1. apt-get update
  2. apt-get upgrade

Thanks for your help.

All I have to do is SSH into my server and type in the command dpkg-reconfigure -plow unattended-upgrades right? No need to go into any specific folder?

correct. it will do a few things.