Created
August 9, 2011 04:14
-
-
Save fairchild/1133404 to your computer and use it in GitHub Desktop.
script to install euca-tools 1.3.1 from source, tested on a mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export VERSION="1.3.1" | |
export WORKING_DIR=~/Downloads/euca2install | |
mkdir -p ${WORKING_DIR} | |
cd ${WORKING_DIR} | |
wget http://open.eucalyptus.com/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http://eucalyptussoftware.com/downloads/releases/euca2ools-${VERSION}-src-deps.tar.gz | |
tar -zxvf euca2ools-${VERSION}-src-deps.tar.gz | |
cd euca2ools-${VERSION}-src-deps | |
tar -zxvf boto-1.9b.tar.gz | |
cd boto-1.9b | |
sudo python setup.py install | |
cd .. | |
tar -zxvf M2Crypto-0.20.2.tar.gz | |
cd M2Crypto-0.20.2 | |
sudo python setup.py install | |
cd ${WORKING_DIR} | |
wget http://open.eucalyptus.com/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http://eucalyptussoftware.com/downloads/releases/euca2ools-${VERSION}.tar.gz&nid=1346 | |
tar -zxvf euca2ools-${VERSION}.tar.gz | |
cd euca2ools-${VERSION} | |
sudo make | |
euca-version |
i've also had some success getting euca to work with virtualenv; but the bash #! headers need to be changed to use #!/usr/bin/env python over #!/usr/bin/python
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! This script helped a lot, but ended up changing two things: