27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 11. Cloning open source virtual servers<br />

<strong>The</strong> secret to creativity is knowing how to hide your sources.<br />

--Albert Einstein<br />

This chapter describes how to clone and customize the following Linux virtual servers:<br />

► “Creating a virtual Web server” on page 169<br />

► “Creating a virtual LDAP server” on page 173<br />

► “Creating a virtual file and print server” on page 178<br />

► “Creating a virtual application development server” on page 182<br />

<strong>The</strong> sections that follow don’t go into the theory nor detail on the four types of servers. Rather,<br />

they are just a reference to get the servers quickly installed and configured. <strong>The</strong>re are many<br />

other resources that go into depth on these types of servers.<br />

11.1 Creating a virtual Web server<br />

<strong>The</strong> example in this section uses the LINUX01 user ID to create a virtual Web server. You<br />

should have a vanilla virtual server cloned to the user ID LINUX01 as described in Chapter 9,<br />

“Configuring RHEL 6 <strong>for</strong> cloning” on page 145.<br />

11.1.1 Installing Apache RPMs<br />

To accomplish this task, per<strong>for</strong>m the following steps:<br />

► SSH into the IP address of the new LINUX01 server. Install the following Apache RPMs<br />

with the yum -y install command. <strong>The</strong> -y flag prevents the “Is this OK” question:<br />

# yum -y install httpd httpd-manual<br />

...<br />

Installed:<br />

httpd.s390x 0:2.2.15-5.el6 httpd-manual.noarch 0:2.2.15-5.el6<br />

Dependency Installed:<br />

apr.s390x 0:1.3.9-3.el6 apr-util.s390x 0:1.3.9-3.el6<br />

11<br />

© Copyright <strong>IBM</strong> Corp. 20<strong>10</strong>. All rights reserved. 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!