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

 

posted @ 2018-01-19 14:12  奔跑在study的路上  阅读(214)  评论(0编辑  收藏  举报