Chapter 11. Cloning open source virtual servers 185
3. Verify that the RPM was added:
# rpm -qa | grep mod_ssl
mod_ssl-2.2.15-5.el6.s390x
4. Restart the web server:
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
5. Go back to your browser and click Restart again.
This time you should get a warning about a self-signed certificate, which is acceptable for a
test system. For a production website, you will probably want to obtain a certificate signed by
a certificate authority.
11.1.5 Populating your website
You can begin to put your web pages in the /var/www/html/ directory, which is the default
web root.
11.1.6 Apache resources
The following websites contain additional information about Apache:
http://www.samspublishing.com/articles/article.asp?p=30115&seqNum=4
http://www.sitepoint.com/article/securing-apache-2-server-ssl
http://www.securityfocus.com/infocus/1786
11.2 Creating a virtual LDAP server
The Lightweight Directory Access Protocol (LDAP) is commonly implemented with the
OpenLDAP package, which comes standard with most Linux distributions. Among other
directory functions, OpenLDAP allows for centralized login authentication and user and group
ID resolution.
In this section, you install Linux manually and set up login authentication to a new virtual
LDAP server. Then you go back to the virtual web server you just created and point it to the
new LDAP server.
The steps in this section are as follows:
“Installing the OpenLDAP server” on page 185
“Configuring the OpenLDAP server” on page 186
“Configuring an LDAP client” on page 189
11.2.1 Installing the OpenLDAP server
You should have created a RHEL 6 server on LINUX02 using kickstart. This server will not
have the yum command configured for online updates. Perform the following steps to create
an OpenLDAP server
1. Update the Linux system running on LINUX02 to configure the yum command, as
described in 8.2.2, “Configuring the yum command for online updates” on page 149. You
could also use the clone script to clone the golden image over the kickstarted Linux.
Commenti su questo manuale