安装社区版本OB

获取一键安装包

https://www.oceanbase.com/softwarecenter

安装社区版本OB_第1张图片

离线安装

[admin@test001 ~]$ tar -xzf oceanbase-all-in-one-*.tar.gz 
[admin@test001 ~]$ cd oceanbase-all-in-one/bin/ [admin@test001 bin]$ ./install.sh [admin@test001 bin]$ source ~/.oceanbase-all-in-one/bin/env.sh

部署数据库

1. 编写配置config.yaml

user: 
    username: root 
    password: xxxxxx 
    port: 22 
oceanbase-ce: 
    version: 4.1.0.0 
    release: 100000202023040520.e17 
    package_hash: d598937b1cfb1df85e2c2231acf024e4994db533 
1.1.1.1: 
    zone: zone_1 
servers: 
- 10.40.3.64 
global: 
    appname: test 
    root_password: xxxxx
    mysq1_port: 2881 
    rpc_port: 2882 
    hom

你可能感兴趣的:(MySQL,oceanbase)