Upgrade CentOS

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Command line)
Line 30: Line 30:
 
Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot
 
Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot
 
=== Command line ===
 
=== Command line ===
Alternatively, you can do this
+
Alternatively, you can ssh to the TMG and run the following command:
* Login SSH
+
# yum update
* Run 'yum update' to update packages.
+
 
* Run 'reboot' to restart the host (and use the new installed kernel).
+
Reboot the TMG unit
 +
# reboot

Revision as of 09:17, 16 May 2016


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 ssh to the TMG and run the following command:

# yum update

Reboot the TMG unit

# reboot
Personal tools