Upgrade CentOS

From TBwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{{DISPLAYTITLE: Upgrade CentOS}}
+
{{DISPLAYTITLE: Upgrade CentOS software packages}}
 
__FORCETOC__
 
__FORCETOC__
 
== Benefits ==
 
== Benefits ==
Line 8: Line 8:
 
== Applicable Products ==
 
== Applicable Products ==
 
* TMG800, TMG3200, TMG7800-CTRL
 
* TMG800, TMG3200, TMG7800-CTRL
* Tdev Linux server with (CentOS, RedHat, etc) running Toolpack software
+
* Tdev Linux server (CentOS or RedHat) running Toolpack software
  
 
== TelcoBridges repository ==
 
== TelcoBridges repository ==
The operating OS (CentOS) upgrade is perform from a TelcoBridges copy of the official CentOS packages repository (http://repo.telcobridges.com). If your '''Tmedia unit or Linux server does not have access to Internet''' (or does not have DNS configured), you must configure CentOS update tools to use a local copy TelcoBridges repository.
+
The operating system (CentOS) software upgrade is performed using ''yum'' software package manager. The repositories sites providing RPM packages are configured from /etc/yum.repos.d/. TelcoBridges provides a modified CentOS repository copy (http://repo.telcobridges.com) of the official CentOS repository.  
 +
 
 +
If the '''Tmedia unit or Linux server does not have access to Internet''' (or does not have DNS configured), you should configure an offline CentOS repository on your local machine as explained in the section bellow.
  
 
=== Offline repository configuration ===
 
=== Offline repository configuration ===
Line 18: Line 20:
 
'''CentOS release 5'''.11 (Final)
 
'''CentOS release 5'''.11 (Final)
  
* [[Configure Offline Repository for CentOS5|Configure_Offline_Repository_CentOS5_A]]
+
* [[Configure_Offline_Repository_CentOS5_A|Configure a local offline Repository for CentOS5]]
  
# cat /etc/redhat-release
 
 
'''CentOS Linux release 7'''.2.1511 (Core)  
 
'''CentOS Linux release 7'''.2.1511 (Core)  
* [[Configure Offline Repository for CentOS7|Configure_Offline_Repository_CentOS7_A]]
+
* [[Configure_Offline_Repository_CentOS7_A|Configure a local offline Repository for CentOS7]]
  
== Update procedure ==
+
 
 +
== CentOS software packages update ==
 
The operator can use one of the two methods available: GUI/WebPortal or command line interface.
 
The operator can use one of the two methods available: GUI/WebPortal or command line interface.
 
 
  
 
=== WebPortal ===
 
=== WebPortal ===
To upgrade the CentOS to have the latest patches, follow this procedure from the web interface of the unit:
+
<span style="color:#e68a00">
 +
'''NOTE''': The GUI/WebPortal CentOS packages software upgrade shown below is only offered on TMG product. Tdev Linux server with Toolpack must be upgraded using the Command Line procedure.
 +
</span>
 +
 
 +
To upgrade CentOS software packages, follow this procedure from the web interface of the unit:
 
* Hosts -> Status -> TBxxxxxx -> Action -> Upgrade Linux Packages, then 'Apply Action':
 
* Hosts -> Status -> TBxxxxxx -> Action -> Upgrade Linux Packages, then 'Apply Action':
 
[[Image:Upgrade_Linux_Packages.jpg]]  
 
[[Image:Upgrade_Linux_Packages.jpg]]  
Line 44: Line 48:
 
Once complete, you need to reboot the host:
 
Once complete, you need to reboot the host:
 
Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot
 
Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot
 +
 
=== Command line ===
 
=== Command line ===
 
Alternatively, you can ssh to the TMG and run the following command:
 
Alternatively, you can ssh to the TMG and run the following command:

Revision as of 17:07, 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 (CentOS or RedHat) running Toolpack software

TelcoBridges repository

The operating system (CentOS) software upgrade is performed using yum software package manager. The repositories sites providing RPM packages are configured from /etc/yum.repos.d/. TelcoBridges provides a modified CentOS repository copy (http://repo.telcobridges.com) of the official CentOS repository.

If the Tmedia unit or Linux server does not have access to Internet (or does not have DNS configured), you should configure an offline CentOS repository on your local machine as explained in the section bellow.

Offline repository configuration

First, SSH to your unit do determine which version of the OS your system is using:

# cat /etc/redhat-release

CentOS release 5.11 (Final)

CentOS Linux release 7.2.1511 (Core)


CentOS software packages update

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

WebPortal

NOTE: The GUI/WebPortal CentOS packages software upgrade shown below is only offered on TMG product. Tdev Linux server with Toolpack must be upgraded using the Command Line procedure.

To upgrade CentOS software packages, 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