postgresql-源码安装

1.环境介绍

系统:Centos6.7

2.版本介绍

postgresql-9.3.0

3.源码安装

#./configure

#gmake

#gmake install

#adduser postgres

#mkdir /usr/local/pgsql/data

#chown postgres /usr/local/pgsql/data

#su - postgres

#/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

#/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data

#/usr/local/pgsql/bin/createdb test

#/usr/local/pgsql/bin/psql test

 

你可能感兴趣的:(postgresql-源码安装)