Mac/Debian 环境配置 PostgreSQL/PostGIS/GeoDjango

PostgreSQL Debian 安装

postgres 有官方提供的源 <a>https://www.postgresql.org/download/linux/debian/</a>。以 Debian 7 为例,在 /etc/apt/source.list 文件中添加

deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main

安装 .. code-block:: shell

# aptitude install postgresql

# aptitude install python-dev # aptitude install libpq-dev

修改配置允许非 localhost 访问 postgresql …

Continue Reading →
“Stay hungry, Stay foolish.”