opengauss5.0.0基于docker的安装
强烈建议大家使用我的方法进行部署,因为我们不能确定第三方的opengauss-docker镜像在制作的过程中是否增加了其他步骤,做出来的镜像是否为纯净版镜像
只有自己从openGauss官网下载的安装包,自己进行制作镜像,才能保证100%是纯净版镜像,利害关系在此就不阐述了,懂的都懂
1.首先的安装初始化docker环境
yum install -y yum-utils
wget -O /etc/yum.repos.d/docker-ce.repo http://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce -y # 安装最新版本
2.启动docker
systemctl enable docker
systemctl start docker
systemctl status docker
3.下载安装包
wget https://opengauss.obs.cn-south-1.myhuaweicloud.com/5.0.0/x86/openGauss-5.0.0-CentOS-64bit-all.tar.gz
wget https://gitee.com/opengauss/openGauss-server/repository/archive/master.zip
4.安装前的配置
4.1 将master.zip解压:unzip master.zip
4.2 将openGauss-5.0.0-CentOS-64bit-all.tar.gz解压:tar -zxvf openGauss-5.0.0-CentOS-64bit-all.tar.gz
4.3 拷贝包:cp openGauss-5.0.0-CentOS-64bit.tar.bz2 openGauss-server-master/docker/dockerfiles/5.0.0/
4.4 授权
cd