Actions

Configure Offline Repository CentOS5 A: Difference between revisions

(Removed the permanent mount point)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Offline Repository Procedure for CentOS 5}}
{{DISPLAYTITLE:Offline Repository Procedure for CentOS 5}}


This page shows how to configure CentOS packages manager for a system that does not have access to Telcobridges repository (no internet access).
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 TelcoBridges repository ==
Download the .iso image of TelcoBridges repository on a machine that have access to the system.
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
  http://repo.telcobridges.com/centos/5/isos/x86_64/tb_centos5_x86_64_repo.iso


== Upload TelcoBridges repository to the system ==
== Upload TelcoBridges repository to the system ==
Upload the .iso file to the "/root" directory of the system with scp or a SFTP tool like [http://filezilla-project.org/ FileZilla]
Upload the ISO file to the "/root" directory of the system with scp or an SFTP tool like [http://filezilla-project.org/ FileZilla]


== Mount the .iso file on the system ==
== Mount the ISO file on the system ==
Mount the .iso file on your system
Mount the ISO file on your system
  # mkdir -p /repo/centos/5
  # mkdir -p /repo/centos/5
  # mount -t iso9660 -o loop /root/tb_centos5_x86_64_repo.iso /repo/centos/5
  # mount -t iso9660 -o loop /root/tb_centos5_x86_64_repo.iso /repo/centos/5
Line 28: Line 28:
  # yum clean metadata
  # yum clean metadata
  # yum update
  # yum update
== 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_CentOS7_A|Update a CentOS 7 operating system without internet access]]

Latest revision as of 14:20, 13 June 2024


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

Other Links