1.在官网上下载 4.0 社区版。
2. 在centos 7.9 上安装 服务器配置至少是 CPU 4 Core,内存 16 GB。
cat /etc/redhat-release
cat /proc/version
3.tar -xzf oceanbase-all-in-one-4.1.0.0-100120230317111320.el7.x86_64.tar
4.cd oceanbase-all-in-one/bin/
5 记得修改 系统 文件句并限制
在文件/etc/security/limits.conf中添加:
* soft nofile 65536
* hard nofile 65536
再
./install.sh 否则会出错
6.安装完成后需执行 source ~/.oceanbase-all-in-one/bin/env.sh
否则直接执行 which obd
会失败。
7.执行 which obd
和 which obclient
检测是否安装成功,如果可以找到 oceanbase-all-in-one 下的 obd 和 obclient 路径,则表示安装成功。
8. obd demo
9 systemctl stop firewalld.service 关闭防火墙关闭后 可以用其它 机器访问。
10.可用 Navcat 16.1.3 版本以后 访问。端口 2881 用户名 root 密码为空 修改了 grafana 的密码为 admin123