...
The infinit.e-platform.prerequisites.online and .offline RPMS contains a collection of packages, data files, and scripts that are necessary to prepare a clean CentOS 5.6/6+ or Red Hat Enterprise Linux 5.5/6+ server for the installation of IKANOW's Infinit.e.
...
The installation mode and node type can be specified during installation via the use of command line arguments (see Running install.sh below).
Info |
---|
Note |
...
| API Node | DB Node | Version* |
---|---|---|---|
Createrepo | X | X | createrepo-0.4.11-3.el5.noarch.rpm |
Jpackage-utils | X | X | jpackage-utils-5.0.0-2.jpp5.noarch.rpm jpackage-utils-compat-el5-0.0.1-1.noarch.rpm |
yum-priorities | X | X | yum-priorities-1.1.16-16.el5.noarch.rpm |
s3cmd | X | X | s3cmd-1.0.0-4.1.x86_64.rpm |
Java JRE & JDK | X | X | jre-6u30-linux-x64-rpm.bin jdk-6u30-linux-x64.bin |
Tomcat 6 | X | X | tomcat6-6.0.29-1.jpp5.noarch.rpm |
Splunk | X | X | splunk-4.2.4-110225-linux-2.6-x86_64.rpm |
MongoDB | X | X | mongo-10gen-2.0.2-mongodb_1.x86_64.rpm |
Elasticsearch | X | X | elasticsearch-0.18.7-1.noarch.rpm |
Curl | X | X | curl-7.15.5-9.el5_7.4.x86_64.rpm |
RPM-Build | X | X | rpm-build-4.4.2.3-22.el5_7.2.x86_64.rpm |
...
that the install bundles on the IKANOW downloads page contain a single script that will install all required RPMs, both in online and offline modes. These "quick install"s are described here. |
1. Installation of the RPM
...
Once infinit.e-platform.prerequisites RPM has been copied to the target machine execute the following command (assuming that you are within the same directory in which the RPM is located):
Code Block |
---|
yum localinstall infinitlocalinstall infinit.e-platform.prerequisites.online-*.rpm --nogpgcheck |
or:
Code Block |
---|
mkdir ~/yum.repos.d.backup mv /etc/yum.repos.d/* ~/yum.repos.d.backup yum localinstall infinitOR yum --disablerepo=* localinstall infinit.e-platform.prerequisites.offline-*.rpm --nogpgcheck |
depending on the type of install.
Note that in the offline case all existing yum repositories are removed so that yum does not try to go out over the Internet to fetch dependencies. Running the offline install script (below) will then create a single local repository ("infinite").
2. Running install.sh
The RPM will unpack all of the files required to complete the installation into the following directory:
...
By default install.sh will create an API Node with all the latest RPMs when you type the following command.
...
Code Block |
---|
sh install.sh apinode_latest #to fix to a specific Infinit.e version, append "_v<major>.<minor>" to the node type, eg: sh install.sh apinode_v0.2 |
The Infinit.e version to major (non-backwards compatible) elasticsearch version is as follows:
- apinode_latest: 1.0
- apinode_v0.3: 1.0
- apinode_v0.2: 0.19
- apinode_v0.1: 0.19
- (v0.0 no longer supported: 0.18)
(For legacy reasons, "apinode" defaults to "apinode_v0.2")
DB Node
To install a DB Node type:
Code Block |
---|
sh install.sh dbnode_latest #to fix to a specific Infinit.e version, append "_v<major>.<minor>" to the node type, eg: sh install.sh dbnode_v0.2 |
The Infinit.e version to major (non-backwards compatible) MongoDB version is as follows:
- dbnode_latest: 2.4
- dbnode_v0.3: 2.4
- dbnode_v0.2: 2.4
- dbnode_v0.1: 2.2
- (Supported in online mode only - for offline mode you need to download and install the RPM by hand, eg "yumdownloader mongo-10gen-server-2.2.3 mongo-10gen-2.2.3", transfer the 2 RPMs and then use "rpm -i" on the target machine)
- (v0.0 no longer supported: 2.0)
- (unlike elasticsearch 0.18, mongodb 2.0 is still compatible with the Infinit.e application layer, but it cannot be installed and is not recommended)
(For legacy reasons "dbnode" defaults to "dbnode_v0.2")
3. Configuring the Node via the infinite.configuration.properties.TEMPLATE File
...