gpdb/README.en.md

844 B

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