gpt4 book ai didi

Centos 7.9 到 Centos 8.4 升级

转载 作者:行者123 更新时间:2023-12-04 19:39:46 38 4
gpt4 key购买 nike

我的系统是 Centos 7.9,但内核集之前已经升级到 5.4.154(非官方版本)。现在我想将我的机器升级到 8.4。我该怎么做?我尝试了很多方法。但它在某些方面有错误。

最佳答案

yum install epel-release -y
yum install yum-utils
# yum install rpmconf
# rpmconf -a
# package-cleanup --leaves
# package-cleanup --orphans
# yum install dnf
# dnf -y remove yum yum-metadata-parser
# rm -Rf /etc/yum
# dnf upgrade
# dnf install http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-repos-8-2.el8.noarch.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-release-8.3-1.2011.el8.noarch.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-2.el8.noarch.rpm

# dnf clean all

# rpm -e `rpm -q kernel`

# rpm -e --nodeps sysvinit-tools

# dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync

# dnf -y install kernel-core

# dnf -y groupupdate "Core" "Minimal Install"

关于Centos 7.9 到 Centos 8.4 升级,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69926876/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com