centos2anolis

我的centos7原地升级到anolis7记录

注意:如果是桌面版请先卸载firefox,否则so文件冲突。

参考:

CentOS 7和8Linux系统迁移到国产Linux龙蜥Anolis OS 8手册_disable pam_pkcs11 module in pam configuration-CSDN博客

关于 CentOS 迁移龙蜥操作系统,这里有一份详细指南,请查收! - OpenAnolis龙蜥操作系统开源社区

CentOS7迁移到AnolisOS7 - OpenAnolis龙蜥操作系统开源社区

centos2anolis: 该工具用于自动化就地迁移CentOS实例至Anolis OS实例。要提交代码的话去 rpm tree (由于代码简单,就不单开两个仓库了):https://gitee.com/src-anolis-sig/centos2anolis

主要步骤如下:

# 卸载火狐浏览器
yum -y remove firefox
# 检查是否还有
rpm -qa|grep firefox


# 下载迁移脚本
wget https://gitee.com/anolis/centos2anolis/raw/master/centos2anolis.py
# 安装迁移脚本运行依赖
yum -y install python3
# 迁移执行
python3 centos2anolis.py --rhck


# 验证系统版本
cat /etc/os-release 
cat /etc/centos-release
cat /etc/anolis-release

# 重启
reboot

如果不卸载火狐浏览器安装时则遇到的问题:

Transaction check error:
  file /usr/lib64/libnss3.so conflicts between attempted installs of firefox-115.6.0-1.0.1.an7.x86_64 and nss-3.90.0-2.an7.x86_64
# 卸载火狐浏览器
yum -y remove firefox
rpm -qa|grep firefox


# 如果报错,解决报错后继续升级
centos2anolis.py -c

相关推荐

  1. linux centos6.4 升级centos7.2

    2024-03-28 09:52:05       16 阅读
  2. centos 源码编译gcc10.2

    2024-03-28 09:52:05       47 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-28 09:52:05       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-28 09:52:05       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-28 09:52:05       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-28 09:52:05       20 阅读

热门阅读

  1. 【React】React 组件 API

    2024-03-28 09:52:05       23 阅读
  2. 深入理解 React 中的 children props 和 render props

    2024-03-28 09:52:05       27 阅读
  3. 11 React 组件通信 父传子

    2024-03-28 09:52:05       16 阅读
  4. React系列之常用ReactHook

    2024-03-28 09:52:05       23 阅读
  5. MySQL 8.0 支持对单个数据库设置只读!

    2024-03-28 09:52:05       23 阅读
  6. MySQL数据库基础篇-SQL

    2024-03-28 09:52:05       19 阅读
  7. 影视接口支持资源站去插播,官解官替,切片

    2024-03-28 09:52:05       23 阅读
  8. log4js里numBackups设置存在无效的情况

    2024-03-28 09:52:05       21 阅读
  9. Linux常用命令详细讲解

    2024-03-28 09:52:05       17 阅读
  10. RabbitMQ相关总结

    2024-03-28 09:52:05       19 阅读
  11. linux动态库的加载

    2024-03-28 09:52:05       18 阅读
  12. linux命令ab测试你 Apache http 服务器的工具

    2024-03-28 09:52:05       20 阅读