3.3. Installation Process #

To install and configure the Postgres ProGate management service, follow the steps below.

  1. Install the repository. The following options are available:

    • Install the official repository repo.postgrespro.ru as follows:

      1. Get the repository key. To do this, log in to your account at the technical support portal support.postgrespro.ru and go to Administration -> License Set -> Repositories. Only administrators of the license set can access the keys.

      2. Get the bash script of the repository installation:

        wget --user access_key --password='' https://repo.postgrespro.ru/progate/progate/keys/pgpro-repo-add.sh
        

      3. Run the script as root.

    • Use the run file that contains the repository file structure for installation on a server without internet access. Copy the run file to the server where Postgres ProGate will be installed and execute it as root:

      <path_to_file>/progate.run
      

      You will be suggested to create a local repository that will be located in the current working directory. Confirm the creation and rerun the file from the directory for the local repository. Successful execution creates the local repository and adds it to the list of repositories of the OS package manager.

  2. Install the progate package using the OS package manager.

    The result of the installation is as follows:

    • The user and group named progate are created.

    • The procopy, prosync, and procheck utilities are installed in the /opt/pgpro/progate/bin/ directory.

    • The progate.service service is added but initially disabled.

    Note

    At this point, only the procopy, prosync, and procheck command-line utilities are available. The web interface is not yet ready and requires additional setup. So follow the instructions from Section 3.4.