个人工具

UbuntuHelp:UEC/PackageInstall

来自Ubuntu中文

跳转至: 导航, 搜索

Overview

This tutorial covers UEC installation by adding the Eucalyptus packages to previously installed Ubuntu 10.04 servers. You can also find instructions on adding Eucalyptus to Ubuntu 9.10 Servers.

Objective

From this tutorial, you will learn how to install, configure, register and perform several operations on a basic UEC setup that results in a cloud with a one controller "front-end" and one node for running Virtual Machine (VM) instances.

Tutorial

STEP 1: Prerequisites

To deploy a minimal cloud infrastructure, you’ll need at least two dedicated systems:

  • a Front End
  • one or more Node(s)

<<Include(UEC/SystemRequirements)>>

STEP 2: Install the Cloud/Cluster/Storage/Walrus Front End Server(s)

  1. Install Ubuntu 10.04 Server
  2. Update to the most current state in the Ubuntu archive:
sudo apt-get update
sudo apt-get dist-upgrade
  1. Install the eucalyptus-cloud and eucalyptus-cc packages on the Front End:
sudo apt-get install eucalyptus-cloud eucalyptus-cc eucalyptus-walrus eucalyptus-sc

Answer debconf's questions:

  • Configure postfix for internet delivery
  • Name your cluster
  • e.g. cluster1
  • Add a list of available IP addresses on your network
  • e.g. 192.168.1.200-192.168.1.249

Note: Depending on the number of systems you will be setting up, you may not want to install all the above packages on the same system. For best results, have a look at some recommended topologies.

STEP 3: Install and Configure the Node Controller(s)

<<Include(UEC/NodeInstallation)>>

STEP 4: Register the Walrus, Cluster, Storage, and Node Controllers

<<Include(UEC/Registration)>>

STEP 5: Obtain Credentials

<<Include(UEC/Credentials)>>

STEP 6: Install an image from the store

<<Include(UEC/GetAnImageFromStore)>>

STEP 7: Run an Image

<<Include(UEC/RunningImages)>> Your UEC cloud should now look similar to the following logical diagram: 模板:Http://pompone.cs.ucsb.edu/~nurmi/images/euca-topo-withinst.png

More Information

<<Include(UEC/MoreInfo)>>

Glossary

<<Include(UEC/Glossary)>>