Skip to content

Instantly share code, notes, and snippets.

@campeterson
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save campeterson/9422175 to your computer and use it in GitHub Desktop.

Select an option

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

Install Leiningen & Drake

mkdir bin cd bin/ git clone git@github.com:Factual/drake.git wget https://raw.github.com/technomancy/leiningen/stable/bin/lein chmod 755 lein cd ../ ls vim drake.sh ls mv drake drake-repo/ ls mkdir repos mv drake-repo/ repos/drake ls 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