OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Deployer

V1.6.1Community Edition
  • What is OBD
  • Install OBD
  • User Guide
    • Start an OceanBase cluster
    • Use OBD to start an OceanBase cluster
    • OBD command
      • Quick deployment command
      • Cluster commands
      • Mirror and repository commands
      • Testing commands
      • Tool commands
    • Use OCP to take over a cluster deployed by OBD
    • Add GUI-based monitoring for an existing cluster
  • Configuration file description
  • FAQ
    • FAQ
    • How do I upgrade an OBProxy to obproxy-ce 3.2.3?
  • Error codes

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V1.6.1

Install OBD

Last Updated:2026-09-04 08:21:29

Method 1: Install OBD by using RPM packages (only for CentOS 7 or later)
Method 2: Install OBD by using the source code

You can install OBD by using these methods:

Method 1: Install OBD by using RPM packages (only for CentOS 7 or later)

sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
sudo yum install -y ob-deploy
source /etc/profile.d/obd.sh

Method 2: Install OBD by using the source code

Before you install OBD by using the source code, make sure that you have installed these dependencies:

  • gcc
  • wget
  • python-devel
  • openssl-devel
  • xz-devel
  • mysql-devel

To install OBD on Python2.7, run these commands:

sh rpm/build.sh build
source /etc/profile.d/obd.sh

To install OBD on Python3.8, perform the following steps

First, you should run these commands on Python2.7:

sh rpm/build.sh executer

Then run these commands on Python 3.8.

sh rpm/build.sh build_obd
source /etc/profile.d/obd.sh

Previous topic

What is OBD
Last

Next topic

Start an OceanBase cluster
Next
on this page
Method 1: Install OBD by using RPM packages (only for CentOS 7 or later)
Method 2: Install OBD by using the source code