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.originalEdit file yum.repost.d
nano /etc/yum.repos.d/CentOS-Base.repoPerbaharui 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
No comments:
Post a Comment