Skip to content

Instantly share code, notes, and snippets.

@campeterson
Last active August 29, 2015 13:57
Show Gist options
  • Save campeterson/9422175 to your computer and use it in GitHub Desktop.
Save campeterson/9422175 to your computer and use it in GitHub Desktop.
Setup Server for Data Workflow

Install Git

  sudo yum install git

Install JVM

  yum install java-1.7.0-openjdk

Install Leiningen

  mkdir bin
  cd bin/
  wget https://raw.github.com/technomancy/leiningen/stable/bin/lein
  chmod 755 lein

Install Drake

  git clone git@github.com:Factual/drake.git
  cd ../
  vim drake.sh
  mv drake drake-repo/
  mkdir repos
  mv drake-repo/ repos/drake
  mv drake.sh drake
  chmod 755 drake

Install Pandas

 sudo easy_install pip

 sudo yum install python-matplotlib scipy python-pandas sympy python-nose

 # sudo yum install build-essential gfortran gcc g++ python-dev # not sure if this helped

 sudo yum groupinstall "Development Tools"

 sudo pip install pandas

Install MongoDB

 http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/

Create a /etc/yum.repos.d/mongodb.repo file to hold the following configuration information for the MongoDB repository:

 [mongodb]
 name=MongoDB Repository
 baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
 gpgcheck=0
 enabled=1

 yum install mongo-10gen mongo-10gen-server

Install Pymongo

 sudo pip install pymongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment