반응형
1.yum 패키지 설치
다음은 RHEL4에 yum을 설치할때 필요한 패키지들이고, 순서대로 설치하면 된다.
1. libsqlite-3.2.1-1.i386.rpm
2. python-elementtree-1.2.6-7.el4.rf.i386.rpm
3. python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
4. python-urlgrabber-2.9.6-1.2.el4.rf.noarch.rpm
5. yum-2.4.2-0.4.el4.rf.noarch.rpm
cd /etc/yum.repos.d/
vi RedHat-Base.repo
[base]
name=RedHat-$releasever - Base
baseurl=http://ftp.daum.net/centos/4.7/os/x86_64/
gpgcheck=1
#released updates
[update]
name=RedHat-$releasever - Updates
baseurl=http://ftp.daum.net/centos/4.7/updates/x86_64/
gpgcheck=1
==================================================
vi /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
==============================================================================
안될 때
rpm --import http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-4
yum list
다음은 RHEL4에 yum을 설치할때 필요한 패키지들이고, 순서대로 설치하면 된다.
1. libsqlite-3.2.1-1.i386.rpm
2. python-elementtree-1.2.6-7.el4.rf.i386.rpm
3. python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
4. python-urlgrabber-2.9.6-1.2.el4.rf.noarch.rpm
5. yum-2.4.2-0.4.el4.rf.noarch.rpm
cd /etc/yum.repos.d/
vi RedHat-Base.repo
[base]
name=RedHat-$releasever - Base
baseurl=http://ftp.daum.net/centos/4.7/os/x86_64/
gpgcheck=1
#released updates
[update]
name=RedHat-$releasever - Updates
baseurl=http://ftp.daum.net/centos/4.7/updates/x86_64/
gpgcheck=1
==================================================
vi /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
==============================================================================
안될 때
rpm --import http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-4
yum list
반응형
'OS > LINUX' 카테고리의 다른 글
LINUX SWAP파일 추가하기 (0) | 2009.09.07 |
---|---|
Linux 성능 조정 - tcp (0) | 2009.03.13 |
LINUX 해킹당했을 때 대처요령 (0) | 2008.11.17 |
RPM src install (0) | 2008.06.24 |
rpm 아키택쳐 버젼까지 확인방법 (0) | 2008.05.31 |