归档于 March, 2008
托在日本的朋友从 amazon.co.jp 购买寄回来的,用来替换iPhone自带的耳机,顺便给我的EX51 配了1盒耳塞软套,全部费用共计 3980+480+400 JPY
简单记录一下
# make install clean
# mkdir /usr/local/pgsql/data
# chown pgsql /usr/local/pgsql/data
初始化
# su pgsql
# /usr/local/bin/initdb -D /usr/local/pgsql/data
# /usr/local/bin/postgres -D /usr/local/pgsql/data
自启动
rc.conf
postgresql_enable=”YES”
postgresql_data=”/usr/local/pgsql/data”
测试
$ /usr/local/bin/createdb test
$ /usr/local/bin/psql test
Welcome to psql 8.3.1, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
test=#
要备份出你的数据库安装,敲入:
pg_dumpall > outputfile
使用新的 psql, [...]
ntpd_enable
/etc/ntp.conf
server hshh.org
server pool.ntp.org
driftfile /etc/ntp/ntp.drift
/etc/rc.d/ntpd start

















