Solusi Repository CentOS 6 yang sudah End of Life (EOL)

Untuk beberapa server  yang tidak dimungkinkan untuk upgrade OS dari CentOS 6 ke CentOS 7 atau 8 mau tidak mau harus tetap bisa digunakan untuk kepeluan update/install/remove. Karena sudah EOL tentunya sudah tidak bisa lagi mendapatkan update sehingga pasti akan menyebabkan proses install/update akan terhambat/gagal.

Berikut informasi resmi repository dari CentOS 6 = http://mirror.centos.org/centos/6/readme

This directory (and version of CentOS) is deprecated.
Please see this FAQ concerning the CentOS release scheme:https://wiki.centos.org/FAQ/General

Please keep in mind that 6.0, 6.1, 6.2, 6.3, 6.4 , 6.5, 6.6, 6.7, 6.8 , 6.9 and 6.10 no longer get any updates, norany security fix's.The whole CentOS 6 is *dead* and *shouldn't* be used anywhere at *all*
Setelah browsing beberapa artikel ditemukan akhirnya ditemukan salah satu solusi dari https://www.getpagespeed.com/server-setup/how-to-fix-yum-after-centos-6-went-eol

Yakni, gunakan CentOS Vault repository. caranya juga simple yakni cuma ganti url repository.

curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo

* Backup dulu Centos-Base.repo sebelumnya ya :)

Setelah itu bisa lakukan proses yum upgrade untuk mendapatkan update sampai ke CentOS 6.10

Berikut hasilnya dari CentOS 6.8 (Final) menjadi CentOS 6.10 (Final):

[root@idcloud02 ~]# more /etc/redhat-release
CentOS release 6.8 (Final)
[root@idcloud02 ~]# more /etc/redhat-release
CentOS release 6.10 (Final)
Bagi yang menggunakan EPEL repository
curl https://www.getpagespeed.com/files/centos6-epel-eol.repo --output /etc/yum.repos.d/epel.repo

Semoga membantu.

Tags:
  • # Centos
  • Mutiara Hadist: Hebatnya Shalat 5 Waktu

    Dari Abu Hurairah R.a. Berkata: Saya Telah Mendengar Rasulullah Saw Bersabda, Bagaimanakah Pendapatmu Seumpama Ada Sebuah Sungai Di Muka Pintu Salah Seorang Dari Kamu, Lalu Ia Mandi Daripadanya Setiap Hari Lima Kali, Apakah Masih Ada Tertinggal Kotorannya?" Para Sahabat Menjawab, "Tidak." Nabi Saw Bersabda, "Maka Demikianlah Shalat Lima Waktu, Allah Akan Menghapuskan Dosa-dosa Dengannya."

    TOP