Technical Note: Operating System update procedure for sites without external access
Description
Solution
1. Obtain RPMs found on http://downloads.bradfordnetworks.com/pub/centos-repos/STABLE/7/updates/x86_64/
If downloading to a Linux platform type:
wget -r -l1 --no-parent -A.rpm downloads.bradfordnetworks.com/pub/centos-repos/STABLE/7/updates/x86_64/
2. Copy all the RPMs to a accessible media form (FTP, Web server, etc) or local directory on the appliance.
3. On each appliance, edit /etc/yum.repos.d/bradford.repo and change the baseurl to point to the area created in step 2, specifying the applicable protocol.
Example
To one of the following:
FTP or HTTP to local server
baseurl=ftp://yourupdateserver/pub/bradford-updates/
baseurl=http://yourupdateserver/pub/bradford-updates/
HTTP to downloads.bradfordnetworks.com
baseurl=http://downloads.bradfordnetworks.com/pub/bradford-updates/STABLE/$releasever/updates/$basearch/
Local directory on the appliance
baseurl=file:///yourupdate_local_directory
4. Run the update on each appliance. Type
yum update
5. Once updates have been applied, gracefully shut down management processes and reboot. For instructions, refer to related KB article below.
This article provides steps to complete an Operating System update for sites where some or all of the appliances do not have access to the internet.
Note: This process can only be done via CLI.
The below information, as well as other details on updating CentOS, can be found in the Fortinet Document Library.
Solution
1. Obtain RPMs found on http://downloads.bradfordnetworks.com/pub/centos-repos/STABLE/7/updates/x86_64/
If downloading to a Linux platform type:
wget -r -l1 --no-parent -A.rpm downloads.bradfordnetworks.com/pub/centos-repos/STABLE/7/updates/x86_64/
2. Copy all the RPMs to a accessible media form (FTP, Web server, etc) or local directory on the appliance.
3. On each appliance, edit /etc/yum.repos.d/bradford.repo and change the baseurl to point to the area created in step 2, specifying the applicable protocol.
Example
Change from:
baseurl=ftp://downloads.bradfordnetworks.com/pub/bradford-updates/STABLE/$releasever/updates/$basearch/
FTP or HTTP to local server
baseurl=ftp://yourupdateserver/pub/bradford-updates/
baseurl=http://yourupdateserver/pub/bradford-updates/
HTTP to downloads.bradfordnetworks.com
baseurl=http://downloads.bradfordnetworks.com/pub/bradford-updates/STABLE/$releasever/updates/$basearch/
Local directory on the appliance
baseurl=file:///yourupdate_local_directory
4. Run the update on each appliance. Type
yum update
5. Once updates have been applied, gracefully shut down management processes and reboot. For instructions, refer to related KB article below.
Related Articles
Technical Note: How to reboot Control and Application servers via CLI
