单机环境: 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 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/
export JAVA_HOME=/opt/ibm/java-i386-60/
PATH=$JAVA_HOME/bin:$PATH
export PATH
, 而后将StreamsInstallFiles/Licenses/treams_trial.lic拷贝到/home/streamsadmin目录下,最后重启电脑。
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
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 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/
本文提供了一个详细的指南,指导如何在 CentOS5.6 单机环境中安装和配置 IBM InfoSphere Streams,包括解压、依赖检查、安装所需组件、初始化环境、设置用户权限、配置环境变量、激活试用许可证以及启动测试案例的全过程。
28

被折叠的 条评论
为什么被折叠?



