postgresqlに郵便番号データをつっこむ(ubuntu編)

まずはpostgresqlのインストール

自分用のメモ orz なので ヒストリーだけ載せとく

 2029  apt-cache search postgres
 2030  set -o vi
 2031  apt-cache search postgres | more
 2032  dpkg -l | grep postgres
 2033  apt-get install postgresql
 2034  cd
 2035  nmap localhost
 2036  which psql
 2037  psql -l
 2038  cat /etc/passwd | grep post
 2039  sudo su -l postgres
 2040  history

こちらあたりを参考に
http://suzukaze.hatenablog.jp/entry/2012/09/20/234720