-
Notifications
You must be signed in to change notification settings - Fork 0
Apache Ignite_Rework
Cnaik edited this page Jan 24, 2019
·
8 revisions
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Apache Ignite binaries are available and can be downloaded from here. Following are the dependencies to be installed.
- Download and install AdoptOpenJDK 8 from here
Note: At the time of creation of these build instructions Apache Ignite was verified with AdoptOpenJDK version (build 1.8.0_192-b12_openj9) .
cd /<source_root>/
sudo yum install -y wget tar make flex gcc gcc-c++ gcc-devel.s390 binutils-devel bzip2
wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.3.0/gcc-6.3.0.tar.gz
tar -xvzf gcc-6.3.0.tar.gz
cd gcc-6.3.0/
./contrib/download_prerequisites
cd /<source_root>/
mkdir gcc_build
cd gcc_build/
../gcc-6.3.0/configure --prefix="/opt/gcc" --enable-shared --with-system-zlib --enable-threads=posix --enable-__cxa_atexit --enable-checking --enable-gnu-indirect-function --enable-languages="c,c++" --disable-bootstrap --disable-multilib
Note: By changing the prefix, you can specify a different installation directory. Make sure to use the same directory in below commands
make
sudo make install
export PATH=/opt/gcc/bin:$PATH
sudo ln -sf /opt/gcc/bin/gcc /usr/bin/gcc
export C_INCLUDE_PATH=/opt/gcc/lib/gcc/s390x-ibm-linux-gnu/6.3.0/include
export CPLUS_INCLUDE_PATH=/opt/gcc/lib/gcc/s390x-ibm-linux-gnu/6.3.0/include
sudo ln -sf /opt/gcc/lib64/libstdc++.so.6 /lib64/libstdc++.so.6
To start an Ignite node, unzip binary to /<source_root>/
and follow the steps given below.
export IGNITE_HOME=/<source_root>/<apache_ignite_binary_folder>
cd /<source_root>/<apache_ignite_binary_folder>
bin/ignite.sh