1.将greenplum-loaders-5.2.0-rhel6-x86_64.zip上传到linux上,根据文件名可以看出本次安装的loaders 版本为5.2.0,
redhat 6,32与64位操作系统通用
本次举例上传到 /opt 下
2.对zip解压缩
cd /opt //进入zip所在目录
unzip greenplum-loaders-5.2.0-rhel6-x86_64.zip //解压缩
解压完成后比之前多出greenplum-loaders-5.2.0-rhel6-x86_64.bin 文件如下
3.执行该文件
./greenplum-loaders-5.2.0-rhel6-x86_64.bin
中途会提示
是否接受license
Do you accept the Pivotal Loaders license agreement? [yes | no]
输入yes
默认安装路径
Provide the installation path for Greenplum Loaders or press ENTER to
accept the default installation path: /usr/local/greenplum-loaders-5.2.0
输入yes
Install Greenplum Loaders into ? [yes | no]
输入yes
4.使其生效
source greenplum-db-4.3.x.x/greenplum_loaders_path.sh