IKLAN

Theme images by kelvinjay. Powered by Blogger.

Tutorial

HEBOH

Kuliner

Youtube Tutorial

Games

Lowongan Kerja

OpenSource

» » » Cara Merubah Repository Centos 6 (VPS)

berubung teman saya meminta tutorial bagaimana cara mengganti repostory centos 6, berhubung repo asli koneksi sangat lemot karena menggunakan vps lokal

1. langkah pertama silahkan login ke vps kalian



2. pindah ke direktory /etc/yum.repos.d/
 cd /etc/yum.repos.d/
3. lihat direktori listnya, dengan cara ketik ls
CentOS-Base.repo       CentOS-Media.repo  epel-testing.repo  remi.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo  epel.repo          vz.repo
4. backup,
CentOS-Base.repo adalah repo bawaan vps kamu, backup dulu sebelum dirubah, caranya
# cp CentOS-Base.repo CentOS-Base.repo.backup
5. remove repo dan buat repo baru
# rm CentOS-Base.repo
# nano CentOS-Base.repo
6. isikan repository local
[CentOS Plus]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/centosplus/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Contrib]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/contrib/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Extras]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/extras/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Fasttrack]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/fasttrack/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[OS]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/os/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Update]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/updates/i386/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
 simpan dengan cara ctrl+x lalu tekan y > enter
7. update repo
# yum update

semoga membantu

«
Next
Newer Post
»
Previous
Older Post