当前位置: 首页 > news >正文

建议网站的方案电商外贸有什么平台

建议网站的方案,电商外贸有什么平台,做填写信息的超链接用什么网站,我想做个旅游网站怎么做前一段时间记录了下如何在centos7中离线安装postgresql#xff0c;因为工作需要#xff0c;我不仅要安装postgresql#xff0c;还需要安装postgis插件#xff0c;这篇文章记录下postgis插件的安装过程。 1. 安装前的参考 如下的链接都是官网上的链接#xff0c;对你安装p…        前一段时间记录了下如何在centos7中离线安装postgresql因为工作需要我不仅要安装postgresql还需要安装postgis插件这篇文章记录下postgis插件的安装过程。 1. 安装前的参考 如下的链接都是官网上的链接对你安装postgis 应该会有很大的帮助安装前可以先仔细看看 https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS 最新版依赖及下载地址 https://trac.osgeo.org/postgis/wiki/PostGISObsoleteVersionsMatrix 版本依赖说明 https://trac.osgeo.org/postgis/wiki/UsersWikiInstall 安装指引 https://trac.osgeo.org/postgis/wiki 2. 我安装的版本 由于工作需要我安装的版本与我们线上保持一致pg安装的是11.11postgis安装的是2.5其它详细信息如下 软件依赖版本postgresql11.11postgis2.5 godal2.2.3 proj4.8.0 geos3.5.1 json-c0.10 protobuf2.6.1 protobuf-c1.2.1 LibXML22.7.7 3.安装依赖 安装postgis共分成两步第一步是安装依赖第二步是安装postgis本身因为postgis需要的依赖比较多一个一个安装需要有点儿耐心。         注意如下目录需要修改成你自己使用的目录 3.1 安装gdal tar -zxvf gdal-2.2.3.tar.gz cd gdal-2.2.3 ./configure --prefix/app/address/postgre/postgis_dep/gdal make make install3.2 安装proj tar -zxvf proj-4.8.0.tar.gz cd proj-4.8.0 ./configure --prefix/app/address/postgre/postgis_dep/proj make make install3.3 安装geos tar -jxvf geos-3.5.1.tar.bz2 cd geos-3.5.1 ./configure --prefix/app/address/postgre/postgis_dep/geos make make install3.4 安装 json-c tar -zxvf json-c-0.10.tar.gz cd json-c-0.10 ./configure --prefix/app/address/postgre/postgis_dep/json-c make make install3.5 安装protobuf tar -zxvf protobuf-2.6.1.tar.gz cd protobuf-2.6.1 ./configure --prefix/app/address/postgre/postgis_dep/protobuf make make install3.6 安装 protobuf-c tar -zxvf protobuf-c-1.2.1.tar.gz cd protobuf-c-1.2.1 ./configure --prefix/app/address/postgre/postgis_dep/protobuf-c make make install3.7 安装LibXML2 下载地址 http://xmlsoft.org/sources/ tar -zxvf libxml2-2.7.7.tar.gz cd libxml2-2.7.7 ./configure --prefix/app/address/postgre/postgis_dep/libxml2 make make install3.8 编辑 ld.so.conf 增加如下配置 /app/address/postgre/postgis_dep/geos/lib /app/address/postgre/postgis_dep/gdal/lib /app/address/postgre/postgis_dep/proj/lib /app/address/postgre/postgis_dep/json-c/lib /app/address/postgre/postgis_dep/protobuf/lib /app/address/postgre/postgis_dep/protobuf-c/lib /app/address/postgre/postgis_dep/libxml2/lib执行sudo ldconfig 使生效3.9 修改环境配置文件 修改 vi ~/.bashrc 增加如下配置 export PKG_CONFIG_PATH/app/address/postgre/postgis_dep/protobuf/lib/pkgconfigexport LD_LIBRARY_PATH$LD_LIBRARY_PATH:/app/address/postgre/postgis_dep/geos/lib:/app/address/postgre/postgis_dep/gdal/lib:/app/address/postgre/postgis_dep/proj/lib:/app/address/postgre/postgis_dep/json-c/lib:/app/address/postgre/postgis_dep/protobuf/lib:/app/address/postgre/postgis_dep/protobuf-c/lib:/app/address/postgre/postgis_dep/libxml2/libsource ~/.bashrc 使生效 4. 安装postgis 4.1 安装postgis tar -zxvf postgis-2.5.0.tar.gz cd postgis-2.5.0 ./configure --with-geosconfig/app/address/postgre/postgis_dep/geos/bin/geos-config --with-projdir/app/address/postgre/postgis_dep/proj --with-gdalconfig/app/address/postgre/postgis_dep/gdal/bin/gdal-config --with-jsondir/app/address/postgre/postgis_dep/json-c --with-pgconfig/app/address/postgre/pginstall/bin//pg_config --with-xml2config/app/address/postgre/postgis_dep/libxml2/bin/xml2-config make make install4.2 登录数据库创建扩展 psql postgres 创建扩展 create extension postgis; create extension postgis_topology;4.3 测试 select postgis_full_version(); SELECT ST_SetSRID(ST_Point(-87.71,43.741),4326),ST_GeomFromText(‘POINT(-87.71 43.741)’,4326); 5. 错误解决 fatal error: json_object_iterator.h: No such file or director 解决yum install json-c-devel error: #pragma GCC diagnostic not allowed inside functions 使用高版本gcc4.4.7不行我用的是4.8版本 6. 参考 postgis相关下载 postgis下载 https://postgis.net/2019/03/PostGIS-2.5.2-2.4.7-2.3.9-Released/geos下载 https://libgeos.org/usage/download/libxml2 下载 http://xmlsoft.org/sources/ postgis安装参考 https://blog.csdn.net/dbdeep/article/details/123643043 postgis 安装https://blog.csdn.net/weixin_47308871/article/details/122152508https://blog.csdn.net/dbdeep/article/details/123643043 当然在安装postgis之前需要安装postgresql如果你还没有安装可以参考我另一篇记录: centos7 离线安装postgresql
http://www.hkea.cn/news/14426067/

相关文章:

  • 传统文化网站设计自适应的网站模板
  • 网站欢迎页面怎么做实现网站计划书
  • seo优化网站排名做西餐网站
  • 订阅号做流量 那些电影如何链接网站百度推广优化怎么做
  • 企业网站建设规划ppt电子商务网站运营流程
  • 网站建设套餐报西安装修公司排名十强
  • 做网站简历怎么写安卓apk开发
  • 广州网站优化服务知乎营销平台
  • 西安网站工作室亿联时代网站建设
  • 余姚网站制作织梦做的网站打不开网页
  • 站长工具查询域名wordpress转载文章
  • 济南模板网站塘沽网站建设
  • 江西省建设厅官方网站深圳福田有哪些公司
  • 娄底做网站的公司网站中竖导航栏怎么做
  • 杭州如何设计公司网站大连网站维护
  • 建企业网站怎么收费wordpress用户前台投稿
  • 百度推广网站必须备案吗asp.net 开发网站开发
  • 做网站企业经营范围贵州国高建设工程有限公司 网站
  • 启迪网站开发怎么进入广告联盟看广告赚钱
  • 西宁网站seo外包微信自己开发小程序
  • 建立网站怎么申请南京网站搜索排名
  • 建个公司网站怎么弄网站添加js广告位
  • 网站建设需求分析报告wordpress主题模板导出
  • 潍坊那个公司做网站比较好wordpress 文章消失
  • 网站建设的一些问题wordpress后台入口
  • 服务器网站网站专用建设银行官方网站首页入口
  • 开平市城乡建设局网站怎么制作网站商城
  • 翔安区建设网站常州网站建设cz35
  • 潍坊青州网站建设网线制作的注意事项
  • 访问不到自己做的网站app开发合同范本