OS

2022.02.16 16:45

CentOS6 yum update 설정

  • 비아웹 오래 전 2022.02.16 16:45 인기
  • 4,194
    0

현재 많이 설치되어 있는 CentOS 6 은 작년(2020년)에 EOL(End of Life) 되었습니다.

더이상의 업데이트를 지원하지 않는 다는 것이죠.

현재 설치되어 있는 서버들은 운영은 가능하시지만, 보안 업데이트가 더이상 지원 되지 않습니다.

CentOS 6이 EOL 됨으로 인해 업데이트 및 기존 패키지 다운로드 역시 사라졌기에,

yum 을 이용한 패키지 관리가 되지 않습니다.

그래서 vault 를 이용하여 업데이트 하는 방법을 기록합니다.

패키지를 직접 찾아보시고자 하는 경우에는 아래 사이트를 방문해 보시기 바랍니다.

https://vault.centos.org/

1. yum install 화면

repo가 더 이상 유효하지 않습니다.

 

2. /etc/yum/pluginconf.d/fastestmirror.conf 수정

아래와 같이 enalbed=1 을 enabled=0 으로 수정

enabled=0 verbose=0 always_print_best_host =true socket_timeout=3 # Relative paths are relative to the cachedir(and so works for users as well # as root). hostfilepath=timedhosts.txt maxhostfileage=10 maxthreads=15 #exclude=.gov, facebook #include_only=.nl,.de,.uk,.ie

 

3. repo 추가

# vi /etc/yum.repos.d/vault.repo [vault] name=CentOS-$releasever - Vault baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ enabled=1 gpgcheck=1

 

4. yum install test


이상과 같이 yum 을 이용하여 패키지 설치가 가능함이 확인되었습니다.

 

감사합니다.

서버호스팅 비아웹


 

  • 공유링크 복사

    댓글목록

    등록된 댓글이 없습니다.