====== IBM InfoSphere Streams Installation Guide ====== Steps to install IBM InfoSphere Streams: - Configure hosts and network - Install IBM InfoSphere Streams - download and extract the tarball - check dependencies - install dependencies - install ibm sdk java v7 - install IBM InfoSphere Streams - First Steps & Sphere Studio Installation - run First Steps - make First Steps Configurations - Configure the SSH Environment - Configure InfoSphere Environment Variables - Generate Public and Private Keys - Verify The Installation - Create Instance - Install Sphere Studio =====Configure hosts and network===== To configure the hosts and network settings for InfoSphereStreams, here are the instructions to be followed: login as root & connect to the internet open and edit hosts <code>#vi /etc/hosts</code> add following line at the beginning of "hosts" file <code> <inet-addr> <hostname>.localdomain <hostname></code> you can get the inet-addr for eth0 with the following terminal command <code>#ifconfig</code> after this step, "hosts" file should look something like: <code> 10.0.2.15 streamsdev.localdomain streamsdev 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 </code> open and edit /sysconfig/network <code>#vi /etc/sysconfig/network</code> edit HOSTNAME as following <code>HOSTNAME=<hostname>.localdomain</code> after this step, "network" file should look something like: <code> NETWORKING=yes HOSTNAME=streamsdev.localdomain </code> reboot the system =====Install IBM InfoSphere Streams===== login as root ====download and extract the tarball==== download the tarball from the course website and extract it to /home/<user> ====check dependencies==== you can check dependencies before installation, so that we can install missing packages <code> #cd /home/<user>/StreamsInstallFiles #./dependency_checker.sh </code> ====install dependencies==== install missing packages with yum <code> # yum install --nogpgcheck gcc-c++ libcurl-devel perl-Time-HiRes perl-XML-Simple policycoreutils-python </code> ===install ibm sdk java v7=== Streams Studio will require IBM SDK Java or configured Oracle JDK, we will use IBM SDK Java v7 here. You can check the InfoSphere Streams documentation to configure Oracle JDK. download the binary file of IBM SDK Java version 7 from the web, and install it to "/opt/ibm/java" <code> #./ibm-java-sdk-7.1-0.0-x86_64-archive.bin </code> add IBM SDK java to the alternatives <code> #update-alternatives --install /usr/bin/java java /opt/ibm/java/bin/java 1 #update-alternatives --install /usr/bin/javac javac /opt/ibm/java/bin/javac 1 </code> set IBM SDK java as default <code> #update-alternatives --config java #update-alternatives --config javac </code> to check the java configuration <code> #java -version #javac -version </code> ====install IBM InfoSphere Streams==== if dependency_checker.sh shows no error or warning, we can install IBM InfoSphere Streams with <code> #./InfoSphereStreamsSetup.bin </code> set "Installation Owner" as your user and user group. you can check your user and user group from "System > Administration > Users and Groups". uncheck "Launch First Steps". logout root. =====First Steps & Sphere Studio Installation===== login as <user> To make the Firs Steps Configurations, launch FirstSteps.sh <code> #cd /opt/ibm/InfoSphereStreams #./FirstSteps.sh </code> Make following First Steps Configurations with default settings. * Configure the SSH Environment * Configure InfoSphere Environment Variables * Generate Public and Private Keys * Verify The Installation * Create and Manage InfoSphere Streams Instances * Create an instance with default settings. * Start the instance you have created. * Develop applications with InfoSphere Streams Studio * Select "/home/<user>" as an installation directory Streams Studio should be running now, happy streaming.