Installing Euca2ools on CentOS 5

In what follows, the value of $VERSION must be substituted accordingly (e.g., as 1.1, 1.2, etc.) for example we can set the value of 1.2 using bash:

export VERSION=1.2

There are 2 ways to obtain the packages:

  1. Yum option: Packages are available from our yum repository. To use it, create '/etc/yum.repos.d/euca.repo' file with the following four lines:
    [euca2ools]
    name=Euca2ools
    baseurl=http://www.eucalyptussoftware.com/downloads/repo/euca2ools/$VERSION/yum/centos/
    enabled=1
    
    and install euca2ools
    yum install euca2ools.$ARCH --nogpgcheck
  2. where $ARCH is either i386 or x86_64 and $VERSION is either 1.1 or 1.2

  3. Tarball option: Download the appropriate tarball from http://open.eucalyptus.com/downloads

    Untar the bundle in a temporary location, install Python 2.5, and install euca2ools

    tar zxvf euca2ools-$VERSION-*.tar.gz
    cd euca2ools-$VERSION-*
    sudo -s
    yum install -y swig
    rpm -Uvh python25-2.5.1-bashton1.x86_64.rpm python25-libs-2.5.1-bashton1.x86_64.rpm euca2ools-$VERSION-*.x86_64.rpm (replace x86_64 with i386 for 32-bit hosts)
    

    NOTE: please use '-Uvh' and not '-i'.