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.

11.1.2 Testing Apache<br />

apr-util-ldap.s390x 0:1.3.9-3.el6 httpd-tools.s390x 0:2.2.15-5.el6<br />

Complete!<br />

► Verify that the RPMs were installed<br />

# rpm -qa | grep httpd<br />

httpd-tools-2.2.15-5.el6.s390x<br />

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

httpd-2.2.15-5.el6.s390x<br />

► Be<strong>for</strong>e starting the Apache Web server, use the chkconfig command to set the service to<br />

start at boot time:<br />

# chkconfig --list httpd<br />

httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off<br />

# chkconfig httpd on<br />

# chkconfig --list httpd<br />

httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />

Start the Apache Web server to verify it is installed successfully.<br />

# service httpd start<br />

Starting httpd: [ OK ]<br />

To verify that Apache is installed correctly, after it’s been started, bring up a Web browser<br />

and point it to the server. For example, the virtual server running on LINUX01 can be reached<br />

with the following URL:<br />

http://9.60.18.224/<br />

You should see the following test page to verify the Web server is working:<br />

170 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6

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

Saved successfully!

Ooh no, something went wrong!