-
Install Dependencies
./README.CentOS.bash
-
If you want to link cmake3 to cmake, run:
sudo ln -sf /usr/bin/cmake3 /usr/local/bin/cmake
-
Make sure that you add
/usr/local/lib
and/usr/local/lib64
to/etc/ld.so.conf
, then run commandldconfig
. -
If you want to install and use gcc-7 by default, run:
sudo yum install -y centos-release-scl sudo yum install -y devtoolset-7-toolchain echo 'source scl_source enable devtoolset-7' >> ~/.bashrc
Use dependency script for CentOS.
-
If you want to install
devtoolset-7
:sudo yum-config-manager --enable rhui-REGION-rhel-server-rhscl sudo yum install -y devtoolset-7-toolchain
-
Install Dependencies When you run the README.Ubuntu.bash script for dependencies, you will be asked to configure realm for kerberos. You can enter any realm, since this is just for testing, and during testing, it will reconfigure a local server/client. If you want to skip this manual configuration, use:
export DEBIAN_FRONTEND=noninteractive
./README.Ubuntu.bash
-
Ubuntu 18.04 and newer should have use gcc 7 or newer, but you can also enable gcc-7 on older versions of Ubuntu:
add-apt-repository ppa:ubuntu-toolchain-r/test -y apt-get update apt-get install -y gcc-7 g++-7
Make sure that you add /usr/local/lib
to /etc/ld.so.conf
,
then run command ldconfig
.
-
Create gpadmin and setup ssh keys Either use:
# Requires gpdb clone to be named gpdb_src gpdb_src/concourse/scripts/setup_gpadmin_user.bash
to create the gpadmin user and set up keys,
OR
manually create ssh keys so you can do ssh localhost without a password, e.g.,
ssh-keygen cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys
-
Verify that you can ssh to your machine name without a password
ssh <hostname of your machine> # e.g., ssh briarwood
-
Set up your system configuration by following the installation guide on docs.greenplum.org