Mengganti Repo CentOS 7 Ke Lokal

Login sebagai root

Backup file yum.repos.d yang aslinya.
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.original
Edit file yum.repost.d 
nano /etc/yum.repos.d/CentOS-Base.repo
Perbaharui isi filenya atau bisa ditambahkan juga
# CentOS-Base.repo
# http://
boyo.its.ac.id/centos/7.4.1708/

[CentOS Plus]
name=CentOS
baseurl=http://boyo.its.ac.id/centos/7.4.1708/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://
boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Extras]
name=CentOS
baseurl=
http://boyo.its.ac.id/centos/7.4.1708/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://
boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Fasttrack]
name=CentOS
baseurl=
http://boyo.its.ac.id/centos/7.4.1708/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://
boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[OS]
name=CentOS
baseurl=
http://boyo.its.ac.id/centos/7.4.1708/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://
boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

[Update]
name=CentOS
baseurl=
http://boyo.its.ac.id/centos/7.4.1708/updates/x86_64/
enabled=1

gpgcheck=1
gpgkey=http://
boyo.its.ac.id/centos/RPM-GPG-KEY-CentOS-7

Comments

Popular posts from this blog

Pujian Setelah Adzan

MySQL error 1146: "table doesn't exist" Ketika sedang membackup