Cara upgrade Centos 7 ke Centos 8


Step by Step Preparing

  1. Install EPL repository
    # yum install epel-release -y
  2. Install yum-utils
    # yum install yum-utils
  3. Resolves RPM package
    # yum install rpmconf
    # rpmconf -a
  4. Clean up semua package
    # package-cleanup --leaves
    # package-cleanup --orphans
  5. Install dnf di Centos 7
    # yum install dnf
  6. Remove yum package Manager
    # dnf -y remove yum yum-metadata-parser
    # rm -Rf /etc/yum
  7. Upgrading centos 7 ke 8
    # dnf upgrade
  8. 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
  9. Upgrade EPEL repo
    dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  10. Remove temporary file
    # dnf clean all
  11. Remove old kernel centos 7
    # rpm -e `rpm -q kernel`
  12. Remove conflicting packages
    # rpm -e --nodeps sysvinit-tools
  13. Jalankan system upgrade centos 8
    # dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync
  14. Install kernel centos 8
    # dnf -y install kernel-core
  15. Install minimal package centos 8
    # dnf -y groupupdate "Core" "Minimal Install"
  16. Check versi centos
    # cat /etc/redhat-release
Baca Juga:  Custom Domain Blogspot / Blogger dari My Hostnic

Di tulis oleh: