The following instructions are meant to be "copy-and-paste" to install and demonstrate.
If a step requires you to think and make a decision, it will be prefaced with
The instructions have been tested against a bare CentOS-7-x86_64-Minimal-1511.iso image.
-
YUM installs
sudo yum -y install epel-release sudo yum -y install git
-
⚠️ Set environment variables. These variables may be modified, but do not need to be modified. The variables are used throughout the installation procedure.export GIT_ACCOUNT=senzing export GIT_REPOSITORY=stream-logger export SENZING_DIR=/opt/senzing
-
Synthesize environment variables.
export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}" export GIT_REPOSITORY_URL="https://github.com/${GIT_ACCOUNT}/${GIT_REPOSITORY}.git" export LD_LIBRARY_PATH=${SENZING_DIR}/g2/lib:$LD_LIBRARY_PATH export PYTHONPATH=${SENZING_DIR}/g2/python
-
Get repository.
mkdir --parents ${GIT_ACCOUNT_DIR} cd ${GIT_ACCOUNT_DIR} git clone ${GIT_REPOSITORY_URL}
-
Run:
sudo xargs yum -y install < ${GIT_REPOSITORY_DIR}/src/yum-packages.txt
-
Run:
sudo pip install -r ${GIT_REPOSITORY_DIR}/requirements.txt