本篇文章参考自:https://blog.csdn.net/zcc0618/article/details/79670329

由于今天部署时,安装 postgis 的版本与 postgresql 版本不匹配,导致 odoo 一直不能安装带有GIS地图的模块,所以写了这篇文章进行记录。

如果不知道 postgresql 与 postgis 对应的版本,可进入:http://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS  查看

 

--前提

已经安装了postgresql

 

--检查可用的安装包

yum list post* 

 Linux 安装 postgis

 

 

 

 --根据 postgresql 的版本安装对应的 postgis 版本

#安装postgis
#postgresql-9.6 版本,可以安装 postgis30_96.x86_64
yum install postgis30_96.x86_64

 

--如果安装报错,需安装EPEL的repository 之后在进行安装

yum install https://mirrors.aliyun.com/epel/epel-release-latest-7.noarch.rpm

 

--安装pgRouting  路径分析(功能使用可参考http://blog.csdn.net/u014529917/article/details/72866436)

yum install pgrouting_96

 

相关文章:

  • 2021-05-01
  • 2021-04-05
  • 2021-04-12
  • 2021-11-29
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2021-12-29
  • 2022-12-23
  • 2021-07-01
  • 2022-03-01
  • 2021-11-29
  • 2021-11-29
  • 2021-09-02
相关资源
相似解决方案