openeuler-ci-bot d492da304c
!21 update README.md greenplum-db-6.spec to gpdb.spec
From: @striver619 
Reviewed-by: @bzhaoop 
Signed-off-by: @bzhaoop
2022-05-27 00:18:55 +00:00
2021-07-21 12:55:09 +00:00
2021-08-26 07:53:54 +00:00
2021-07-26 17:11:40 +08:00
2021-08-11 04:05:40 +00:00
2021-08-11 04:05:40 +00:00
2021-08-11 04:05:40 +00:00
2021-07-21 12:55:09 +00:00
2021-07-21 12:55:09 +00:00
2021-08-11 04:05:40 +00:00
2021-07-21 12:55:09 +00:00

gpdb

Build with rpmbuild tools

  • Install dependencies
yum install gcc rpm-build rpm-devel rpmlint make python bash coreutils diffutils patch rpmdevtools
yum apr-devel bison bzip2-devel cmake3 flex gcc gcc-c++ krb5-devel libcurl-devel libevent-devel libkadm5 libyaml-devel libxml2-devel libzstd-devel openssl-devel perl-ExtUtils-Embed python3-devel python3-pip readline-devel xerces-c-devel zlib-devel python-psutil python-pyyaml git
  • Prepare
rpmdev-setuptree
spectool -S -g -R gpdb.spec
cp *.patch ~/rpmbuild/SOURCES/
  • Build
rpmbuild -ba gpdb.spec

Installation

yum install gpdb-6.16.2-1.x86_64.rpm

Setup localhost cluster

  • ensure user can ssh login localhost without password
  • create cluster
DATA_DIR=/tmp/gpdata NUM_SEG=3 ./create_cluster.sh
  • login with psql
psql postgres
Description
No description provided
Readme 76 MiB
Languages
Shell 100%