Mercurial > hg > aimc
annotate scripts/aws_prepare.sh @ 30:5b1586a234f1
-More updates for EC2
author | tomwalters |
---|---|
date | Wed, 24 Feb 2010 15:08:55 +0000 |
parents | 5e888fbaaa80 |
children | 74196ff1cb98 |
rev | line source |
---|---|
tomwalters@27 | 1 #!/bin/bash |
tomwalters@27 | 2 # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone |
tomwalters@29 | 3 sudo apt-get -y update |
tomwalters@29 | 4 sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential |
tomwalters@27 | 5 sudo mkdir /media/sounds-database |
tomwalters@27 | 6 sudo mount /dev/sdf1 /media/sounds-database/ |
tomwalters@30 | 7 cd /media/sounds-database/htk/htk/ |
tomwalters@30 | 8 sudo make install |
tomwalters@30 | 9 su ubuntu |
tomwalters@30 | 10 cd /mnt/ |
tomwalters@27 | 11 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only |
tomwalters@27 | 12 cd aimc-read-only |
tomwalters@27 | 13 scons |
tomwalters@27 | 14 cd .. |
tomwalters@29 | 15 mkdir experiments |
tomwalters@29 | 16 cd experiments |
tomwalters@29 | 17 cp ../aimc-read-only/scripts/HTKAimfeat.sh ./ |
tomwalters@29 | 18 chmod u+x HTKAimfeat.sh |
tomwalters@29 | 19 ./HTKAimfeat.sh _ec2_first_try |
tomwalters@30 | 20 tar -cf work_ec2_first_try.tar work_ec2_first_try/ |
tomwalters@30 | 21 cp work_ec2_first_try.tar /media/sounds-database/experiment-results/ |
tomwalters@30 | 22 #sudo shutdown -h now |