我要评分
获取效率
正确性
完整性
易理解

Installing OceanBase 4.2.1

OceanBase provides the all-in-one installation package. You can use the all-in-one installation package to obtain the OceanBase database and its component services, including the OceanBase database software, OBD, OBProxy, and OBClient. Select an appropriate OceanBase version based on the actual environment.

  1. Download the all-in-one installation package of OceanBase 4.2.1 (community edition) from the OceanBase Download Center and copy the downloaded installation package to the server.

    For details about the download link, see Environment Requirements.

  2. In the directory where the installation package is stored, run the following command to decompress the installation package:
    1
    tar -xzf oceanbase-all-in-one-*.tar.gz
    
  3. Go to the bin directory and run the installation script.
    1
    2
    cd oceanbase-all-in-one/bin/
    ./install.sh
    
  4. Configure environment variables.
    source ~/.oceanbase-all-in-one/bin/env.sh
  5. After the installation, run either of the following commands to check whether the installation is successful:
    which obd

    or

    which obclient

    If the OBD and OBClient paths in oceanbase-all-in-one are displayed, the installation is successful.