Instalar JDK

Descargar JDK de www.oracle.com

Instalar Base de Datos

Postgresql

Instalar Postgresql

[root@servidor ~]# yum groupinstall "PostgreSQL Database Server"

Iniciar el Manejador de Base de Datos:

[root@servidor ~]# service postgresql initdb
Iniciando la base de datos:                                [  OK  ]
[root@servidor ~]# service postgresql start
Iniciando servicios postgresql:                            [  OK  ]
[root@servidor ~]# service postgresql status
Se está ejecutando postmaster (pid  8372)...
[root@servidor ~]# 

Habilitar el Acceso a la base de datos. Editar: /var/lib/pgsql/data/postgresql.conf

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------

# - Connection Settings -

#listen_addresses = 'localhost'		# what IP address(es) to listen on;
					# comma-separated list of addresses;
					# defaults to 'localhost', '*' = all
					# (change requires restart)
# !!!! Linea Adicionada por NewRoute
listen_addresses = '*'
# !!!! Linea Habilitada por NewRoute
port = 5432
					# (change requires restart)
max_connections = 100			# (change requires restart)
# Note:  Increasing max_connections costs ~400 bytes of shared memory per 

Habiltar el Acceso a la base de Datos a los equipos de la Red. Editar: /var/lib/pgsql/data/pg_hba.conf

# TYPE	DATABASE	USER	CIDR-ADDRESS		METHOD

# "local" is for Unix domain socket connections only
local	all		all				ident
# IPv4 local connections:
host	all 		all	127.0.0.1/32		ident
# !!!! Linea Adicionada por NewRoute
host	all		all	192.168.1.0/24		trust
# IPv6 local connections:
host	all		all	::1/128			ident

Crear la Base de Datos para la aplicacion:

[root@servidor ~]# su - postgres
-bash-4.1$ psql
psql (8.4.9)
Digite «help» para obtener ayuda.

postgres=# create database adempiere;
CREATE DATABASE
postgres=# create role adempiere;
CREATE ROLE
postgres=# create schema adempiere;
CREATE SCHEMA
postgres=# \q
-bash-4.1$ exit
logout
[root@servidor ~]# 

 

Última Edición Miércoles, Marzo 28 2012 @ 06:39 PM -05  1,534 Accesos