安装前准备
(1)操作系统(系统上面要安装一些必备的开发工具(比如gcc等))
?
linux-82:/home/PlODBC # cat/etc/SuSE-release
SUSE Linux EnterpriseServer 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
?
(2)安装所需的软件包
greenplum-connectivity-4.3.0.0-build-2-SuSE10-x86_64.zip
--GP官网下载,GP的JDBC和ODBC驱动
DBI-1.631.tar.gz
--DBI是数据库的通用接口
DBD-ODBC-1.48.tar.gz
--DBD是相应数据库的驱动程序unixODBC-2.2.12-204.3.1.x86_64.rpm
--unixODBC的驱动管理器
?
(3)将上面的包上传到搭建环境的服务器上面,比如/home/PlODBC
?
安装GP驱动包
(1) 解压greenplum-connectivity-4.3.0.0-build-2-SuSE10-x86_64.zip
unzipgreenplum-connectivity-4.3.0.0-build-2-SuSE10-x86_64.zip
?
(2) 执行解压后得到greenplum-connectivity-4.3.0.0-build-2-SuSE10-x86_64.bin可执行文件
linux-82:/home/PlODBC # ./greenplum-connectivity-4.3.0.0-build-2-SuSE10-x86_64.bin
?
********************************************************************
You must read and accept the EMCConnectivity license agreement
before installing
********************************************************************
?
SOFTWARE LICENSE ANDMAINTENANCE AGREEMENT
?
*** IMPORTANT INFORMATION - PLEASE READ CAREFULLY ***
?
ThisSoftware contains computer programs and other proprietary material and
information,the use of which is subject to and expressly conditioned upon
acceptanceof this Software License and Maintenance Agreement (the "Agreement").
?
ThisAgreement is a legally binding document between you (meaning the individual
person orthe entity that the individual represents that has obtained the
Softwarefor its internal productive use and not for outright resale) (the
"Customer")and EMC (which means (i) EMC Corporation, if Customer is located in
theUnited States; (ii) the local EMC sales subsidiary, if Customer is located
in acountry in which EMC Corporation has a local sales subsidiary; and (iii)
EMCInformation Systems International ("EISI"), if Customer is locatedoutside
theUnited States and in a country in which EMC Corporation does not have a
localsales subsidiary). Unless EMC agrees otherwise in writing, this Agreement
governsCustomer's use of the Software except to the extent all or any portion
of theSoftware is: (a) the subject of a separate written agreement; or (b)
governedby a third party licensor's terms and conditions. Capitalized terms
havemeaning stated in the Agreement.
?
IfCustomer does not have a currently enforceable, written and separately signed
softwarelicense agreement directly with EMC or the Distributor from whom
Customerobtained this Software, then by clicking on the "Agree" or"Accept" or
similarbutton at the end of this Agreement, or proceeding with the
?
********************************************************************
Do you accept the EMC Connectivity licenseagreement? [yes | no]
********************************************************************
?
yes ---------同意许可
?
********************************************************************
Providethe installation path for Greenplum Connectivity or press ENTER to
acceptthe default installation path:/usr/local/greenplum-connectivity-4.3.0.0-build-2
********************************************************************
?
?
?
********************************************************************
InstallGreenplum Connectivity into? [yes | no]
********************************************************************************
?
yes -------