/
1.3.5. Customize and initialize PostgreSQL database

1.3.5. Customize and initialize PostgreSQL database

In this section you will perform the installation and initial configuration of the PostgreSQL database.


1-      Postgresql-serve Install:
          yum install postgresql-server

2-      Initialize the database:
postgresql-setup initdb

3-      Check the startup and operation of the database by: 
                systemctl start postgresql.service
                systemctl status postgresql.service

4-      Create a new Unix password for postgres




5-       Create a new Unix password for PostgreSQL

6-      PostgreSQL Exit

7-      Create the database siiprod_db

8-     Check database creation at PostgreSQL

9-      Grant fuseadmin privileges on the siiprod_db database

10- Set the following connection options in the PostgreSQL configuration

Contents of /var/lib/pgsql/data/posgresql.conf

(...)

(...)




11-      Edit (root) the PostgreSQL Client Authentication Configuration

Contents of /var/lib/pgsql/data/pg_hba.conf

(...)

(...)

12-     Start the postgresql service with:
systemctl restart postgresql.service
systemctl status postgresql.service

13-      Enable postgresql service

14- Install pgAdmin (management platform for PostgreSQL)

cd /tmp/
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install epel-release-latest-7.noarch.rpm 
yum install pgadmin3.x86_64
yum erase epel-release.noarch


Related content

5. Configuración e inicialización de la base de datos PostgreSQL
5. Configuración e inicialización de la base de datos PostgreSQL
More like this
1.3.9. Initial database configuration
1.3.9. Initial database configuration
More like this
1.3.11. FUSE bundles installation
1.3.11. FUSE bundles installation
More like this
11. Instalación de bundles para Fuse
11. Instalación de bundles para Fuse
More like this
1.3. b+SII Red Hat FUSE
1.3. b+SII Red Hat FUSE
More like this
2.7.2. Customize previously installed FUSE client
2.7.2. Customize previously installed FUSE client
More like this

Avvale 2024