Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (34 sloc) 1.42 KB

Installation (on Ubuntu 11.04)

# install dependencies
sudo apt-get install build-essential erlang erlang-dev python python-dev python-django python-numpy python-scipy python-simplejson python-pyparsing python-flask nginx libcmph-dev git-core

# under large workloads disco runs out of file descriptors
cat 'fs.file-max = 1000000' >> /etc/sysctl.conf
sysctl -p
cat '* soft nofile 800000' >> /etc/security/limits.conf
cat '* hard nofile 800000' >> /etc/security/limits.conf
cat 'root soft nofile 800000' >> /etc/security/limits.conf
cat 'root hard nofile 800000' >> /etc/security/limits.conf

# build disco (with my changes)
git clone git://
git checkout deploy
cd disco
sudo make install
sudo make install-core
sudo make install-discodb

# setup disco
ssh-keygen (default options)
cat .ssh/ >> .ssh/authorized_keys
disco start
in web config:
  change node name from 'localhost' to hostname
  change workers to 4

# build and setup springer-analytics
git clone
cd springer-analytics
cp analytics.conf /etc/nginx/sites-enabled/
python -c -b /etc/nginx/htpasswd $username $password
service nginx restart
nohup python > server_log &
Something went wrong with that request. Please try again.