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

EM @QUE.COM

Founder, QUE.COM Game Studios. | Founder, Yehey.com a Shout for Joy! |
MAJ.COM Management of Assets and Joint Venture |

More at KING.NET Ideas to Life | Network of Innovation |

Send your Tip to my Bitcoin/Ethereum or other crypto currency.

Leave a Reply