CWP panel

How to upgrade CentOS 7 to CentOS 8 Linux



How to upgrade CentOS 7 to CentOS 8 Linux in tamil

Step 1:
yum update –y

#Install the EPEL Repository
yum install epel-release

#Install yum-utils tools
[root@upgrade-centos ~]# yum install yum-utils -y

#Install rpmconf to resolve RPM packages
[root@upgrade-centos ~]# yum install rpmconf -y

rpmconf -a
package-cleanup –leaves
package-cleanup –orphans

#Step 2:
#Install dnf (package manager) on CentOS 7
yum install dnf -y

#Remove YUM package manager
dnf remove yum yum-metadata-parser
rm -rf /etc/yum

Step 3:
#Upgrade CentOS 7 to Centos 8
dnf upgrade

Step 4:
#Install CentOS 8 release package using dnf

dnf install

#Upgrade EPEL Repository
dnf -y upgrade

#Remove all temporary files
dnf clean all

#Remove the old CentOS 7 Kernel
rpm -e `rpm -q kernel`

#Remove all the conflicting packages
rpm -e –nodeps sysvinit-tools

Step 5:
#Upgrade to CentOS 8. This will take some time
dnf -y –releasever=8 –allowerasing –setopt=deltarpm=false distro-sync

#Install new kernel for CentOS 8
dnf -y install kernel-core

#Install CentOS 8 minimal packages
dnf -y groupupdate “Core” “Server with GUI”

Reboot the server

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button