首页 > 数据库技术 > 详细

Untunbu下postgresql安装及常见错误处理

时间:2019-01-12 17:09:47      阅读:362      评论:0      收藏:0      [点我收藏+]

1.下载postgresql:

2.解压文件:

  tar -zxvf postgresql-11.0.tar

3.进入解压目录并配置参数

进入解压目录:cd postgresql-11.0

创建安装目录:sudo mkdir /opt/postgresql-11.0(依你习惯而定)

配置安装参数:./configure --prefix=/opt/postgresql-11.0

可能遇到的错误有

  1. If you have zlib already installed, see config.log for details on the failure. It is possible the compiler isnt looking in the proper directory.

Use --without-zlib to disable zlib support.

解决方案:

sudo apt-get install libreadline6 libreadline6-dev

 

Untunbu下postgresql安装及常见错误处理

原文:https://www.cnblogs.com/Pusteblume/p/10260278.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!