Upgrade Centos7
by kingarthurboyle1 - Monday March 10, 2025 at 08:33 AM
#1
## UPGRADE CENTOS 7 to 8

yum update -y
yum install epel-release
yum install yum-utils -y
yum install rpmconf -y
rpmconf -a
package-cleanup --leaves
package-cleanup --orphans
yum install dnf -y
dnf remove yum yum-metadata-parser
rm -rf /etc/yum
dnf upgrade
dnf install http://vault.centos.org/8.5.2111/BaseOS/...oarch.rpm}
dnf -y upgrade https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm
dnf clean all
rpm -e `rpm -q kernel`
rpm -e --nodeps sysvinit-tools
dnf -y --releasever=8 --alowerasing --setopt=deltarpm=false distro-sync
dnf -y install kernel-core
dnf -y groupupdate "Core" "Server with GUI"
init 6
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Building a subnet. Inexorable_Baer 1 167 Jan 11, 2026, 02:20 AM
Last Post: linbobo668899
  Linux from Scratch kirby 7 4,854 Jan 06, 2026, 05:33 PM
Last Post: swisstiger
  your linux distro dundrondo 22 4,620 Apr 10, 2025, 11:36 AM
Last Post: fogplank
  Virtualbox 7.1.4 in Ubuntu 24.10 Blinkers 9 2,114 Apr 01, 2025, 08:11 PM
Last Post: capseco
  KDE or Gnome jahy 16 10,192 Mar 26, 2025, 10:00 PM
Last Post: capseco

Forum Jump:


 Users browsing this forum: 1 Guest(s)