大旗谷资源网 Design By www.zqyou.com
如果在正式环境升级,请做好数据备份以及重要配置备份!因为升级会造成一部分应用被卸载。
1.安装epel源
yum -y install epel-release
2.安装rpmconf和yum-utils
yum -y install rpmconf yum-utils
3.执行rpmconf ,如果出现一些提示,请输入Y和回车继续,如果没提示继续第四步操作
rpmconf -a
4.安装dnf
yum -y install dnf
5.移除yum和yum-metadata-parser
dnf -y remove yum yum-metadata-parser
6.删除/etc/yum目录
rm -rf /etc/yum
7.安装Centos8的源和升级epel源
dnf -y upgrade dnf -y upgrade http://mirrors.163.com/centos/8.0.1905/BaseOS/x86_64/os/Packages/centos-release-8.0-0.1905.0.9.el8.x86_64.rpm dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf clean all
8.卸载centos7的内核
rpm -e --nodeps `rpm -q kernel`
9.升级到centos8,这一步一般会报错,如果没有报错请进行第10步操作
dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync
发现报错之后先卸载类似于图上from package后面的包名
rpm -e --nodeps sysvinit-tools-2.88-14.dsf.el7.x86_64 rpm -e --nodeps python-inotify-0.9.4-4.el7.noarch rpm -e --nodeps adwaita-qt5-1.0-1.el7.x86_64 rpm -e --nodeps pycairo-1.8.10-8.el7.x86_64
卸载完后再次执行升级
dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync
10.执行rpmconf,会出现如下界面,一直输入Y和回车即可
rpmconf -a
11.重启机器
reboot
总结
以上所述是小编给大家介绍的从Centos7升级到Centos8的教程,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!
如果你觉得本文对你有帮助,欢迎转载,烦请注明出处,谢谢!
大旗谷资源网 Design By www.zqyou.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
大旗谷资源网 Design By www.zqyou.com
暂无从Centos7升级到Centos8的教程(图文详解)的评论...
更新日志
2024年10月18日
2024年10月18日
- 群星《歌手2024 第4期》[FLAC/分轨][563.76MB]
- RiffKitten-ChaosParade(2024)[24-44,1]FLAC
- RuneKlakegg-Nattevandrer(2024)[24-96]\FLAC
- 赖冰霞.2006-金嗓典藏辑2IN1(南方金点系列)2CD【南方】【WAV+CUE】
- 群星.1988-国语金曲尽精英VOL.2【瑞成】【WAV+CUE】
- 张宇.1999-雨一直下【EMI百代】【WAV+CUE】
- 袁娅维.2021-月亮失眠了(DELUXE)【华纳】【FLAC分轨】
- AlanBroadbent-JazzFunk(2024)[24-44,1]
- 梅艳芳《绝代芳华》开盘母带[低速原抓WAV+CUE]
- ABC唱片-《外国精逊母带直刻神奇黑胶[APE+CUE].
- 群星《天赐的声音第五季 第6期》[320K/MP3][101.43MB]
- 群星《天赐的声音第五季 第6期》[FLAC/分轨][526.16MB]
- 群星《说唱梦工厂 第2期》[320K/MP3][96.37MB]
- 杨宗宪.1994-留你留袂着【有容唱片】【WAV+CUE】
- 李翊君.2005-勇敢的爱【创意唱片】【WAV+CUE】