**【标题描述】[23.09 RC3]opengauss安装后不能直接使能且部分二进制无法执行
【环境信息】
软件信息
【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
步骤2:安装后不能直接使能
步骤3和步骤4:二进制执行找不到动态库
步骤5:命令执行报错:
【其他相关附件信息】
[OS]
name=OS
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/everything/$basearch/RPM-GPG-KEY-openEuler
[EPOL]
name=EPOL
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/RPM-GPG-KEY-openEuler
Hi erin_dan, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: DB, and any of the maintainers: @ZhengZhenyu , @陈棋德 , @zhangxubo
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
opengauss不是这样使用的。
由于opengauss和postgres部分lib的so文件,二进制文件,.h头文件名称一样,postgres已经集成到openEuler上面,所以opengauss无法再去集成到系统的目录下,如/usr/bin /usr/lib /usr/incldue, 否则会导致文件冲突。
opengauss在安装时候,将二进制放到 /usr/local/opengauss下,默认创建opengauss用户以及初始化和启动数据库。
使用方式:
https://docs.opengauss.org/zh/docs/latest/docs/InstallationGuide/RPM%E5%AE%89%E8%A3%85.html
yum install opengauss
如果想在其他用户下使用,则需要将opengauss的库导入到环境变量里面
export GAUSSHOME=/usr/local/opengauss
export LD_LIBRARY_PATH=$GAUSSHOME/lib/:$LD_LIBRARY_PATH
export PATH=$GAUSSHOME/bin/:$PATH
初始化:
gs_initdb -D /xxx/datanode -w test@123 --nodename=test
启动
gs_ctl start -D /xxx/datanode
连接:
gsql -d postgres -p <port> -r
建议按照非问题关闭
根据指导文档验证通过:
arm:
x86:
arm/x86其他用户验证通过:
x86:
登录 后才可以发表评论