首批通过分布式安全可靠测评,为关键业务系统打造
准备安装包
更新时间:2026-06-26 09:52:49
部署前,请确认已获取各产品使用的镜像和安装包,用于后续的安装部署。
说明
- 通过 obd 和 OCP 部署集中式版使用的安装包是不同的,在获取安装包的时候,务必确保获取到相应的安装包。
- 可以通过 OceanBase 官网软件下载中心获取集中式版安装包。该安装包配置有试用版许可证(非生产用途),有效期为 180 天,仅供您进行学习、测试或适配使用,不提供技术支持及 SLA 保障,不得用于营利性、商业性或生产目的。试用许可证过期后,您将无法继续使用数据库功能。如果您需要将软件用于生产环境,或营利性、商业性目的,并需要专业的技术支持保障,请联系 OceanBase 获取商业版许可。
- 请在 OceanBase 软件下载中心 下载配套工具、驱动和中间件的安装包。如果未找到对应版本的安装包,请联系 OceanBase 获取。
安装包说明
在选择安装包时,选择 el7 安装包还是 al8 安装包,可参考如下:
操作系统 Rocky Linux 9 和 Alibaba Cloud Linux 3 推荐使用 al8 安装包。
Linux Kernel 5.10 及以上的操作系统(glibc>=2.32),推荐使用 al8 安装包。
Linux Kernel 低于 5.10 的操作系统,推荐使用 el7 安装包。
集中式版暂未提供带 OCP 的 al8 的一体化安装包,可统一使用 el7 的安装包。
使用 obd 部署 OceanBase 集中式数据库
为方便通过 obd 部署 OceanBase 集中式数据库,OceanBase 提供了统一的安装包 oceanbase-standalone-all-in-one-x.x.x_xxx_xxx_xxxxxxxx.xxx.xxxxx.tar.gz。不同平台所使用的安装包如下:
X86_64 平台:
- el7:oceanbase-standalone-all-in-one-x.x.x_xxx_xxx_xxxxxxxx.el7.x86_64.tar.gz
- al8:oceanbase-standalone-all-in-one-x.x.x_xxx_xxx_xxxxxxxx.al8.x86_64.tar.gz
ARM_64 平台:
- el7:oceanbase-standalone-all-in-one-x.x.x_xxx_xxx_xxxxxxxx.el7.aarch64.tar.gz
- al8:oceanbase-standalone-all-in-one-x.x.x_xxx_xxx_xxxxxxxx.al8.aarch64.tar.gz
该安装包解压后,在 rpms 目录下存在安装 obd、部署 OceanBase 集中式数据库以及监控所需的所有包。rpms 目录中包含的安装包如下所示:
[admin /home/admin/oceanbase-standalone-all-in-one/rpms]
$ls
grafana-x.x.x-x.el7.x86_64.rpm
oceanbase-diagnostic-tool-x.x.x-xxxxxxxxxx.el7.x86_64.rpm
libobclient-x.x.x-xxxxxxxxxx.el7.x86_64.rpm
oceanbase-standalone-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
obagent-x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
oceanbase-standalone-libs-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
obclient-x.x.x-xxxxxxxxxx.el7.x86_64.rpm
prometheus-x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
ob-deploy-3.2.x-xx.el7.x86_64.rpm
使用 OCP 部署 OceanBase 集中式数据库
使用 OCP 部署 OceanBase 集中式数据库时建议先通过 obd 部署 OCP,之后通过 OCP 部署 OceanBase 集中式数据库,具体操作可参见 使用 OCP 部署集中式版。为方便操作,OceanBase 提供了统一安装包 oceanbase-standalone-all-in-one-with-ocp-x.x.x_xxx_xxx_xxxxxxxx.xxx.xxxxxx.tar.gz,不同平台所使用的安装包如下:
X86_64 平台:
- el7:oceanbase-standalone-all-in-one-with-ocp-x.x.x_xxx_xxx_xxxxxxxx.el7.x86_64.tar.gz
- al8:oceanbase-standalone-all-in-one-with-ocp-x.x.x_xxx_xxx_xxxxxxxx.al8.x86_64.tar.gz
ARM_64 平台:
- el7:oceanbase-standalone-all-in-one-with-ocp-x.x.x_xxx_xxx_xxxxxxxx.el7.aarch64.tar.gz
- al8:oceanbase-standalone-all-in-one-with-ocp-x.x.x_xxx_xxx_xxxxxxxx.al8.aarch64.tar.gz
该安装包解压后,在 rpms 目录下存在安装 obd、部署 OCP、OceanBase 集中式数据库以及相关工具的所有包。rpms 目录中包含的安装包如下所示:
[admin /home/admin/oceanbase-standalone-all-in-one-with-ocp/rpms]
$ls
obclient-x.x.x-xxxxxxxxxx.el7.x86_64.rpm
ob-deploy-3.2.x-xx.el7.x86_64.rpm
obproxy-x.x.x.x-xxxxxxxxx.el7.x86_64.rpm
oceanbase-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
oceanbase-diagnostic-tool-3.2.0-52025031411.el7.x86_64.rpm
oceanbase-libs-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
oceanbase-standalone-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
oceanbase-standalone-libs-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
oceanbase-standalone-utils-x.x.x.x-xxxxxxxxxxxxxxxxx.el7.x86_64.rpm
ocp-agent-x.x.x-xxxxxxxxxxxxxx.el7.aarch64.rpm
ocp-agent-x.x.x-xxxxxxxxxxxxxx.el7.x86_64.rpm
ocp-server-x.x.x-xxxxxxxxxxxxxx.el7.noarch.rpm