annotate trunk/scripts/aws_prepare.sh @ 309:1c58a6f354e2

-Added debug symbols option for GCC -Fixed SSI bug - too early to try -1 for the other bits - oops again! -Added boost libraries to EC2 script
author tomwalters
date Fri, 26 Feb 2010 16:58:26 +0000
parents 403763a98382
children bceed72792c7
rev   line source
tomwalters@300 1 #!/bin/bash
tomwalters@300 2 # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone
tomwalters@302 3 sudo apt-get -y update
tomwalters@309 4 sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential libboost-dev
tomwalters@300 5 sudo mkdir /media/sounds-database
tomwalters@300 6 sudo mount /dev/sdf1 /media/sounds-database/
tomwalters@303 7 cd /media/sounds-database/htk/htk/
tomwalters@303 8 sudo make install
tomwalters@303 9 su ubuntu
tomwalters@303 10 cd /mnt/
tomwalters@300 11 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
tomwalters@300 12 cd aimc-read-only
tomwalters@300 13 scons
tomwalters@300 14 cd ..
tomwalters@302 15 mkdir experiments
tomwalters@302 16 cd experiments
tomwalters@302 17 cp ../aimc-read-only/scripts/HTKAimfeat.sh ./
tomwalters@302 18 chmod u+x HTKAimfeat.sh
tomwalters@302 19 ./HTKAimfeat.sh _ec2_first_try
tomwalters@303 20 tar -cf work_ec2_first_try.tar work_ec2_first_try/
tomwalters@303 21 cp work_ec2_first_try.tar /media/sounds-database/experiment-results/
tomwalters@303 22 #sudo shutdown -h now