Upgrade CentOS: Difference between revisions
No edit summary |
(Added category FAQ and link to repo) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 7: | Line 7: | ||
== Applicable Products == | == Applicable Products == | ||
* TMG800, TMG3200, TMG7800-CTRL | * TMG800, TMG3200, TMG7800-CTRL, TSBC, FreeSBC, ProSBC | ||
* TSG800, TSG3200 | |||
* Tdev Linux server (CentOS or RedHat) running Toolpack software | * Tdev Linux server (CentOS or RedHat) running Toolpack software | ||
Line 13: | Line 14: | ||
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. | 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 ''' | If the '''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 22: | Line 23: | ||
* [[Configure_Offline_Repository_CentOS5_A|Configure a local offline Repository for CentOS5]] | * [[Configure_Offline_Repository_CentOS5_A|Configure a local offline Repository for CentOS5]] | ||
'''CentOS Linux release 7''' | '''CentOS Linux release 7'''(Core) | ||
* [[Configure_Offline_Repository_CentOS7_A|Configure a local offline Repository for CentOS7]] | * [[Configure_Offline_Repository_CentOS7_A|Configure a local offline Repository for CentOS7]] | ||
Line 30: | Line 31: | ||
=== WebPortal === | === WebPortal === | ||
To upgrade CentOS software packages, follow this procedure from the web interface of the unit: | 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': | ||
Line 50: | Line 47: | ||
=== Command line === | === Command line === | ||
Alternatively, you can ssh to the | Alternatively, you can ssh to the unit and run the following command: | ||
# yum clean all | |||
# yum update | # yum update | ||
# yum group update | |||
Reboot the | Reboot the unit | ||
# reboot | # reboot | ||
<br> | |||
Here is a link to the main [https://repo.telcobridges.com/centos/7/os/x86_64/Packages/ TelcoBridges repository] | |||
<br> | |||
[[category:FAQ]] |
Latest revision as of 11:08, 11 January 2023
Benefits
- Obtain the CentOS security updates
- Patch recent vulnerabilities
- Patch SNMP core files
Applicable Products
- TMG800, TMG3200, TMG7800-CTRL, TSBC, FreeSBC, ProSBC
- TSG800, TSG3200
- 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 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(Core)
CentOS software packages update
The operator can use one of the two methods available: GUI/WebPortal or command line interface.
WebPortal
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':
When the upgrade is in progress, there is no status shown, and you will see the screen like this:
It may take a while 8-10 mins. You need to refresh the page until you see this:
Once complete, you need to reboot the host: Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot
Command line
Alternatively, you can ssh to the unit and run the following command:
# yum clean all # yum update # yum group update
Reboot the unit
# reboot
Here is a link to the main TelcoBridges repository