Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Inštalácia

...

CentOS

...

:


  1. Pre inštaláciu PostgreSQL server spustite:

    Code Block
    languagebash
    sudo yum install postgresql-server postgresql-contrib


  2. Pre inicializáciu databázy spustite:

    Code Block
    languagebash
    sudo postgresql-setup initdb


  3. Pre naštartovanie PostgreSQL spustite:

    Code Block
    languagebash
    sudo systemctl start postgresql


  4. Zapnite automatické štartovanie PostgreSQL po štarte OS:

    Code Block
    languagebash
    sudo systemctl enable postgresql


  5. Pre inštaláciu PostgreSQL ODBC drivera spustite:

    Code Block
    languagebash
    sudo yum install postgresql-odbc


Inštalácia Ubuntu:

  1. Pre inštaláciu PostgreSQL server spustite: 
    sudo apt install postgresql

    sudo apt install unixodbc odbcinst odbc-postgresql


sudo apt-get install libssl1.0.0 libssl-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.10
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10