view experiments/scripts/setup_aws_instance.sh @ 121:3cdaa81c3aca

- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author tomwalters
date Mon, 18 Oct 2010 04:42:28 +0000
parents ae195c41c7bd
children 9af3dea75007
line wrap: on
line source
#!/bin/bash
# Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone 
# 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
# ec2-run-instances --user-data-file ec2_user_data.sh --key tom_eu_west --instance-type c1.xlarge --instance-count 1 --region eu-west-1 --availability-zone eu-west-1b ami-05c2e971
su ubuntu
sudo apt-get -y update
sudo apt-get -y install bc subversion scons pkg-config libsndfile1-dev build-essential libboost-dev python sox

# For 64-bit systems, uncomment this line:
sudo apt-get -y install libc6-dev-i386

sudo mkdir -p /mnt/aimc
sudo chown `whoami` /mnt/aimc
sudo mkdir -p /mnt/log
sudo chown `whoami` /mnt/log
cd /mnt/aimc
svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
cd aimc-read-only/experiments/scripts/
./master.sh &> /mnt/log/log.log