Install on one machine RHEL
Make sure you’ve set up the repositories before attempting these instructions.
To follow the instructions here, you must complete the steps in the “Set up the repositories” guide.
This procedure consists of the following steps:
Install Java.
Install the Intelligence Center and its third-party dependencies.
Enable and start services.
Install Java
First, install Java 11.
yum -y install java-11-openjdk-headless
update-alternatives --set java $(readlink -f /usr/lib/jvm/jre-11/bin/java)
The platform uses OpenJDK.
Generate a secret key
Next, generate a secret key and add it to /etc/default/eclecticiq-platform:
EIQ_SECRET_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo "EIQ_SECRET_KEY=$EIQ_SECRET_KEY" >> /etc/default/eclecticiq-platform
Install the Intelligence Center and its dependencies
To perform a full install of the Intelligence Center, run:
yum -y install eclecticiq-platform-full
Then, restrict access to configuration files by running:
chown root:eclecticiq /etc/default/eclecticiq-platform*
chmod 640 /etc/default/eclecticiq-platform*
Install extensions
Install all extensions:
📔 You must set up the /opt/eclecticiq-platform-backend/pip.conf and ~/.netrc files in “Set up the repositories” for this command to work.
# Uninstall old extensions from venv
/opt/eclecticiq-platform-backend/bin/pip freeze | grep '^eclecticiq-extension-' | grep -v '^eclecticiq-extension-api=' | cut -d= -f1 | xargs -r /opt/eclecticiq-platform-backend/bin/pip uninstall -y
# Install specified extensions in venv
/opt/eclecticiq-platform-backend/bin/pip install $extensions_packages
Start and enable third-party services
Start and enable the services needed by the IC:
# Start and enable third-party services
for x in \
elasticsearch \
kibana \
neo4j \
eclecticiq-neo4jbatcher \
nginx \
postgresql-11 \
redis \
statsite \
logstash \
; do
systemctl start $x
systemctl enable $x
done
Database migrations
Once done with the instructions here, you must perform database migrations to finish installing the IC.
To complete the installation procedure, make sure you run the database migrations before continuing with the other configuration steps.