Mercurial > hg > aimc
annotate trunk/experiments/scripts/setup_aws_instance.sh @ 352:26c7ad278d3c
- AWS (again!)
| author | tomwalters |
|---|---|
| date | Wed, 11 Aug 2010 11:52:02 +0000 |
| parents | 89b49df39ce6 |
| children | fcc9fcd04a99 |
| rev | line source |
|---|---|
| tomwalters@335 | 1 #!/bin/bash |
| tomwalters@335 | 2 # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone |
| tomwalters@339 | 3 # ec2-run-instances --user-data-file ec2_user_data.sh \ |
| tomwalters@339 | 4 # --key tom_eu_west \ |
| tomwalters@339 | 5 # --instance-type m1.small \ |
| tomwalters@339 | 6 # --instance-count 1 \ |
| tomwalters@339 | 7 # --region eu-west-1 \ |
| tomwalters@339 | 8 # --availability-zone eu-west-1b \ |
| tomwalters@339 | 9 # ami-2fc2e95b |
| tomwalters@339 | 10 |
| tomwalters@335 | 11 sudo apt-get -y update |
| tomwalters@352 | 12 sudo apt-get -y install subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox |
| tomwalters@352 | 13 |
| tomwalters@352 | 14 # For 64-bit systems, uncomment this line: |
| tomwalters@352 | 15 # sudo apt-get -y install libc6-dev-i386 |
| tomwalters@338 | 16 |
| tomwalters@338 | 17 sudo mkdir /mnt/aimc |
| tomwalters@338 | 18 sudo chown ubuntu /mnt/aimc |
| tomwalters@338 | 19 cd /mnt/aimc |
| tomwalters@338 | 20 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only |
| tomwalters@349 | 21 cd aimc-read-only/experiments/scripts/ |
| tomwalters@338 | 22 ./master.sh |
