ITPub博客

首页 > Linux操作系统 > Linux操作系统 > InfoSphere Streams首次安装使用

InfoSphere Streams首次安装使用

原创 Linux操作系统 作者:std1984 时间:2012-12-01 11:27:43 0 删除 编辑
单机环境: 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博客 ” ,链接:https://blog.itpub.net/16582684/viewspace-750358/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-29

  • 博文量
    171
  • 访问量
    1401347