-
-
Save gilbertoalbino/dfe9fef3e9deeb3d3792d49f9fa6ac54 to your computer and use it in GitHub Desktop.
Revisions
-
yodermk created this gist
Feb 13, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # The general procedure here is adapted from the 7->8 guide here. https://www.tecmint.com/upgrade-centos-7-to-centos-8/ # # It is a curated list of my bash history. I entered other commands so hopefully I got the right ones here. yum upgrade reboot dnf install epel-release dnf install rpmconf dnf install yum-utils rpmconf -a # answer "n" to both things package-cleanup --leaves package-cleanup --orphans dnf install http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-stream-repos-9.0-9.el9.noarch.rpm http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-stream-release-9.0-9.el9.noarch.rpm http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-gpg-keys-9.0-9.el9.noarch.rpm curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm curl -O https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm rpm -Uvh *.rpm yum update dnf clean all rpm -e `rpm -q kernel` dnf -y --releasever=9 --allowerasing --setopt=deltarpm=false distro-sync dnf clean all reboot rm -f /var/lib/rpm/__db* rpm --rebuilddb dnf -y groupupdate "Core" "Minimal Install"