Skip to content

desarrollolocal/buzonciudadano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f763f3e · Nov 4, 2013

History

87 Commits
Nov 4, 2013
Nov 4, 2013
Oct 11, 2013
Feb 21, 2013
Oct 16, 2013
Feb 21, 2013
Oct 14, 2013
Feb 21, 2013
Oct 31, 2013
Feb 21, 2013
Oct 19, 2013
Oct 4, 2013
Oct 4, 2013
Sep 10, 2013
Oct 4, 2013
Feb 21, 2013
Feb 21, 2013

Repository files navigation

Build Status

postgresql in ubuntu:

sudo -u postgres psql

CREATE USER buzonciudadano WITH PASSWORD 'buzon' CREATEUSER CREATEDB;

sudo -u postgres psql -U buzonciudadano template1 CREATE DATABASE buzonciudadano_development CREATE DATABASE buzonciudadano_test

configure postgres: /etc/postgresql/9.2/main/pg_hba.conf

host all all 0.0.0.0/0 md5

local all all md5

Additionaly, inside /etc/postgresql/9.2/main/postgresql.conf uncomment listen_address so it is as follows:

listen_addresses='*'

##install phppgadmin https://bdhacker.wordpress.com/2011/05/06/postgresql-phppgadmin-php5-ubuntu/ ln -s /usr/share/phppgadmin /var/www/phppgadmin ensure to allow remote conections in /etc/phppgadmin/apache.conf