Upgrade CentOS

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Command line)
(Command line)
Line 31: Line 31:
 
=== Command line ===
 
=== Command line ===
 
Alternatively, you can do this
 
Alternatively, you can do this
*1- Login SSH
+
* Login SSH
*2- Run 'yum update' to update packages.
+
* Run 'yum update' to update packages.
*3- Run 'reboot' to restart the host (and use the new installed kernel).
+
* Run 'reboot' to restart the host (and use the new installed kernel).

Revision as of 09:26, 9 July 2015


Contents

Benefits

  • Obtain the CentOS security updates
  • Patch recent vulnerabilities
  • Patch SNMP core files

Applicable Products

  • TMG800, TMG3200, TMG7800-CTRL
  • Tdev Linux server with (CentOS, RedHat, etc) running Toolpack software

Update procedure

WebPortal

The operator can use one of the two methods available: GUI/WebPortal or command line interface.

  • NOTE: WebPortal - TMG unit or Linux server with access to Internet (i.e. with DNS configured)

To upgrade the CentOS to have the latest patches, follow this procedure from the web interface of the unit:

  • Hosts -> Status -> TBxxxxxx -> Action -> Upgrade Linux Packages, then 'Apply Action':

Upgrade Linux Packages.jpg

When the upgrade is in progress, there is no status shown, and you will see the screen like this:

Upgrade Linux Progress.jpg

It may take a while 8-10 mins. You need to refresh the page until you see this:

Centos Upgrade Complete.jpg

Once complete, you need to reboot the host: Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot

Command line

Alternatively, you can do this

  • Login SSH
  • Run 'yum update' to update packages.
  • Run 'reboot' to restart the host (and use the new installed kernel).
Personal tools