/etc/selinux/config
to SELINUX=disabled
Instructions are here: https://yum.postgresql.org/
From this page, copy the link for CentOS 7 and install:
$ sudo yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
$ sudo su - # yum install postgresql96-server $ su - postgres $ /usr/pgsql-9.6/bin/initdb -A md5 -W #-W forces the user to provide a superuser (postgres) password $ exit # systemctl start postgresql-9.6 # systemctl status postgresql-9.6
NOTE: you do not need postgresql96-server if running postgres within a docker
container.
Install docker
and docker-compose
using instructions here:
https://docs.docker.com/engine/installation/linux/centos/ https://docs.docker.com/compose/install/
traffic_ops
$ sudo yum install traffic_ops
openssl
certs (or use this to generate them)$ sudo /opt/traffic_ops/install/bin/generateCert
$ sudo su - # /opt/traffic_ops/install/bin/postinstall