Repository CentOS 6.x [WORK]

Susah mencari reposiroty untuk CentOS 6.x ini catatan saya, saat ditulis masih bisa digunakan. Bila sudah tidak bisa ya, kita cari yang lain

Download Repository CentOS 6.x

wget -P /etc/yum.repos.d https://mapoo.net/downfiles/Linux/repo/centos-vault.repo --no-check-certificate

Backup dulu file /etc/yum.repo.d/CentOS-Base.repo kemudian file tersebut edit menggunakan repo hasil download

Berikut ini dari hasil download

[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.iij.ad.jp/pub/linux/centos-vault/centos/$releasever/os/$basearch/
gpgcheck=0
priority=1
protect=1

[update]
name=CentOS-$releasever - Updates
baseurl=http://ftp.iij.ad.jp/pub/linux/centos-vault/centos/$releasever/updates/$basearch/
gpgcheck=0
priority=1
protect=1

[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.iij.ad.jp/pub/linux/centos-vault/centos/$releasever/extras/$basearch/
gpgcheck=0
priority=1
protect=1

Jalankan perintah

yum clean all
yum makecache

atau menggunakan Repository CentOS 6.x

[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.uem.br/linux/CentOS/$releasever/os/$basearch/
gpgcheck=0
priority=1
protect=1

[update]
name=CentOS-$releasever - Updates
baseurl=http://ftp.uem.br/linux/CentOS/$releasever/updates/$basearch/
gpgcheck=0
priority=1
protect=1

[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.uem.br/linux/CentOS/$releasever/extras/$basearch/
gpgcheck=0
priority=1
protect=1

perintah terakhir dijalankan

yum clean all
yum makecache
yum update

Sekian catatan saya ini.