openGauss单机版安装

机器:

hostnamectl set-hostname node1

编译安装python3

 

前提条件

yum install -y libaio-devel gcc gcc-c++ zlib-devel expect bzip2

 

 
[root@node1 ~]# mkdir -p /opt/software/txdb
[root@node1 ~]# chmod 755 -R /opt/software
 

编译安装Python3

复制代码
[root@cenots7 ~]# mkdir -p /usr/local/python3
[root@cenots7 ~]# cd Python-3.6.5
[root@cenots7 Python-3.6.5]# ./configure --prefix=/usr/local/python3 --enable-shared CFLAGS=-fPIC
[root@cenots7 Python-3.6.5]# make -j 8
[root@cenots7 Python-3.6.5]# make install
[root@cenots7 Python-3.6.5]# ln -s /usr/local/python3/bin/python3 /usr/bin/python3
[root@cenots7 Python-3.6.5]# ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
[root@cenots7 Python-3.6.5]# touch /etc/ld.so.conf.d/python3.conf
[root@cenots7 Python-3.6.5]# echo "/usr/local/python3/lib" >> /etc/ld.so.conf.d/python3.conf
[root@cenots7 Python-3.6.5]# ldconfig
[root@cenots7 Python-3.6.5]# python3
Python 3.6.5 (default, Sep 7 2023, 09:46:41)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
复制代码

 

安装

/opt/software/txdb/script/tx_preinstall -U rapids -G dbgrp -X /opt/software/txdb/clusterconfig.xml

chown -R rapids:dbgrp /opt/software/txdb/lib
chown -R rapids:dbgrp /opt/software/txdb/script

su - rapids
tx_install -X /opt/software/txdb/clusterconfig.xml --gsinit-parameter="--locale=en_US.UTF-8" --gsinit-parameter="--encoding= UTF-8"

 

posted @   李小期  阅读(66)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示