[리눅스] centos 8 stream upgrade
1. repo 주소 변경
yum repolist로 확인
/etc/yum.repos.d/
-- baseurl를 로컬에 구성한 서버로 변경
baseurl :
[로컬서버IP]/repo/baseos/
[로컬서버IP]/repo/appstream/
[로컬서버IP]/repo/extras/
[로컬서버IP]/repo/extras-common/
2. 저장소 추가
-. dnf install epel-release
- /etc/yum.repos.d/ 아래에 epel.repo, epel-modular.repo baseurl 수정
[로컬서버IP]/repo/epel/
[로컬서버IP]/repo/epel-modular/
3. yum clean all
4. dnf update libmodulemd
5. dnf install centos-release-stream -y --allowerasing
6. dnf clean all
7. appstream, baseos, epel, epel-modular, extras, extras-common baseurl 수정
[로컬서버IP]/repo/baseos/
[로컬서버IP]/repo/appstream/
[로컬서버IP]/repo/extras/
[로컬서버IP]/repo/extras-common/
8. dnf clean all
9. dnf update -y
10. reboot
11. repo epel-next 추가 확인
[로컬서버IP]/repo/epel-next/
12. dnf clean all
13. dnf swap centos-{linux,stream}-repos
14. dnf install centos-release-stream
15. dnf distro-sync -y
16. reboot
17. cat /etc/redhat-release, uname -a