InfoSphere Streams首次安装使用

本文提供了一个详细的指南,指导如何在 CentOS5.6 单机环境中安装和配置 IBM InfoSphere Streams,包括解压、依赖检查、安装所需组件、初始化环境、设置用户权限、配置环境变量、激活试用许可证以及启动测试案例的全过程。
单机环境: CentOS 5.6,  InfoSphere Streams-2.0.0.4-x86-el5
 
用root用户解压,进入cd StreamsInstallFiles,
 
[root@hq StreamsInstallFiles]# ls
dependency_checker.sh                            Licenses
ibmdita.css                                      ReleaseNotes.html
IBMInfoSphereStreams-InstAdmin.pdf               rpm
IBMInfoSphereStreams-Trial.pdf                   streams.dependency.jar
InfoSphereStreams_SampleResponseFile.properties  swg_info_common.css
InfoSphereStreamsSetup.bin
安装前可运行dependency_checker.sh脚本来查询是否缺少组件(例:perl-XML-Simple,perl-XML-SAX等), 然后进入rpm目录下安装graphviz-2.24.0-1.el5.i386.rpm   ibm-java-i386-sdk-6.0-10.0.i386.rpm这两个包。接着configuring a secure shell enviroment  for IBM infosphere streams http://publib.boulder.ibm.com/infocenter/streams/v2r0/index.jsp?topic=%2Fcom.ibm.swg.im.infosphere.streams.install-admin.doc%2Fdoc%2Fibminfospherestreams-user-configuring-secureshellaccess.html, 运行./InfoSphereStreamsSetup.bin, 出现安装界面,一步步按提示进行下去。途中会选择系统已经有的用户做为streams的拥有者。(例:streamsadmin)。 接下来配置streamsadmin的环境变量,在.bash_profile增加
source /opt/ibm/InfoSphereStreams/bin/streamsprofile.sh
export JAVA_HOME=/opt/ibm/java-i386-60/
PATH=$JAVA_HOME/bin:$PATH
export PATH
, 而后将StreamsInstallFiles/Licenses/treams_trial.lic拷贝到/home/streamsadmin目录下,最后重启电脑。
 
下面可以为运行测试案例了:
mkdir splsamples
cp -R   /opt/ibm/InfoSphereStreams/samples/spl/feature/RegularExpression splsamples
cd splsamples/RegularExpression
make distributed
 
streamtool mkinstance -i sample --template developer
streamtool startinstance -i sample
streamtool submitjob -i sample output/sample.DateTimeFormatter.adl
 
streamtool lspes -i sample
 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16582684/viewspace-750358/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16582684/viewspace-750358/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值