view scripts/aws_prepare.sh @ 36:74196ff1cb98

-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 5b1586a234f1
children 9e04648fef84
line wrap: on
line source
#!/bin/bash
# Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone 
sudo apt-get -y update
sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential libboost-dev
sudo mkdir /media/sounds-database
sudo mount /dev/sdf1 /media/sounds-database/
cd /media/sounds-database/htk/htk/
sudo make install
su ubuntu
cd /mnt/
svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
cd aimc-read-only
scons
cd ..
mkdir experiments
cd experiments
cp ../aimc-read-only/scripts/HTKAimfeat.sh ./
chmod u+x HTKAimfeat.sh
./HTKAimfeat.sh _ec2_first_try
tar -cf work_ec2_first_try.tar work_ec2_first_try/
cp work_ec2_first_try.tar /media/sounds-database/experiment-results/
#sudo shutdown -h now