一、实验目标
快速的体验 OceanBase 的自动化部署过程,以及了解 OceanBase 集群安装成功后的目录特点和使用方法。
二、环境准备
- 一台4c12g,disk 100g 的vmware虚拟机
- 操作系统centos7.6,nat网络(使虚拟机能正常上互联网),操作系统最小化安装
三、安装docker
- --配置安装docker的yum环境
yum install -y yum-utils
yum-config-manager \
--add-repo \
https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- --安装docker
yum install docker-ce docker-ce-cli containerd.io
- --启动docker服务
systemctl start docker
- --测试docker是否安装成功
[root@ob1 ~]# docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
.............
[root@ob1 ~]#
四、oceanbase docker 体验
- 下载ob docker镜像及查看
docker pull obpilot/oceanbase-ce //龟速,耐心等待
[root@ob1 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
obpilot/oceanbase-ce latest 943379e0b05b 2 weeks ago 2.25GB
hello-world latest feb5d9fea6a5 2 months ago 13.3kB
- 运行oceanbase-ce docker并进入容器
docker run -itd -m 10G --name oceanbase-ce obpilo

1595




被折叠的 条评论
为什么被折叠?



