vm@sdbserver2:~$ history|grep post*
598 sudo apt-get install postgresql
599 su - postgres
600 sudo passwd postgres
601 su - postgres
645 cd /etc/postgresql/
649 vi postgresql.conf
650 sudo vi postgresql.conf
651 serivce postgresql restart
653 cd /etc/postgresql/
660 history|grep post*
注20150711 安装时sequoiadb 支持postgresql为9.3.4
apt-get install libreadline-gplv2-dev
apt-get install Zlib1g-dev
apt-get install Zlib1g-dev
源码安装方式需先装以上两包
./comfigure
make
makeinstall