The following is a modified version of the Installation Guide written by Eddie Azman for Midgard-1.1.1. It describes steps taken to install Midgard a number of times on a test server. Many a newbie to Midgard benifitted greatly from the original Eddie Azman document, the helpful assistance of the Midgard Community and the incredible insight and patience of Emiliano Heyns.
Here is a note on the test system used to develop these installation instructions for Midgard-1.4. This is mainly to illustrate that Midgard will run on fairly modest hardware (although how it holds up in a production environment will depend more on net traffic and available RAM).
Intel Pentium II / 266 MHz / 128MB RAM
Linux Mandrake 7.2 with kernel 2.2.17
We chose to install all the required components from source files because it provides the facility to fine tune the installation. If you choose to install some of the components differently (from binaries or rpm), your mileage will likely vary. You will have to verify that you have the development libraries for the various packages (Apache, Glib and MySQL).
Midgard installation and operation depends on a number of packages and the installation will fail if those packages are not properly installed on your system. If these packages have been previously installed on your system, you can simply skip the sections detailing their installation.
Apache 1.3.3 or later
MySQL 3.22.32 (earlier versions have known security problems)
glib 1.2.8
expat-1.95.1
zlib-1.1.3 (the zlib compression and decompression library is required by repligard)
If you're installing from binary packages for your platform, you'll most likely need the header files and other development-related material separately (sometimes found in a corresponding -dev or -devel package).