Cara upgrade Centos 7 ke Centos 8
Step by Step Preparing
- Install EPL repository
# yum install epel-release -y
- Install yum-utils
# yum install yum-utils
- Resolves RPM package
# yum install rpmconf # rpmconf -a
- Clean up semua package
# package-cleanup --leaves # package-cleanup --orphans
- Install dnf di Centos 7
# yum install dnf
- Remove yum package Manager
# dnf -y remove yum yum-metadata-parser # rm -Rf /etc/yum
- Upgrading centos 7 ke 8
# dnf upgrade
- Install package centos 8
dnf -y upgrade http://mirror.bytemark.co.uk/centos/8/BaseOS/x86_64/os/Packages/centos-release-8.0-0.1905.0.9.el8.x86_64.rpm
- Upgrade EPEL repo
dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- Remove temporary file
# dnf clean all
- Remove old kernel centos 7
# rpm -e `rpm -q kernel`
- Remove conflicting packages
# rpm -e --nodeps sysvinit-tools
- Jalankan system upgrade centos 8
# dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync
- Install kernel centos 8
# dnf -y install kernel-core
- Install minimal package centos 8
# dnf -y groupupdate "Core" "Minimal Install"
- Check versi centos
# cat /etc/redhat-release
Di tulis oleh: Nanda Anubis