IGOS Nusantara dan phpPgAdmin

Dari IGNwiki
Revisi per 17 April 2012 06.09 oleh Ns (bicara | kontrib) (←Membuat halaman berisi ' == Pasang == # yum -y install phpPgAdmin == Konfigurasi == vi /etc/phpPgAdmin/config.inc.php # line 18: add $conf['servers'][0]['host'] = 'localhost'; # line ...')

(beda) ←Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya→ (beda)
Langsung ke: navigasi, cari

Pasang

# yum -y install phpPgAdmin

Konfigurasi

vi /etc/phpPgAdmin/config.inc.php
# line 18: add
$conf['servers'][0]['host'] = 'localhost';

# line 88: change
$conf['extra_login_security'] =false;
# line 94: change
$conf['owned_only'] =true;


vi /var/lib/pgsql/data/pg_hba.conf
# line 70: change
local all all              md5

# line 72: change and add the IP range you permit
host all all  127.0.0.1/32 md5

host all all  10.0.0.0/24  md5

# line 75: change
local all all ::1/128      md5

# vi /etc/httpd/conf.d/phpPgAdmin.conf
# line 11: add IP range you permit
Allow from 127.0.0.1 10.0.0.0/24


/etc/rc.d/init.d/postgresql restart

/etc/rc.d/init.d/httpd reload