Permalink
Browse files

huh?

  • Loading branch information...
1 parent b1f6e55 commit 99aef3117da2777702af3e2fb4423be4540e83c4 @thedatachef thedatachef committed Aug 19, 2010
View
@@ -0,0 +1,32 @@
+#!/usr/bin/env bash
+
+# A url directory with the scripts you'd like to stuff into the machine
+REMOTE_FILE_URL_BASE="http://github.com/infochimps/wukong"
+
+# echo "`date` Broaden the apt universe"
+# sudo bash -c 'echo "deb http://ftp.us.debian.org/debian lenny multiverse restricted universe" >> /etc/apt/sources.list.d/multiverse.list'
+
+# Do a non interactive apt-get so the user is never prompted for input
+export DEBIAN_FRONTEND=noninteractive
+
+# Update package index and update the basic system files to newest versions
+echo "`date` Apt update"
+sudo apt-get -y update ;
+sudo dpkg --configure -a
+echo "`date` Apt upgrade, could take a while"
+sudo apt-get -y safe-upgrade
+echo "`date` Apt install"
+sudo apt-get -f install ;
+
+echo "`date` Installing base packages"
+# libopenssl-ruby1.8 ssl-cert
+sudo apt-get install -y unzip build-essential git-core ruby ruby1.8-dev rubygems ri irb build-essential wget git-core zlib1g-dev libxml2-dev;
+echo "`date` Unchaining rubygems from the tyrrany of ubuntu"
+sudo gem install --no-rdoc --no-ri rubygems-update --version=1.3.7 ; sudo /var/lib/gems/1.8/bin/update_rubygems; sudo gem update --no-rdoc --no-ri --system ; gem --version ;
+
+echo "`date` Installing wukong gems"
+sudo gem install --no-rdoc --no-ri addressable extlib htmlentities configliere yard wukong right_aws uuidtools cheat
+sudo gem list
+
+echo "`date` Wukong bootstrap complete: `date`"
+true
@@ -0,0 +1,48 @@
+#
+# Elastic MapReduce config in wukong
+#
+
+#
+# Infrastructure options
+#
+
+# == Fill all your information into yet another file with your amazon key
+:emr_credentials_file: ~/.wukong/credentials.json
+#
+# == Use the credentials file, set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env vars, or enter them here:
+# :access_key: ASDFAHKHASDF
+# :secret_access_key: ADSGHASDFJASDFASDF
+#
+# == Path to your keypair file
+# :key_pair_file: ~/.wukong/keypairs/gibbon.pem
+# == Keypair will be named after your file, or force the name:
+# :key_pair: ~
+
+# == Path to the Amazon elastic-mapreduce runner. Get a copy from
+# http://elasticmapreduce.s3.amazonaws.com/elastic-mapreduce-ruby.zip
+:emr_runner: ~/ics/hadoop/elastic-mapreduce/elastic-mapreduce
+
+#
+# Cluster Config
+#
+:num_instances: 1
+:instance_type: m2.xlarge
+:master_instance_type: ~
+:hadoop_version: '0.20'
+# :availability_zone: us-east-1b
+
+#
+# Running and reporting options
+#
+:alive: true
+:enable_debugging: true
+:emr_runner_verbose: true
+:emr_runner_debug: ~
+:step_action: CANCEL_AND_WAIT # CANCEL_AND_WAIT, TERMINATE_JOB_FLOW or CONTINUE
+
+#
+# Remote Paths
+#
+:emr_root: s3n://emr.infinitemonkeys.info
+
+
Oops, something went wrong.

0 comments on commit 99aef31

Please sign in to comment.