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.
- 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.
- In the directory where the installation package is stored, run the following command to decompress the installation package:
1tar -xzf oceanbase-all-in-one-*.tar.gz
- Go to the bin directory and run the installation script.
1 2
cd oceanbase-all-in-one/bin/ ./install.sh
- Configure environment variables.
source ~/.oceanbase-all-in-one/bin/env.sh
- 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.

Parent topic: Installing OceanBase