Untunbu下postgresql安装及常见错误处理
Posted Pusteblume2018
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Untunbu下postgresql安装及常见错误处理相关的知识,希望对你有一定的参考价值。
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
可能遇到的错误有
- If you have zlib already installed, see config.log for details on the failure. It is possible the compiler isn‘t looking in the proper directory.
Use --without-zlib to disable zlib support.
解决方案:
sudo apt-get install libreadline6 libreadline6-dev |
以上是关于Untunbu下postgresql安装及常见错误处理的主要内容,如果未能解决你的问题,请参考以下文章