Installing Eucalyptus Console on a Laptop using Vagrant

kyolee310 edited this page Sep 16, 2013 · 5 revisions

Prerequisite

Have a fresh CentOS 6 base image running on Vagrant


Installing Eucalyptus Console on Vagrant

The steps below are based on the Vagrant virtual image:

  • CentOS 6.4 x86_64 Minimal (VirtualBox Guest Additions 4.2.12, Chef 11.4.4, Puppet 3.1.1)

Step 1. Modify Vagrantfile to enable port-forwarding

vim ./Vagrantfile

Modify the line below:

config.vm.network :forwarded_port, guest: 8888, host: 8888

, which maps the localhost's port 8888 to the VM's port 8888

Step 2. SSH into the CentOS 6 image

vagrant ssh

Step 3. Update the image

sudo yum -y update

sudo reboot

SSH back in after the reboot

vagrant ssh

Step 4. Install Tools and Sync Clock

sudo yum -y install git vim ntpdate

sudo ntpdate ntp.ubuntu.com

Step 5. Disable Firewall

sudo yum -y install system-config-firewall-tui

sudo system-config-firewall-tui

Click off "Enabled" to disable the firewall of the VM**

** Not suggested when running in production.

Step 6. Setup elrepo for python-tornado Package

sudo vim /etc/yum.repos.d/epel.repo

Paste the content below:

[epel]

name=Extra Packages for Enterprise Linux 6 - $basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

failovermethod=priority

enabled=1

gpgcheck=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Step 7. Install python-tornado

sudo yum -y update

sudo yum install -y python-tornado

Step 8. Install m2crypto and boto

sudo yum install -y m2crypto python-boto

Step 9. Git Clone eucalyptus-console

git clone https://github.com/eucalyptus/eucalyptus-console.git

Step 10. Check out the Latest Development Branch 'testing'

cd ./eucalyptus-console/

git checkout testing

Step 11. Optional. For Off-line mode, Enable the Mock Mode

vim ./conf/console.ini

Modify the line below in console.ini:

usemock=True

Step 12. Start Eucalyptus Console

cd ~/eucalyptus-console/

./launcher

Step 13. Access Eucalyptus Console via a Browser

http://localhost:8888

Running Pre-baked Eucalyptus Console Image on Vagrant

If you'd like to run a pre-baked eucalyptus console image on Vagrant, check out the link below:

https://github.com/eucalyptus/eucalyptus-console/wiki/Running-Pre-Baked-Eucalyptus-Console-Image-on-Vagrant

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.