pbP[WCXg[
# yum -y install postgresql-server
# yum -y install httpd
# yum -y install php php-mbstring php-pgsql

Ɨp[U[̍쐬
useradd sarms
# passwd sarms
Changing password for user sarms.
New UNIX password:]̃pX[h
Retype new UNIX password:ē
passwd: all authentication tokens updated successfully.

eݒt@CҏW
etc_httpd_conf/httpd.conf
var_lib_pgsql/data/pg_hba.conf
var_lib_pgsql/data/pg_ident.conf
var_lib_pgsql/data/postgresql.conf

var_lib_pgsql/.pgpass
upX[hvpostgresSQL̃X[p[[U[postgres̃pX[hɐݒ
var_www_html/hcms/config.php
SARMSݒV[gQ

PostgreSQLݒ
[root@shisan]#passwd postgres
Changing password for user postgres.
New UNIX password:]̃pX[h
Retype new UNIX password:ē
passwd: all authentication tokens updated successfully.
[root@shisan]# /etc/rc.d/init.d/postgresql start
f[^x[X:                                    [  OK  ]
postgresql T[rXJn:                               [  OK  ]
[root@shisan]# /sbin/chkconfig postgresql on
[root@shisan]# su - postgres

PostgreSQL[U[
postgres$ createuser shisanadmin
Shall the new role be a superuser? (y/n) y
postgres$ psql
# alter user shisanadmin password 'pX[h';
# alter user postgres password 'pX[h';
\q

apache[U[Ńt@C]
ietc_httpd_conf/etc/httpd/confɁj
postgres[U[Ńt@C]
ivar_lib_pgsqlvar/lib/pgsqlɁj
sarms[U[Ńt@C]
ivar_www_htmlvar/www/htmlɁj
p[~bVݒ
iʓYt@Cgpj

httpdN
/etc/rc.d/init.d/httpd start
httpd N:                                            [  OK  ]
/sbin/chkconfig httpd on

phppgadminDB쐬
DB\ETvf[^̃C|[g
iʓYt@Cgpj

ufilesvudownloadsvtH_basicF
htpasswd -b -c /var/www/.htpasswd [U[ pX[h