Configure Offline Repository CentOS7 A: Difference between revisions
(Fixed link again and added the file size) |
|||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Offline Repository Procedure for CentOS 7}} | {{DISPLAYTITLE:Offline Repository Procedure for CentOS 7}} | ||
This | This describes the configuration of CentOS packages manager for a system that does not have access to TelcoBridges repository (no internet access). | ||
== Download TelcoBridges repository == | == Download TelcoBridges repository == | ||
Download the | Download the ISO image of TelcoBridges repository on a machine that has access to the system. | ||
* Minimal version is here: [https://repo.telcobridges.com/centos/7/isos/x86_64/tb_centos7_x86_64_repo_minimal.iso tb_centos7_x86_64_repo_minimal.iso] (2025.07 0.9GB) | |||
* Full version is here: [https://repo.telcobridges.com/centos/7/isos/x86_64/tb_centos7_x86_64_repo.iso tb_centos7_x86_64_repo.iso] (2025.07 6.6GB) | |||
== Upload TelcoBridges repository to the system == | == Upload TelcoBridges repository to the system == | ||
Upload the | Upload the ISO file to the "/root" directory of the system with scp or a SFTP tool like [http://filezilla-project.org/ FileZilla] | ||
== Mount the | == Mount the ISO file on the system == | ||
Mount the | Mount the ISO file on your system | ||
# mkdir -p /repo/centos/7 | # mkdir -p /repo/centos/7 | ||
# mount -t iso9660 -o loop /root/tb_centos7_x86_64_repo.iso /repo/centos/7 | # mount -t iso9660 -o loop /root/tb_centos7_x86_64_repo.iso /repo/centos/7 | ||
== Change TelcoBridges repository file == | == Change TelcoBridges repository file == | ||
| Line 26: | Line 23: | ||
baseurl=file:///repo/centos/7/os/$basearch/ | baseurl=file:///repo/centos/7/os/$basearch/ | ||
== | == Update CentOS 7 == | ||
# yum clean metadata | # yum clean metadata | ||
# yum update | |||
== Delete ISO file == | |||
Since the repository file is quite large, it is better to delete it after the update is complete: | |||
# rm /root/*repo.iso | |||
== Other Links == | |||
* Here is a link to [[Upgrade_Telcobridges_Linux|upgrade the Telcobridges Linux]] | |||
* Here is a link to [[Configure_Offline_Repository|Update a TelcoBridges linux OS without internet access]] | |||
* Here is a link to [[Configure_Offline_Repository_CentOS5_A|Update a CentOS 5 operating system without internet access]] | |||
Latest revision as of 08:12, 22 July 2025
This describes the configuration of CentOS packages manager for a system that does not have access to TelcoBridges repository (no internet access).
Download TelcoBridges repository
Download the ISO image of TelcoBridges repository on a machine that has access to the system.
- Minimal version is here: tb_centos7_x86_64_repo_minimal.iso (2025.07 0.9GB)
- Full version is here: tb_centos7_x86_64_repo.iso (2025.07 6.6GB)
Upload TelcoBridges repository to the system
Upload the ISO file to the "/root" directory of the system with scp or a SFTP tool like FileZilla
Mount the ISO file on the system
Mount the ISO file on your system
# mkdir -p /repo/centos/7 # mount -t iso9660 -o loop /root/tb_centos7_x86_64_repo.iso /repo/centos/7
Change TelcoBridges repository file
Edit the TB-Base.repo file
# vim /etc/yum.repos.d/TB-Base.repo
Change [tb-base] baseurl line to:
baseurl=file:///repo/centos/7/os/$basearch/
Update CentOS 7
# yum clean metadata # yum update
Delete ISO file
Since the repository file is quite large, it is better to delete it after the update is complete:
# rm /root/*repo.iso
Other Links
- Here is a link to upgrade the Telcobridges Linux
- Here is a link to Update a TelcoBridges linux OS without internet access
- Here is a link to Update a CentOS 5 operating system without internet access