Mercurial > hg > aimc
annotate experiments/scripts/setup_aws_instance.sh @ 71:8644afee68bd
- AWS (again!)
author | tomwalters |
---|---|
date | Wed, 11 Aug 2010 11:52:02 +0000 |
parents | ab6cce48bf3c |
children | d540bfb1ce59 |
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@58 | 3 # ec2-run-instances --user-data-file ec2_user_data.sh \ |
tomwalters@58 | 4 # --key tom_eu_west \ |
tomwalters@58 | 5 # --instance-type m1.small \ |
tomwalters@58 | 6 # --instance-count 1 \ |
tomwalters@58 | 7 # --region eu-west-1 \ |
tomwalters@58 | 8 # --availability-zone eu-west-1b \ |
tomwalters@58 | 9 # ami-2fc2e95b |
tomwalters@58 | 10 |
tomwalters@54 | 11 sudo apt-get -y update |
tomwalters@71 | 12 sudo apt-get -y install subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox |
tomwalters@71 | 13 |
tomwalters@71 | 14 # For 64-bit systems, uncomment this line: |
tomwalters@71 | 15 # sudo apt-get -y install libc6-dev-i386 |
tomwalters@57 | 16 |
tomwalters@57 | 17 sudo mkdir /mnt/aimc |
tomwalters@57 | 18 sudo chown ubuntu /mnt/aimc |
tomwalters@57 | 19 cd /mnt/aimc |
tomwalters@57 | 20 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only |
tomwalters@68 | 21 cd aimc-read-only/experiments/scripts/ |
tomwalters@57 | 22 ./master.sh |