System DependenciesΒΆ

Scale requires the following to be installed on all masters and slaves

  • Apache Mesos 0.21.X
  • Docker 1.5.x
  • Python 2.7.x
  • Virtualenv
  • Pip
  • python-setuptools
  • geos
  • postgis2_93 (TODO: is this right?)

Installation on CentOS7

Apache Mesos

  1. Download the mesos rpm from mesosphere
  2. rpm -i mesos-0.21.1-1.1.centos701406.x86_64.rpm

Docker

  1. yum install -y docker
  2. edit /etc/sysconfig/docker and add any private registries
  3. systemctl enable docker
  4. systemctl start docker

When docker is installed a new docker group is added. Whichever user runs the scale3 nodes will need to be aded to the docker group.

Python and virtualenv

  1. sudo yum install gcc httpd openssl-devel zlib-devel sqlite-devel bzip2-devel -y
  2. unzip a Python distribution
  3. from the unzipped directory run:
  1. ./configure
  2. sudo make altinstall
  1. Download the distributions for setuptools, pip, and virtualenv
  2. For each of the above, unzip the distribution and run ‘’/usr/local/bin/python2.7 setup.py install’‘

Geos and Postgis

  1. yum install -y geos geos-devel libpqxx gdal-libs proj