The Sicura Console can be added to your environment as a Docker container or installed as a service on a Red Hat (or derivative) server or virtual machine. In either case, a PostgreSQL database server is also required. We recommend installing the Console on Red Hat 8 (or deriviative) to simplify database connectivity with current versions of PostgreSQL.
Skip this section if you already have a production PostgreSQL server available in your environment.
Follow the instructions below to configure a PostgreSQL database server to host a database for the Console.
Install PostgreSQL.
yum -y install postgresql-server
Initialize the database.
postgresql-setup initdb
This is only necessary if running PostgreSQL on the same system as the Console service.
sed -i \
-e '/^host\s*all\s*all\s*[0-9:./]*\s*ident$/ s|ident|md5|' \
/var/lib/pgsql/data/pg_hba.conf
Enable and start the database service.
systemctl enable postgresql --now
In the example below, we’re connecting to a local installation of PostgreSQL and using
sicura_console
for both the database name and the user name. Replace the stringREPLACE_ME
below with a password generated for thesicura_console
database user.
```bash
runuser -l postgres -c "psql" <<END
create database sicura_console;
create user sicura_console with encrypted password 'REPLACE_ME';
grant all privileges on database sicura_console to sicura_console;
END
```
Detailed instructions for installing from RPM on a server or virtual machine can be found here.
Detailed instructions for running the Console Docker container can be found here.