Home > Debian | UNIX > [Debian]Debian lennyで1からサーバーを作ってみる – PostGISをインストール

[Debian]Debian lennyで1からサーバーを作ってみる – PostGISをインストール

  • PostGISをインストール
    # aptitude install postgresql-8.3-postgis
  • PostGIS用に初期化済テンプレートDBを構築する。
    # su - postgres
    $ createdb templategis
    $ createlang plpgsql templategis
    $ psql -d templategis -f /usr/share/postgresql-8.3-postgis/lwpostgis.sql
    $ psql -d templategis -f /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql
    

Comments:0

add to hatena hatena.comment (0) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://ore.saizensen.net/archives/342/trackback
Listed below are links to weblogs that reference
[Debian]Debian lennyで1からサーバーを作ってみる – PostGISをインストール from おれ最前線ねっと

Home > Debian | UNIX > [Debian]Debian lennyで1からサーバーを作ってみる – PostGISをインストール

Search
Feeds
Meta

Return to page top