Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




29.8. Post install Configuration

Configuration files for different services are very specific depending on your needs, and your network architecture. Someone might install Apache Server for showing web pages only; another might install it with database connectivity and e-commerce with SSL support, etc. In this book, we provide you with an httpd.conf file, with PHP, Perl, SSL, LDAP, and password authentication settings, to show you different possibilities.

We'll focus on optimization and security of these files, and leave all specific adjustments to your tastes. You will need to read the documentation that comes with these programs, and hopefully understand them.

Note: All the configuration files required for each software described in this book has been provided by us as a gzipped file, floppy.tgz for your convenience. This can be downloaded from this web address: You can unpack this to any location on your local machine, say for example /tmp, assuming you have done this your directory structure will be /tmp/floppy. Within this floppy directory each configuration file has its own directory for respective software. For example Apache configuration file are organised like this:

          total 16
          -rw-r--r--    1 harrypotter    harrypotter        2417 Jun  8 13:00 Compile-Apache
          -rw-r--r--    1 harrypotter    harrypotter        3426 Jun  8 13:00 httpd.conf
          drwxr-xr-x    3 harrypotter    harrypotter        4096 Jun  8 13:00 init.d/
          drwxr-xr-x    3 harrypotter    harrypotter        4096 Jun  8 13:00 logrotate.d/
You can either cut and paste this directly if you are faithfully following our instructions from the begining or manually edit these to modify to your needs. This facility is there though as a convenience but please don't forget ultimately it will be your responsibility to check, verify, etc. before you use them whether modified or as it is.

To run Apache server, the following files are required and must be created or copied to the appropriate directories on your server.

  1. Copy the httpd.conf file to the /etc/httpd/conf/ directory.

  2. Copy the apache file to the /etc/logrotate.d/ directory.

  3. Copy the httpd script file to the /etc/rc.d/init.d/ directory.

Tip: You can obtain the configuration files listed in the following section on our floppy.tgz archive. Copy the following files from the decompressed floppy.tgz archive to the appropriate places, or copy them directly from this book to the concerned file.

  Published under the terms of the Open Publication License Design by Interspire