Actions

Offline Repository Procedure for CentOS 5

Revision as of 09:52, 12 September 2022 by Allyntree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article describe 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.

http://repo.telcobridges.com/centos/5/isos/x86_64/tb_centos5_x86_64_repo.iso

Upload TelcoBridges repository to the system

Upload the ISO file to the "/root" directory of the system with scp or an SFTP tool like FileZilla

Mount the ISO file on the system

Mount the ISO file on your system

# mkdir -p /repo/centos/5
# mount -t iso9660 -o loop /root/tb_centos5_x86_64_repo.iso /repo/centos/5

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/5/os/$basearch/

Change [tb-updates] baseurl line to:

baseurl=file:///repo/centos/5/updates/$basearch/

Clean metadata

# yum clean metadata
# yum update