Prebuilt packages for RedHat 7 and CentOS 7 are available from https://packages.credativ.com/public/postgresql/yum/. You can add this as a repository to your RedHat or CentOS installation and just do the normal routine installing software.
Installation
Elephant Shed works with the PostgreSQL packages from the PostgreSQL RPM building project. Go to yum.postgresql.org and install the repository RPMs for the PostgreSQL versions you want to use. Then proceed to install Elephant Shed as below.
# Use credativ repository (will also pull in EPEL)
sudo yum install https://packages.credativ.com/public/postgresql/yum/credativ-repo.rpm
# On RedHat, activate additional repositories (not on CentOS)
subscription-manager repos --enable=rhel-7-server-extras-rpms
subscription-manager repos --enable=rhel-7-server-optional-rpms
# Choose desired PostgreSQL versions to install
sudo yum install postgresql11-server postgresql11-contrib postgresql-common
sudo pg_createcluster 11 main --start
# Install elephant-shed
sudo yum install elephant-shed
# Every user in the group "elephant-shed" is allowed to login at the portal
# Add all needed users to this group
sudo vigr
# Unfortunately, pgAdmin4 and shellinabox do not work with SELinux enabled
# Disable SELinux if you want to use these components
sudo setenforce 0
sudo sed -i -e 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
Note: The packages only contain components and basic configurations. Tuning, user management and firewalling needs to done manually.