Inštalácia z CentOS repozitára:


  1. Pre inštaláciu spustite:

    sudo yum install postgresql-server postgresql-contrib


  2. Pre inicializáciu databázy spustite:

    sudo postgresql-setup initdb


  3. Pre naštartovanie PostgreSQL spustite:

    sudo systemctl start postgresql


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

    sudo systemctl enable postgresql