Kaspersky Scan Engine GUI requires PostgreSQL 10.7 or later. The following procedure covers installation and configuration of PostgreSQL 10.7. The procedure for a later version may vary.
To install and configure PostgreSQL:
You can install PostgreSQL in one of the following ways:
Visit https://www.postgresql.org/download/ to see a list of supported operating systems and installation instructions for each of them.
Visit https://www.postgresql.org/docs/10/installation.html for installation instructions.
postgresql.conf configuration file. The location of this file varies depending on your operating system:postgresql.conf is located at /etc/postgresql/10/main/.postgresql.conf is located at /var/lib/pgsql/data/.If you use another operating system, the location of postgresql.conf may be different.
listen_addresses setting of postgresql.conf.port setting of postgresql.conf.postgresql.conf.pg_hba.conf configuration file. This file is located in the same directory as postgresql.conf.pg_hba.conf:host all all 127.0.0.1/32 peer
host all all 127.0.0.1/32 md5
If the pg_hba.conf configuration file does not contain the host all all 127.0.0.1/32 peer line, you have to change the host all all 127.0.0.1/32 ident line.
pg_hba.conf:host all all %IP%/32 md5 |
Here %IP% is the IP address of the computer on which Kaspersky Scan Engine is installed.
pg_hba.conf.service postgresql restart
During installation PostgreSQL creates a superuser called postgres. By default, this user does not a have a password.
To set the password for the postgres user:
postgres user:su postgres
postgres user account, start the psql utility by running the following command in the command line:psql
postgres user by running the following command:alter user postgres with password '%PASSWORD%';
Here %PASSWORD% is the new password for the postgres user.
\q
You can now install Kaspersky Scan Engine GUI.
To install Kaspersky Scan Engine GUI, you need a PostgreSQL user that has permissions for creating new databases and users. You can use the postgres user for that, or create a new user.
After installing PostgreSQL and setting the password for the postgres user, you can proceed to section "Automatic installation (Linux)" or "Manual installation (Linux)".
All data is stored in a single database called kavebase. Kaspersky Scan Engine does not use any other databases.
Page top