单机安装
OM安装
1、下载安装包
https://opengauss.org/zh/download/
2、创建配置文件
一主一备
https://www.modb.pro/db/1805071407767949312
一主两备
https://www.modb.pro/db/1806176917640007680
3、初始化安装环境
root用户登陆并创建存放安装包的目录一般放入/home目录下
安装包和配置文件放到同一目录
mkdir -p /opt/software/openGauss
cd /opt/software/openGauss
tar -zxvf openGauss-x.x.x-openEuler-64bit-all.tar.gz
tar -zxvf openGauss-x.x.x-openEuler-64bit-om.tar.gz
chmod 755 -R openGauss/
chown -R zcz_1p2s:zcz_1p2s openGauss/
cd /opt/software/openGauss/script
4、预安装
./gs_preinstall -U zcz1p1s -G zcz1p1s -X /home/zcz1p1s/openGauss/cluster_config.xml --sep-env-file=envfile
5、安装
gs_install -X /home/zcz1p1s/openGauss/cluster_config.xml
/home/om_install_ctt/1p1s_ltt.xml
6、安装验证
gs_om -t status
gsql -d postgres -p 15400
卸载
gs_uninstall --delete-data
dd模拟环境安装
https://www.modb.pro/db/1802679530611101696
https://www.modb.pro/db/1802682215792447488
最后修改时间:2024-10-10 19:18:04
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




