HOWTO keep your Ubuntu Server updated with patches and security fixes

Three simple command line to keep your Ubuntu Server updated with patches and security fixes.

  1. sudo apt-get update // This will refresh the list of all available updates. I would recommend running this before you run the upgrade commands to make sure you are getting all the available updates.
  2. sudo apt-get upgrade // This will install almost all updates except some of the big things like kernel updates and things that may require you to restart the system after the change. This will work a large amount of the time. If you however get something similar to “The following packages have been kept back: landscape-common linux-generic-pae linux-headers-generic-pae linux-image-generic-pae” you will need to run the dis-upgrade command and it will require a restart to have the changes applied.
  3. sudo apt-get dist-upgrade // This command will allow you to apply a kernel upgrade or some big changes that will require a restart to take effect. If this is a production survey I would recommend running this off peak hours.

Let’s keep our server box secure.

Source: http://mixeduperic.com/ubuntu/how-to-keep-your-ubuntu-server-updated-with-patches-and-security-fixes-using-the-command-line

Source: Gustavo_Belemmi pixabay

Support @QUE.COM

Founder, QUE.COM Internet Media. | Founder, Yehey.com a Shout for Joy! | MAJ.COM Management of Assets and Joint Ventures. More at KING.NET Ideas to Life.

One thought on “HOWTO keep your Ubuntu Server updated with patches and security fixes

  • September 21, 2020 at 10:41 am
    Permalink

    Run “sudo do-release-upgrade” to upgrade to the latest version of Ubuntu.

    Reply

Leave a Reply

Discover more from QUE.com

Subscribe now to keep reading and get access to the full archive.

Continue reading