O'Reilly logo

60 Recipes for Apache CloudStack by Sébastien Goasguen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Installing from Packages

Most users will not install CloudStack from source, so in this chapter, we’ll look at the installation process using community-provided binaries. These instructions are valid on an Ubuntu 14.04 server system; you might need to adapt them if you are on a different operating system.

We are going to set up a CloudStack infrastructure consisting of two machines. One will be running the CloudStack management server, a MySQL database, and an NFS server. The other will be set up as a KVM hypervisor; it will mount the NFS share exported by the management server and will have a Linux bridge set up for all the virtual machines to attach to.

We will set up a basic networking zone (illustrated in Figure 2-1), which means that we will use a shared layer 3 network. Isolation of tenants will be through security groups; no VLANs or other layer 2 isolation method will be used. This will be very similar to the DevCloud (Recipe 1.5) setup, but will use packages instead of a source build, and KVM instead of a Xen hypervisor.

For complete installation instructions, see the official documentation; this is just a quick start guide to get you off the ground. Although the recipes can be read independently of one another, if you want to do a complete install of CloudStack, you will need to review all of the recipes in this chapter.

Note

The Apache Software Foundation does not release binaries, so keep in mind that these hosted packages are made available by community members ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required