-
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
-
Install Development Tools.
-
For RHEL 8: Install
Development Tools
:sudo yum group install -y "Development Tools"
-
For RHEL versions (< 8.0): Install
devtoolset-7
:sudo yum-config-manager --enable rhui-REGION-rhel-server-rhscl sudo yum install -y devtoolset-7-toolchain
-
-
Install dependencies using README.CentOS.bash script.
-
For RHEL 8: Execute additional step before running README.CentOS.bash script.
Note: Make sure installation of
Development Tools
includesgit
andmake
else install these tools manually.sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
-
Install dependencies using README.CentOS.bash script.
./README.CentOS.bash
-
-
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
sudo ./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:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo apt-get update sudo 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 (You can use `hostname` to get the hostname of your machine.)
-
Set up your system configuration by following the installation guide on docs.greenplum.org