wget 설치

1. CentOS 6

1-1. Change Base CentOS repo

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.org
wget https://rpms.plura.io/module/baseurl/6/CentOS-Base.repo -O /etc/yum.repos.d/CentOS-Base.repo
mv /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6.org
wget https://rpms.plura.io/module/baseurl/6/RPM-GPG-KEY-CentOS-6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

1-2. Install epel

mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.org
wget https://rpms.plura.io/module/baseurl/6/epel.repo -O /etc/yum.repos.d/epel.repo
mv /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6.org
wget https://rpms.plura.io/module/baseurl/6/RPM-GPG-KEY-EPEL-6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

or

yum install https://rpms.plura.io/module/baseurl/6/epel-release-latest-6.noarch.rpm
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.org
wget https://rpms.plura.io/module/baseurl/6/epel.repo -O /etc/yum.repos.d/epel.repo

2. CentOS 7

2-1. Change Base CentOS repo

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.org
wget https://rpms.plura.io/module/baseurl/7/CentOS-Base.repo -O /etc/yum.repos.d/CentOS-Base.repo
mv /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7.org
wget https://rpms.plura.io/module/baseurl/7/RPM-GPG-KEY-CentOS-7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

2-2. Install epel

mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.org
wget https://rpms.plura.io/module/baseurl/7/epel.repo -O /etc/yum.repos.d/epel.repo
mv /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7.org
wget https://rpms.plura.io/module/baseurl/7/RPM-GPG-KEY-EPEL-7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

or

yum install https://rpms.plura.io/module/baseurl/7/epel-release-latest-7.noarch.rpm
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.org
wget https://rpms.plura.io/module/baseurl/7/epel.repo -O /etc/yum.repos.d/epel.repo

Last updated