RadarURL

Redhat에서 Yum 사용 에러

by JAESOO posted May 29, 2014
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

yum 을 실행하는 아래와 같은 에러가 발생했다.

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Parsing package install arguments


해결방법( 참조 : http://kkckc.tistory.com/59 )

1. /etc/yum.repos.d/rhel-debuginfo.repo 파일을 백업하고 삭제한다.

2. /etc/yum/pluginconf.d/rhnplugin.conf 을 수정합니다.

[main]

enabled = 0

gpgcheck = 1


[rhel-i386-server-5]

enabled = 1


3. /etc/yum.repos.d/aaaa.repo 생성( 확장자가 repo 이면됨 )

4. vi /etc/yum.repos.d/aaaa.repo

   서버 OS가  Red Hat Enterprise 였으나 아래처럼해도 잘 되었음.

# Cent.repo

[base]

name=CentOS-5 - Base

baseurl=http://mirror.centos.org/centos/5/os/$basearch/

gpgcheck=1

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


#released updates

[updates]

name=CentOS-5 - Updates

baseurl=http://mirror.centos.org/centos/5/updates/$basearch/

gpgcheck=1

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


#packages used/produced in the build but not released

[addons]

name=CentOS-5 - Addons

baseurl=http://mirror.centos.org/centos/5/addons/$basearch/

gpgcheck=1

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


#additional packages that may be useful

[extras]

name=CentOS-5 - Extras

baseurl=http://mirror.centos.org/centos/5/extras/$basearch/

gpgcheck=1

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


#additional packages that extend functionality of existing packages

[centosplus]

name=CentOS-5 - Plus

baseurl=http://mirror.centos.org/centos/5/centosplus/$basearch/

gpgcheck=1

enabled=0

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


5. yum install php-devel


설치가 잘됨.


출처 : http://blog.naver.com/koku_ma/70115638666

TAG •

Articles

1 2 3 4 5 6 7 8 9