centos6.9内网环境安装x2openEuler失败

说明:

离线下载的rpm包,先安装mariadb时报错。

包列表:

galera-25.3.29-1.rhel6.el6.x86_64.rpm mariadb10.2.44.zip MariaDB-compat-10.2.36-1.el6.x86_64.rpm
jemalloc-3.6.0-1.el6.x86_64.rpm MariaDB-client-10.2.36-1.el6.x86_64.rpm MariaDB-server-10.2.36-1.el6.x86_64.rpm
jemalloc-devel-3.6.0-1.el6.x86_64.rpm MariaDB-common-10.2.36-1.el6.x86_64.rpm x2openEuler-core-3.0.0-20241022.x86_64.rpm

问题现象:

Mariadb文件和mysql文件冲突,当前机器安装了mysql数据库

Preparing… ########################################### [100%]
file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64
file /usr/share/mysql/charsets/greek.xml from install of MariaDB-common-10.2.36-1.el6.x86_64 conflicts with file from package mysql-community-common-5.7.28-1.el6.x86_64

① 官网明确说明 x2openEuler 不支持装在 CentOS 6.9,虽然有时候能装上,但升级过程可能会出现莫名其妙的问题: InstallationGuide | openEuler文档 | openEuler社区 | v20.03_LTS_SP1

② 如果已有数据库可以选择已经存在的数据库,但还是建议在干净的环境上安装

意思是x2openEuler工具可以安装在另一台操作系统支持范围内的干净的机器上,然后在web页面上升级CentOS6.9的机器吗?

另外,我如果想通过命令行的方式原地升级,目标操作系统是否支持用我自己本地的openEuler iso镜像文件呢

x2openEuler 的架构就是这样,在一台干净的机器上安装作为服务端,用于管理待升级节点的升级流程;要升级的机器(即目标系统或待升级节点)可以看作是客户端
目前已经没有命令行的支持方式了,简单来说就是不能自己升级自己

那web方式能否支持将目标系统升级到本地的欧拉系统(就是公司自己定制的ISO文件)

可以,在添加节点的时候,有个填写目标操作系统 repo 源的选项框,这个 repo 源填写你们定制 ISO 用的 repo,升级的时候就会装定制的 rpm 包

目标操作系统,我配置公司定制的ISO的repo源,升级完成后,和重装系统对比,rpm包少安装很多。

工具版本:x2openEuler-core-3.0.0-20250422.x86_64.rpm

源操作系统:CentOS 7.4

去 x2openEuler 的服务端 /usr/local/x2openEuler/portal/logs/backend 目录下,查看 check_result 开头的 json 文件,里面包含了所有 rpm 包信息:

  • 升级前删除的 rpm 包以及删除原因
  • 升级后删除的 rpm 包以及删除原因
  • 升级后保留的 rpm 包
  • 额外安装的 rpm 包