Mercurial > hg > aimc
annotate experiments/scripts/setup_aws_instance.sh @ 97:2a6230e96e42
- AWS
author | tomwalters |
---|---|
date | Fri, 13 Aug 2010 11:00:28 +0000 |
parents | 70c8d411af72 |
children | 7410390dce8c |
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@92 | 3 # ec2-run-instances --user-data-file ec2_user_data.sh --key tom_eu_west --instance-type m1.small --instance-count 1 --region eu-west-1 --availability-zone eu-west-1b ami-2fc2e95b |
tomwalters@58 | 4 |
tomwalters@54 | 5 sudo apt-get -y update |
tomwalters@74 | 6 sudo apt-get -y install bc subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox |
tomwalters@71 | 7 |
tomwalters@71 | 8 # For 64-bit systems, uncomment this line: |
tomwalters@97 | 9 sudo apt-get -y install libc6-dev-i386 |
tomwalters@57 | 10 |
tomwalters@73 | 11 sudo mkdir -p /mnt/aimc |
tomwalters@57 | 12 sudo chown ubuntu /mnt/aimc |
tomwalters@92 | 13 sudo mkdir -p /mnt/log |
tomwalters@92 | 14 sudo chown ubuntu /mnt/log |
tomwalters@57 | 15 cd /mnt/aimc |
tomwalters@57 | 16 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only |
tomwalters@68 | 17 cd aimc-read-only/experiments/scripts/ |
tomwalters@97 | 18 ./master.sh &> /mnt/log/log.log |