PostgreSQL9.5 下安装MADlib
- 下载安装MADlib前的准备工作,安装编译环境和必要的组件:
apt-get update apt-get install build-essential m4 postgresql-server-dev-9.5 \ postgresql-plpython-9.5 git cmake
- 下载、编译、安装MADlib:
git clone https://github.com/apache/incubator-madlib cd incubator-madlib ./configure make install
- 部署MADlib到指定数据库
/usr/local/madlib/bin/madpack -p postgres -c postgres@127.0.0.1/test install