2012-08-25から1日間の記事一覧

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

実験機としてたちあげるならば、郵便番号データをDBにいれて実験するのがよろしいかとhttp://d.hatena.ne.jp/toshi_hirasawa/20120816/1345122460 上はオラクルの場合。以下はpostgresの場合 インストール手順概要 388 rpm -aq | grep postgres 389 yum inst…

mysqlに郵便番号データをつっこむ(文字化け解消)

mysql> create database zip; Query OK, 1 row affected (0.02 sec) mysql> mysql> use zip Database changed mysql> mysql> mysql> CREATE TABLE zip ( -> publicCode int NOT NULL , -> OldZipcode varchar(5) NOT NULL , -> ZipCode varchar(7) NOT NULL …

rpmでのmysqlのセットアップ(Syslog連携、vim風にする)

記憶が飛ぶ orz のでメモというか、rsyslogとDBとの連携とかで試してみてhttp://www.usupi.org/sysad/207.html http://www.usupi.org/sysad/208.html http://www.usupi.org/sysad/209.htmlすでにうちの実機では動いているんですが、全て忘却しているので、 m…

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…