redhat.yum daum repo, centos repo 설정
Server 관리/LinuxRHEL 은 레드햇 상용 리눅스라, 유료 입력키가 없으면 레드햇 Repo (yum) 사용 불가 .
cd /etc/yum.repos.d/
vi centos.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://centos.mirror.cdnetworks.com/6/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[updates]
name=CentOS-$releasever - Updates
baseurl=http://centos.mirror.cdnetworks.com/6/updates/x86_64/
gpgcheck=l
[extras]
name=CentOS-$releasever - Extras
baseurl=http://centos.mirror.cdnetworks.com/6/extras/x86_64/
gpgcheck=l
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
> rpm --import http://centos.mirror.cdnetworks.com/6/os/x86_64/RPM-GPG-KEY-CentOS-6
vi daum.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.daum.net/centos/7/os/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
baseurl=http://ftp.daum.net/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.daum.net/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://ftp.daum.net/centos/7/centosplus/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
> yum repolist 로 확인
'Server 관리 > Linux' 카테고리의 다른 글
서버 재시작시, Apache/Tomcat/MySQL 자동 재시작 (0) | 2021.03.04 |
---|---|
SELinux, 보안 (0) | 2020.04.23 |
OpenSSH 설치 (0) | 2020.04.08 |
RedHat.7.설치후 Subscription.YUM사용하려면필요 (0) | 2020.01.23 |
(작성중) Centos.Command.yum command list (0) | 2020.01.23 |