Keeping Your Hosted Ubuntu Web Server Software Up to Date

To setup automatic security updates follow the instructions from Ubuntu.

To run security update manually

[bash]sudo unattended-upgrade[/bash]

A full update of all packages can be done using the follow, remember this may create some issues is one update makes something else you have no longer work properly. You should test to make sure things all work after the updates (for production systems obviously you should test things before [first updating the staging server to make sure the updates don’t cause any problems] and after the updates).

First update the local package index (to find what needs to be upgraded).

[bash]sudo apt-get update[/bash]

Then upgrade the software.

[bash]sudo apt-get upgrade[/bash]

5 thoughts on “Keeping Your Hosted Ubuntu Web Server Software Up to Date

  1. Pingback: Testing Email Using The Ubuntu CLI | Coding and Server Syntax Examples

  2. Pingback: Setting Up 2 Factor Authentication for Gmail | Coding and Server Syntax Examples

  3. Pingback: Upgrading VPS Web Server from Ubuntu 10.04 to 12.04 | Coding and Server Syntax Examples

  4. Pingback: ModSecurity – Adjustments for Wordpress | Coding and Server Syntax Examples

  5. Pingback: Turn It Off and On Again | Coding and Server Syntax Examples

Leave a Reply

Your email address will not be published. Required fields are marked *

This Blog will give regular Commentators DoFollow Status. Implemented from IT Blögg