CentOS7.9编译安装Greenplum Database 6.22.0
软件地址:
https://github.com/greenplum-db/gpdb/releases/download/6.22.0/6.22.0-src-full.tar.gz
前提条件
yum update -y yum -y install epel-release yum –y install python-pip yum install -y lrzsz
设置python国内下载源
mkdir -p ~/.pip vi ~/.pip/pip.conf
添加如下内容
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host=pypi.tuna.tsinghua.edu.cn
解压安装
tar -zxvf 6.22.0-src-full.tar.gz cd gpdb_src sh README.CentOS.bash
#执行configure
./configure --prefix=/opt/greenplum-db --enable-orca --enable-gpperfmon --with-perl --with-python --with-libxml --enable-mapreduce --with-includes=/usr/local/include/ --with-libraries=/usr/local/lib
执行configure会出现报错,如下所示
这时候需要安装cmake 和 libsigar
安装cmake
yum install -y cmake
或者
cd cmake-3.11.0 ./bootstrap gmake gmake install cmake --version
安装libsigar
#下载地址: https://github.com/hyperic/sigar/ cd sigar mkdir build cd build cmake .. && make && make install
继续
yum install -y apr-util* ./configure --prefix=/opt/greenplum-db --enable-orca --enable-gpperfmon --with-perl --with-python --with-libxml --enable-mapreduce --with-includes=/usr/local/include/ --with-libraries=/usr/local/lib make -j 32 make install
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)