본문 바로가기

Linux

CentOS 6.10에서 yum 을 사용하여 update 하기

[ 2023.08.03 작성 ]

 

CentOS 6 버전에서 레포지토리가 변경되어, 설치후 바로 update를 할 수 없다.

아래 명령어를 먼저 수행하여 진행하면 된다.

 

# echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt
# echo "https://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
# echo "https://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt