Компиляция и запуск 6X_STABLE

Стабильная версия Greenplum - шестая - находится в ветке 6X_STABLE. На видео объясняется, как скомпилировать и запустить GPDB это версии на Simply Linux 10.1. sudo apt-get update sudo apt-get install -y git gcc gcc-c python2-base python-modules-distutils libreadline-devel zlib-devel libzstd-devel libapr1-devel libevent-devel libcurl-devel bzlib-devel libxerces-c-devel python-dev bison flex python-modules-json libyaml-devel libxml2-devel libssl-devel sudo ln -s python2 /usr/bin/python git clone --recurse-submodules -b 6X_STABLE cd ~/gpdb sed -i ’/-std=c 98/d’ src/backend/gpopt/ sed -i ’/-std=gnu 98/d’ src/backend/gporca/ ./configure --enable-debug-extensions --with-python --with-pythonsrc-ext --enable-depend --enable-cassert --with-libxml CFLAGS=“-O0 -g3 -Wno-error=deprecated-copy“ --prefix=$HOME/gpdb_bin make -s -j`nproc` make -s install sudo sed -i -e “s/^#RemoveIPC=yes$/RemoveIPC=no/“ -e “s/^#KillExcludeUsers=root$/KillExcludeUsers=root $USER/“ /etc/systemd/ sudo reboot ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -N ““ sudo service sshd start ssh $(hostname) date pkill ssh-agent source $HOME/gpdb_bin/ cd ~/gpdb DATADIRS=~/data make create-demo-cluster source gpAux/gpdemo/ psql postgres select version(); select * from gp_segment_configuration order by content;
Back to Top