Creating a local Eucalyptus repository

Follow

If you're sitting behind a corporate firewall, you may run into issues trying to install Eucalyptus. Here's how you build a local repository for the install: 

 

Setting up a local repo is pretty easy to do, you just have to follow the steps here: 

 

  1. Setup your http/https proxy as you normally would. 
  2. Clone our repos, with the following steps: 

 

establish the repos:

 

yum install http://downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64/eucalyptus-release-4.0.el6.noarch.rpm

yum install http://downloads.eucalyptus.com/software/euca2ools/3.1/centos/6/x86_64/euca2ools-release-3.1.el6.noarch.rpm

wget -r --no-parent http://downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64/ -P /tmp/eucalyptus

wget -r --no-parent http://downloads.eucalyptus.com/software/euca2ools/3.1/centos/6/x86_64/ -P /tmp/euca2ools 

(note that these steps may take some time)

(these steps are in our docs here, btw: https://www.eucalyptus.com/docs/eucalyptus/4.0.1/index.html#install-guide/installing_euca_firewall.html)

  1. The next thing you need to do is edit your base repos(that we just installed earlier) to account for the local files: 

edit /etc/yum.repos.d/eucalyptus-release.repo and change the following: (edit: I'd recommend just commenting out the mirrorlist and adding your baseurl in, example below)

baseurl=http://downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64/

to

baseurl=file:///tmp/eucalyptus/downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64

so, what you end up with is this: 

[eucalyptus]

name=Eucalyptus 4.0

#mirrorlist=http://mirrors.eucalyptus.com/mirrors?product=eucalyptus&distro=centos&releasever=$releasever&basearch=$basearch&version=4.0

baseurl=file:///tmp/eucalyptus/downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-eucalyptus-release

gpgcheck=1

enabled=1

 

  1. Edit /etc/yum.repos.d/euca2ools-release.repo and change the following: 

baseurl=http://downloads.eucalyptus.com/software/euca2ools/3.1/centos/6/x86_64/

to 

5. That done, run the following in order to make sure there's no typos: 

# yum update

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

 * extras: mirrors.easynews.com

euca2ools                                                                                         | 1.2 kB     00:00 ...

euca2ools/primary                                                                                 | 3.4 kB     00:00 ...

euca2ools                                                                                                            4/4

eucalyptus                                                                                        | 1.2 kB     00:00 ...

Setting up Update Process

No Packages marked for Update

 

That's it! now have a local Eucalyptus & Euca2ools repository and can install Eucalyptus locally following the standard instructions. 

Have more questions? Submit a request

Comments

Powered by Zendesk