freebsd安装postgresl

部分核心操作

chown pgsql:pgsql /root/pgsql

/usr/local/etc/rc.d/postgresql initdb

/usr/local/etc/rc.d/postgresql start

psql -U pgsql postgres

alter user postgres with password ‘pwd’

http://www.vker.org/articles/2015/9/18/5706076589ed58c50fe5cb6212b897cd.html

你可能感兴趣的:(FreeBSD,postgresl)