1. yum.conf파일 수정 및 추가
-----[ 64bit 일 경우]-----
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
[base]
name=Red Hat Enterprise Linux $releasever - $basearch - Base
baseurl=http://centos.mirror.cdnetworks.com/5.5/os/x86_64
[updates]
name=Red Hat Enterprise Linux $releasever - $Updates
baseurl=http://centos.mirror.cdnetworks.com/5.5/os/x86_64
http://centos.mirror.cdnetworks.com/5.5/updates/x86_64
2. rpmforge 설치
64bit
# wget -c http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -ivh {해당패키지명}
3. rhel-debuginfo.repo 파일이름 변경 혹은 삭제
# mv /etc/yum.repos.d/rhel-debuginfo.repo /etc/yum.repos.d/rhel-debuginfo.repo.bak
4. 업데이트 실행
# yum -y update
5. 설치완료 확인
# cat /etc/redhat-release
CentOS release 5.5 (Final)
6. crontab.daily 수정
# vi /etc/cron.daily/yum.cron
#!/bin/sh
/usr/bin/yum -e 0 -y --skip-broken update yum
/usr/bin/yum -e 0 -y --skip-broken update
RHEL yum 업데이트 서버 변경 (라이센스 없이 update)
■ rpmforge 설치 (이건 보조로 yum으로 안찾아지는 것을 더 찾아서 업데이트해주는 역할)
1. 32bit
wget -c http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
2. 64bit
wget -c http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -ivh {해당패키지명}
■ yum.conf 파일수정 (32bit) ---- 2011.10.13 ftp 서버를 '다음'으로 변경경
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=Red Hat Enterprise Linux $releasever - $basearch - Base
baseurl=http://ftp.daum.net/centos/5.6/os/i386
[updates]
name=Red Hat Enterprise Linux $releasever - $Updates
baseurl=http://ftp.daum.net/centos/5.6/os/i386
http://ftp.daum.net/centos/5.6/updates/i386
'Linux(OS)' 카테고리의 다른 글
ASM에서 disk 추가 및 삭제 (0) | 2013.12.09 |
---|---|
Oracle 11g RAC_ASM (0) | 2013.12.02 |
Red Hat Enterprise Linux 6 Installation (0) | 2013.05.18 |
Veritas Volume Manager (0) | 2012.07.31 |
LVM(Logical Volume Manager) (0) | 2012.07.25 |