annotate experiments/scripts/setup_aws_instance.sh @ 185:550d0d6bffe5

- AWS
author tomwalters
date Wed, 11 Aug 2010 13:06:30 +0000
parents b44be313367b
children 0fe39a205514
rev   line source
tomwalters@54 1 #!/bin/bash
tomwalters@54 2 # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone
tomwalters@169 3 # ec2-run-instances --user-data-file ec2_user_data.sh \
tomwalters@169 4 # --key tom_eu_west \
tomwalters@169 5 # --instance-type m1.small \
tomwalters@169 6 # --instance-count 1 \
tomwalters@169 7 # --region eu-west-1 \
tomwalters@169 8 # --availability-zone eu-west-1b \
tomwalters@169 9 # ami-2fc2e95b
tomwalters@169 10
tomwalters@54 11 sudo apt-get -y update
tomwalters@185 12 sudo apt-get -y install bc subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox
tomwalters@182 13
tomwalters@182 14 # For 64-bit systems, uncomment this line:
tomwalters@182 15 # sudo apt-get -y install libc6-dev-i386
tomwalters@168 16
tomwalters@184 17 sudo mkdir -p /mnt/aimc
tomwalters@168 18 sudo chown ubuntu /mnt/aimc
tomwalters@168 19 cd /mnt/aimc
tomwalters@168 20 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
tomwalters@179 21 cd aimc-read-only/experiments/scripts/
tomwalters@168 22 ./master.sh