Installation from CentOS repository:
To install the PostgreSQL server, run:
Blok kódu language bash sudo yum install postgresql-server postgresql-contrib
To initialize the database, run:
Blok kódu language bash sudo postgresql-setup initdb
To start PostgreSQL, run:
Blok kódu language bash sudo systemctl start postgresql
Turn on automatic PostgreSQL startup after OS startup:
Blok kódu language bash sudo systemctl enable postgresql
To install the PostgreSQL ODBC driver, run:
Blok kódu language bash sudo yum install postgresql-odbc