After you install and configure OceanBase Deployer (OBD), you can run the obd demo command to quickly start a single-node OceanBase database on a local server. Before that, you need to ensure the following prerequisites are met:
Ports
2881and2882are not occupied.At least 6 GB of memory is available on the server.
At least two CPU cores are available on the server.
When deploying only the OceanBase database, at least 19 GB of disk space is available on the server; when deploying all components, at least 25 GB of disk space is available on the server.
The server can access the Internet, or the required installation package is deployed on the server.
Note
If the preceding prerequisites are not met, see Deploy OceanBase Database on a single OBServer node.
For more information about the
obd democommand, see Quick deployment command.
# Deploy and start OceanBase Database
obd demo
# Connect to OceanBase Database by using the OBClient
obclient -h127.0.0.1 -uroot@sys -P2881