Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Created 7/30/2013 aaron.enfield ยท Updated 2/16/2017 aaron.enfield

There are situations where the CSN might not have network access, and installing Caringo software requires access to a repository. If this is your situation, you can create a local repo using the RHEL/ CentOS installation media.

...

2. Next mount the iso. You may have to make the target directory before mounting it.

_mount -o loop,ro /root/centos-xx.iso /root/centos6 _

3. Next, edit the base repo file (/etc/yum.repos.d/Centos-Base.repo ) or create a new one. Add this to the top:


[local]
name=CentOS-$releasever - Local baseurl=file:///root/centos6
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1

4. Now, if you now run yum repolist -v you should see the local packages

NOTE: For CentOS 6.7+ CSN images, avahi packages are on Disk 2 of the CentOS packages. I would suggest copying over the iso files from both CentOS DVDs to a local directory and then reference that local share as above.