jira_confluence_y_bitbucket_con_postgresql
                Configuración básica de Postgresql para Jira, Confluence y Bitbucket de Atlassian
Configuración básica de Postgresql para instalar los Frameworks Jira, Confluence y Bitbucket con dicho motor de base de datos. Únicamente es crear la base de datos, el usuario y su contraseña de acceso una vez se tenga instalado Postgresql en el sistema.
Jira / Confluence: Mismo proceso para los dos Frameworks.
su - postgres createuser --interactive -P USUARIO Enter password for new role: Enter it again: Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be allowed to create more new roles? (y/n) n createdb -E UNICODE -l C -T template0 -O USUARIO NOMBRE_BASE_DE_DATOS
Para confluence es necesario especificar el nombre de la base de datos cuando el wizard nos los solicitesi se usa jdbc para conectar con postgresql.
Database URL This is a required field jdbc:postgresql://localhost:5432/NOMBRE_BASE_DE_DATOS
Bitbucket: Se debe especificar usuario, password y nombre de la base de datos.
su - postgres psql CREATE ROLE usuario WITH LOGIN PASSWORD 'password' VALID UNTIL 'infinity'; CREATE DATABASE nombre_base_de_datos WITH ENCODING='UTF8' OWNER=usuario CONNECTION LIMIT=-1; \q
Se debe instalar el conector JDBC (fichero .jar) en cada Framework: https://jdbc.postgresql.org/download.html
<Bitbucket/Jira/Confluence home directory> /lib
Ejemplo.
postgres-# \l
                                     List of databases
     Name     |    Owner     | Encoding |   Collate   |    Ctype    |   Access privileges   
--------------+--------------+----------+-------------+-------------+-----------------------
 bitbucket    | atlbitbucket | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 confluencedb | confluence   | UTF8     | C           | C           | 
 jiradb       | jira         | UTF8     | C           | C           | 
 postgres     | postgres     | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 template0    | postgres     | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
              |              |          |             |             | postgres=CTc/postgres
 template1    | postgres     | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
              |              |          |             |             | postgres=CTc/postgres
Documentación oficial.
jira_confluence_y_bitbucket_con_postgresql.txt · Last modified: 2020/12/25 22:57 by 127.0.0.1
                
                