Tuesday, 21 November 2017

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

No comments:

Post a Comment

Reset Password Administrator Windows Server2012

Instructions To reset the password on your Windows 2012 server, simply complete the following steps: Boot from the Micrsoft Windows Ser...