- 2008-11-26 (水) 18:29
- DB | PostGIS | PostgreSQL | UNIX | Ubuntu
- PostgreSQLとかPostGISをインストールしてない人はインストールする。
# apt-get install postgresql postgresql-8.3-postgis
Postgresの設定は[Ubuntu]Ubuntu8.10へApache、PHP、MySQL、PostgreSQLをインストールする。[LAMP]でも参照して下さい。
- 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
- PostGIS用テンプレートDBを利用して、作成したいDBを作る。
createdb -T templategis newdb
- Newer: [CentOS]CentOS5の「PHP、MySQL、PostgreSQL」のバージョンをYumでアップデートする。
- Older: [CentOS]いつの間にかCentOS4.7サーバーからGmailへメール送信出来なくなってた。[Postfix]
Trackbacks:0
- Trackback URL for this entry
- http://ore.saizensen.net/archives/160/trackback
- Listed below are links to weblogs that reference
- [Ubuntu]Ubuntu8.10でPostGISを使えるようにする。[PostGIS] from おれ最前線ねっと




