Install OA Prerequisites

natedogs911 edited this page Apr 21, 2016 · 1 revision

Building or installing prerequisites should be done in a directory created under the /home// directory. It is recommended to create a temporary folder called “src” for easy deletion after successful validation.

mkdir src
cd src

Python 2.7 is required for the operational analytics component.

#Pre-requisites
sudo yum -y groupinstall "Development Tools"
sudo yum -y install zlib-devel readline-devel sqlite-devel openssl-devel

#Python install
wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
tar xf Python-2.7.6.tar.xz
cd Python-2.7.6
./configure
make
sudo make altinstall
cd .. 

Pip will be needed to install various python dependencies

wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py 
sudo /usr/local/bin/python2.7 get-pip.py

Install Jupyter to create the notebook server.

wget --no-check-certificate https://pypi.python.org/packages/source/i/ipython/ipython-3.2.0.tar.gz#md5=41aa9b34f39484861e77c46ffb29b699
tar xvf ipython-3.2.0.tar.gz
cd ipython-3.2.0
sudo /usr/local/bin/python2.7 setup.py install
cd ..

There are several python modules needed for the notebook server that are not part of a normal python install. Install these with pip.

pip2.7 install pyzmq jinja2 tornado jsonschema numpy
cd ..
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.