如何在Ubuntu服务器的命令行下安装Postgis呢,弄了很久,终于解决了。
首先要确认安装好了postgresql
1. sudo apt-get install postgresql-8.3-postgis
2. sudo su postgres
createdb postgis_template
createlang plpgsql postgis_template
psql -d postgis_template -f /usr/share/postgresql/8.4/contrib/postgis.sql
把所有SQL都执行一遍
本文详细介绍如何在Ubuntu服务器上通过命令行安装PostGIS的方法。首先确保已安装PostgreSQL,然后使用sudo apt-get install postgresql-8.3-postgis进行安装,并通过一系列SQL命令完成配置。
1081

被折叠的 条评论
为什么被折叠?



