Como utilizar el repositorio local de Centos 6

El repositorio local de centos es un mirror actualizado (una copia idéntica). Se actualiza todos los días.

Se encuentra en http://www.fisica.cabib/centos

Centos 6 ISOs  i386  x86_64

Modifique la información de repositorio para acceder al mirror local, ejemplo:

/etc/yum.repos.d/Centos-Base.repo

 

[base]

name=CentOS-$releasever - Base

baseurl=http://www.fisica.cabib/centos/$releasever/os/$basearch/

gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates

[updates]

name=CentOS-$releasever - Updates

baseurl=http://www.fisica.cabib/centos/$releasever/updates/$basearch/

gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful

[extras]

name=CentOS-$releasever - Extras

baseurl=http://www.fisica.cabib/centos/$releasever/extras/$basearch/

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

 

 

Como utilizar el repositorio local de Centos 7

Centos 7 ISOs x86_64

/etc/yum.repos.d/Centos-Base.repo

 

[base]

name=CentOS-$releasever - Base

baseurl=http://www.fisica.cabib/centos/$releasever/os/$basearch/

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates

[updates]

name=CentOS-$releasever - Updates

baseurl=http://www.fisica.cabib/centos/$releasever/updates/$basearch/

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful

[extras]

name=CentOS-$releasever - Extras

baseurl=http://www.fisica.cabib/centos/$releasever/extras/$basearch/

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7