Unfortunately, 1C does not support the current PostgreSQL repository, so the best option is to use a special build for 1C from the creators of PostgreSQL.
Run the following commands:
1. Download the script to add a third-party repository from the PostgreSQL developers:
Code |
---|
$ curl -o pgpro-repo-add.sh https://repo.postgrespro.ru/1c-15/keys/pgpro-repo-add.sh |
2. Let's execute the script:
Code |
---|
# sh pgpro-repo-add.sh |
3. Install PostgreSQL (this build is based on open PostgreSQL with patches from 1C)
Code |
---|
# apt install -y postgrespro-1c-15 |
4. Let's start the server
Code |
---|
# systemctl start postgrespro-1c-15 |
5. Check the status of the service:
Code |
---|
$ systemctl status postgrespro-1c-15 |