CentOS 6 Update Repo 종료에 따른 해결 방안, 종료일 2020년 11월 30일.

* 오직 64비트에서만

# Always check ntp
ntpdate time.google.com

# clear yum cache
rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v
yum clean all
rm -rf /var/cache/yum

# make new repo with vault.centos
mkdir -p /var/cache/yum/x86_64/6/base/
mkdir -p /var/cache/yum/x86_64/6/extras/
mkdir -p /var/cache/yum/x86_64/6/updates/

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

# makecache
yum makecache

# Test install for wget and rsyslogd v8
yum install -y wget
wget http://rpms.adiscon.com/v8-stable/rsyslog.repo
mv rsyslog.repo /etc/yum.repos.d/rsyslog.repo
yum info rsyslog –skip-broken
yum install -y rsyslog
yum install -y rsyslog-mmnormalize
rsyslogd -version


외부 참고 사이트