InstallationPDF version

Install Postgres

The EFM Server requires a relational database to store metadata. You may use Postgres 9.6 for this.

If you have already installed a MySQL database, you may skip these steps.

  1. Install Red Hat Package Manager (RPM) according to the requirements of your operating system:
    yum install https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm
  2. Install Postgres version 9.6:
    yum install postgresql96-server postgresql96-contrib postgresql96
  3. Initialize the database:

    For example, if you are using CentOS 7, use the following syntax:

    /usr/pgsql-9.6/bin/postgresql96-setup initdb
  4. Start Postgres.

    For example, if you are using CentOS 7, use the following syntax:

    systemctl enable postgresql-9.6.service
    systemctl start postgresql-9.6.service 
  5. Verify that you can log in:
    sudo su postgres
    psql
    

We want your opinion

How can we improve this page?

What kind of feedback do you have?