installation ooi3 on Centos - acgx/ooi3 GitHub Wiki

This config can be run with Centos6/7.

We recommend you use [Ubuntu]
(https://github.com/acgx/ooi3/wiki/installation-ooi3-on-Ubuntu-14.04)


yum update

yum groupinstall "Development Tools" "Development Libraries"

yum -y install readline-devel

yum install python-setuptools && easy_install pip

Install Supervisor

See this doc install

yum -y install openssl-devel

cd /opt

wget https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz

tar xzvf Python-3.4.3.tgz

cd Python-3.4.3

./configure --prefix=/opt/python3.4.3

make && make install

ooi need libffi-devel,so you need add third-party source,

see this link to install libffi-devel

yum install git

cd /srv

git clone https://github.com/acgx/ooi3.git

/opt/python3.4.3/bin/pyvenv ooi3

cd ooi3

source bin/activate

pip install -U pip setuptools

pip install -r requirements.txt

install nginx (see [this link to install Nginx][1]) [1]: https://gist.github.com/ifels/c8cfdfe249e27ffa9ba1