Setting Repository CentOS ITB

Buat yang pengen ngoprek CentOS dari dalam ITB, kalian bisa memanfaatkan repository CentOS yang ada di ITB. Gw menggunakan CentOS 5.4 versi 64 bit. Edit isi dari /etc/yum.repos.d/CentOS-Base.repo menjadi seperti ini:

[Add Ons]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/addons/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

[CentOS Plus]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

[Extras]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

[Fasttrack]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

[OS]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

[Update]
name=CentOS
baseurl=ftp://ftp.itb.ac.id/pub/CentOS/5.4/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.itb.ac.id/pub/CentOS/RPM-GPG-KEY-CentOS-5

Setelah itu, coba masukkan perintah yum update. Kalau berhasil, berarti sudah beres. Kalau ada kesalahan seperti misalnya pesan checksum mismatch, itu salah admin FTPnya, dan bukan salah anda😛

5 thoughts on “Setting Repository CentOS ITB

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s