install oceanbase-ce polardb on openanolis
docker run -it --rm registry.openanolis.cn/openanolis/anolisos:23.4 bash
[root@d5199c879283 /]# yum install oceanbase-ce polardb
AnolisOS-23 - os 14 MB/s | 11 MB 00:00
AnolisOS-23 - updates 7.3 MB/s | 3.6 MB 00:00
Last metadata expiration check: 0:00:01 ago on Tue Apr 7 10:35:27 2026.
Dependencies resolved.
=================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================================================================================================
Installing:
oceanbase-ce x86_64 4.3.5.1-107000022025051918.an23 os 161 M
polardb x86_64 11.9.20.0-5.an23 os 43 M
Installing dependencies:
abseil-cpp x86_64 20250512.1-2.an23 os 1.0 M
gmock x86_64 1.15.2-1.an23 os 70 k
gtest x86_64 1.15.2-1.an23 os 215 k
libaio x86_64 0.3.113-1.an23 os 23 k
libgfortran x86_64 12.3.0-16.an23 os 867 k
libquadmath x86_64 12.3.0-16.an23 os 179 k
protobuf x86_64 25.1-4.an23 updates 1.1 M
xerces-c x86_64 3.2.5-1.an23 os 1.2 M
Transaction Summary
=================================================================================================================================================================================================================================
Install 10 Packages
Total download size: 208 M
Installed size: 1.0 G
Is this ok [y/N]:
Downloading Packages:
(1/10): gtest-1.15.2-1.an23.x86_64.rpm 2.3 MB/s | 215 kB 00:00
(2/10): gmock-1.15.2-1.an23.x86_64.rpm 746 kB/s | 70 kB 00:00
(3/10): libaio-0.3.113-1.an23.x86_64.rpm 304 kB/s | 23 kB 00:00
(4/10): abseil-cpp-20250512.1-2.an23.x86_64.rpm 4.5 MB/s | 1.0 MB 00:00
(5/10): libquadmath-12.3.0-16.an23.x86_64.rpm 2.0 MB/s | 179 kB 00:00
(6/10): libgfortran-12.3.0-16.an23.x86_64.rpm 3.9 MB/s | 867 kB 00:00
(7/10): xerces-c-3.2.5-1.an23.x86_64.rpm 4.7 MB/s | 1.2 MB 00:00
(8/10): protobuf-25.1-4.an23.x86_64.rpm 9.4 MB/s | 1.1 MB 00:00
(9/10): oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64.rpm 20 MB/s | 161 MB 00:08
(10/10): polardb-11.9.20.0-5.an23.x86_64.rpm 2.6 MB/s | 43 MB 00:16
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 13 MB/s | 208 MB 00:16
AnolisOS-23 - os 3.0 MB/s | 3.0 kB 00:00
Importing GPG key 0x4873F7C5:
Userid : "Anolis OS <os@openanolis.org>"
Fingerprint: F87D B652 2967 855E 986F 840C 6191 4008 4873 F7C5
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : gtest-1.15.2-1.an23.x86_64 1/10
Installing : gmock-1.15.2-1.an23.x86_64 2/10
Installing : libquadmath-12.3.0-16.an23.x86_64 3/10
Installing : libgfortran-12.3.0-16.an23.x86_64 4/10
Installing : abseil-cpp-20250512.1-2.an23.x86_64 5/10
Installing : protobuf-25.1-4.an23.x86_64 6/10
Installing : xerces-c-3.2.5-1.an23.x86_64 7/10
Installing : libaio-0.3.113-1.an23.x86_64 8/10
Running scriptlet: oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64 9/10
execute pre install script
Installing : oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64 9/10
Running scriptlet: oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64 9/10
execute post install script
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
To configure OceanBase : edit /etc/oceanbase.cnf
To start OceanBase : systemctl start oceanbase
To enable OceanBase auto reboot : systemctl enable oceanbase
To get more infomation : https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000640297
Installing : polardb-11.9.20.0-5.an23.x86_64 10/10
Running scriptlet: polardb-11.9.20.0-5.an23.x86_64 10/10
Verifying : abseil-cpp-20250512.1-2.an23.x86_64 1/10
Verifying : gmock-1.15.2-1.an23.x86_64 2/10
Verifying : gtest-1.15.2-1.an23.x86_64 3/10
Verifying : libaio-0.3.113-1.an23.x86_64 4/10
Verifying : libgfortran-12.3.0-16.an23.x86_64 5/10
Verifying : libquadmath-12.3.0-16.an23.x86_64 6/10
Verifying : oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64 7/10
Verifying : polardb-11.9.20.0-5.an23.x86_64 8/10
Verifying : xerces-c-3.2.5-1.an23.x86_64 9/10
Verifying : protobuf-25.1-4.an23.x86_64 10/10
Installed:
abseil-cpp-20250512.1-2.an23.x86_64 gmock-1.15.2-1.an23.x86_64 gtest-1.15.2-1.an23.x86_64 libaio-0.3.113-1.an23.x86_64 libgfortran-12.3.0-16.an23.x86_64 libquadmath-12.3.0-16.an23.x86_64
oceanbase-ce-4.3.5.1-107000022025051918.an23.x86_64 polardb-11.9.20.0-5.an23.x86_64 protobuf-25.1-4.an23.x86_64 xerces-c-3.2.5-1.an23.x86_64
Complete!
[root@d5199c879283 /]# ls /usr/bin/ |grep ^o
objcopy
objdump
observer
obshell
od
oid2name
oomctl
openvt
[root@d5199c879283 /]# observer --version
observer --version
observer (OceanBase_CE 4.3.5.1)
REVISION: 1-b6d5706eb3d2c5f501c7fa646ddbf32f3dc87069
BUILD_BRANCH: HEAD
BUILD_TIME: Jul 30 2025 00:00:00
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:
Copyright (c) 2011-present OceanBase Inc.
# 开源版的 polardb 是 PostgreSQL
dnf repoquery -l polardb --installed |grep "bin"
/usr/bin/clusterdb
/usr/bin/createdb
/usr/bin/createuser
/usr/bin/dbatools.sql
/usr/bin/dropdb
/usr/bin/dropuser
/usr/bin/ecpg
/usr/bin/initdb
/usr/bin/oid2name
/usr/bin/pg_archivecleanup
/usr/bin/pg_basebackup
/usr/bin/pg_config
/usr/bin/pg_controldata
/usr/bin/pg_ctl
/usr/bin/pg_dump
/usr/bin/pg_dumpall
/usr/bin/pg_isready
/usr/bin/pg_receivewal
/usr/bin/pg_recvlogical
/usr/bin/pg_resetwal
/usr/bin/pg_restore
/usr/bin/pg_rewind
/usr/bin/pg_standby
/usr/bin/pg_test_fsync
/usr/bin/pg_test_timing
/usr/bin/pg_upgrade
/usr/bin/pg_verify_checksums
/usr/bin/pg_waldump
/usr/bin/pgbench
/usr/bin/polar-initdb.sh
/usr/bin/polar-replica-initdb.sh
/usr/bin/polar_basebackup
/usr/bin/polar_tools
/usr/bin/postgres
/usr/bin/postmaster
/usr/bin/psql
/usr/bin/reindexdb
/usr/bin/vacuumdb
/usr/bin/vacuumlo
/usr/include/postgresql/server/catalog/binary_upgrade.h
/usr/include/postgresql/server/lib/binaryheap.h
/usr/include/postgresql/server/optimizer/geqo_recombination.h
/usr/share/postgresql/timezone/Asia/Harbin
/usr/bin/postgres --version
postgres (PostgreSQL) 11.9
