Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems
Phone System reconfiguration 11.1.2018 to 26.1.2018 - we are on email but incoming landline not available. Temp number 0797 4 925928
Well House Consultants
You are on the site of
Well House Consultants
Open Source Training Courses
hotel accommodation. You are welcome to browse and use
our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Well House Manor Resources
Object Orientation and General topics
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
C and C++ Resources
Web and Intranet Resources
Web Application Deployment module A602
Apache httpd - Sourcing, Installation, Testing
Exercises, examples and other material relating to training module A602. This topic is presented on public courses Deploying Apache and Tomcat
, Deploying LAMP - Linux, Apache, MySQL, Perl/PHP
, Linux Web Server
, Deploying Java Applications on Linux / Unix
, Extra Day
, Linux bootcamp
Apache httpd is a highly configurable web server, and you'll always want to make changes from the default. In this module, we look at sourcing and installing httpd, at configuring it to meet your needs, and at testing the configuration changes.
Related technical and longer articlesLinux and httpd file system layout - LAMP serverA Web interface for your Linux admin tasksWindows - running Apache and MySQL from a CD
|Articles and tips on this subject||updated|
|4437||Adding a PHP build option, rotating an image based on camera data, and a new look at thumbnails in PHP|
A real pleasure to do a bit of image manipulation in PHP, and to install an extra module onto our PHP web server. Not common tasks, but ones we have to do occasionally.
Installing the exif module onto my existing PHP. Note that each build updates config.nice so that adding an option ...
|3426||Automed web site testing scripted in Ruby using watir-webdriver|
How do you test your web site? With a visit to a few pages, or by waiting for customer feedback if something's not working? That's a very risky approach, and what you really need is a planned and systematic testing regime, with unit tests that must be passed (but will flag fails) run on a regular basis.
|1731||Apache httpd, MySQL, PHP - installation procedure|
If you're installing LAMP (Linux, Apache, MySQL, PHP), what do you do and in which order? Here's a summary of the procedure we followed on todays Apache httpd deployment course - in this case running (tailored) for a single company audience, and tailored for specfic needs.
(I've documented this and ...
|2520||Global and Enable - two misused words!|
The word global is used in declaring variables in some languages such as Tcl and Python to indicate that the variable being referred to is shared with the variable of the same name at the top scope. To use the word global, which implies that the declaration makes the variable visible everywhere, is misleading
|2184||Choosing the right version of Java and Tomcat|
Java is described as being a portable language. But that only means that the 'runnable' class files are fairly portable - you must download and install the correct Java Virtual Machine / Java Runtime Environment / Java Development Kit for your computer / operating system / needs.
This diagram shows ...
|2096||Where is my new Apache httpd installed|
When you're installing a software package you have the install script writer has a choice - whether to put it all in one place so that you can easily remove it again if it doesn't work for you, or whether to spread the elements far and wide so that each element is on an area of the disc which has an ...
|2080||Using ApacheBench and jconsole to test and monitor Tomcat|
jconsole lets you monitor Tomcat or another Java application so that you can see how much memory is in use, how many threads you have running, how many classes, etc.
Here's an example of a Tomcat server that was sitting virtually unused ... which we then exercised through ApacheBench - the ab utility ...
|907||Browser -> httpd -> Tomcat -> MySQL. Restarting.|
I've just completed a course covering the installation and configuration of Apache httpd, Apache Tomcat and MySQL. Complete with a demonstration that has the newly installed systems visited from various browsers, talking to httpd, which talks on to Tomcat, which talks on in turn to MySQL. The MySQL ...
|1945||Summary - Apache httpd build on Linux|
As a regular user:
1002 tar xzf httpd-2.2.10.tar.gz
1003 cd httpd-2.2.10
1004 ./configure --prefix=/usr/local/apache_2.2.10 \
--enable-rewrite --enable-so --enable-proxy \
--enable-proxy-http --enable-proxy-ajp \
|550||2006 - Making business a pleasure|
"Making Business a Pleasure" - a spoken logo for Well House Consultants for 2006.
Whether you're attending a course, staying as a guest at Well House Manor, working for us, or simply visiting our web site, we want you to enjoy the experience.
We don't know exactly what 2006 will bring, but we have ...
|1768||What is built in to this httpd and PHP?|
If you build your own tailored Apache httpd and PHP, you should take a full backup when you're done, and also fully document which options you selected and modules you included in the build.
You SHOULD do so, of course ... but it's something that you can overlook all too easily. If you find yourself ...
|1707||Configuring Apache httpd|
There are two approaches to bundling software for user installation.
"The MicroSoft way" is to use an install wizard that drops each of the elements of the software into the best operational place on the user's system, and configures it there for running straight away.
"The OpenSource way" is to install ...
|1455||Connecting to MySQL 5 from PHP on Mac OSX Leopard|
What is the difference between "localhost" and "127.0.0.1"? Everything, it seems, when you're trying to connect MySQL (and I have version 5.0.37 Community at the moment) running on Mac OSX - the latest Leopard release - with their PHP release including the MySQL drivers. It's PHP release 5.2.4.
|1449||Upgrade Mac OSX to Leopard, Web Server Apache httpd config lost|
We upgraded one of our Systems to OS X 10.5 (Mac, Leopard) recently and I have just enabled "Web Sharing" ... that's the Apache httpd daemon.
To my horror I saw this ...
... rather than this ...
• The httpd.conf file has MOVED from the /private/etc/httpd to the /private/etc/apache2 directory
|1292||DHCP automatic IP address v Static IP|
"My system chose its own IP address ... does it matter?" From Skype - a fresh server (a real "beast") is just being commissioned:
newsystem 06/08/2007 07:22
okay, this beastie has powers beyond my full comprehension. Firstly, it has two ethernet ports. secondly, it automatically chose an IP address. ...
|1095||Apache httpd , browser, MySQL and MySQL client downloads|
If you download a copy of the Apache httpd web server, does it come bundled with a browser as well?
No - it doesn't. Although you'll access your web server through a browser most of the time (or rather your USERS will) it would be pretty odd to download both pieces of software together.
and yet ....
|982||Notes from the white board|
I come up with my best presentations in front of a class. There's nothing like having the adrennalin flowing to fine tune the way some information is got across, and nothing as good as an inquisitive group of delegate to inspire a new approach. So I end up with some notes on the whiteboard that I ...
|660||Stopping and restarting Apache httpd cleanly|
If you'r running an Apache httpd server and you need to restart it, then you may be used to running:
and in close succession, those should cause only a minor blip in service of perhaps a second or two; the sort of thing that can be put down to a "sticky internet". But you ...
Examples from our training material
PicturesStudents on a public course
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Sourcing Apache httpd.
The user account under which to run the web server.
The address of the web site administrator.
Changing the location of files on the web site.
Allowing more than just serving files!.
Allowing individual users their own web sites.
Configuring log files.
Setting up a separate cgi-bin directory.
Changing your error report pages.
Getting server status reports through the web.
Installing and Configuring httpd on Windows.
Testing your installation.
Testing the basic web directory and home page location.
Testing the userŐs home directory web sites are working.
Testing the server status and server info pages.
Testing your error page.
Testing for the presence and operation of a PHP script.
Testing for the presence and operation of server side includes.
Testing the operation of a .cgi program (written in Perl).
Testing the cgi-bin directory.
Testing wider services.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
Linux and LAMP
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.