Installing AMP on existing RHEL/CentOS 4 or 5 for versions AMP 6.2.3 and before

By JuliaOstrowski posted Jun 10, 2014 06:14 PM


The normal AMP installation includes the CentOS 5 Operating System. 

This document describes how to install the AirWave Management Platform on Red Hat Enterprise Linux 4 and 5, and also applies to installing AMP on a standalone version of CentOS 4 or 5. The customer is responsible for purchasing a copy of Red Hat Enterprise Linux or downloading CentOS for free from

AMP versions prior to 6.3 do not work on RHEL 5.3
If you'd like to run RHEL 5.3, please see the following article:

AMP versions prior to 6.3 are bundled with CentOS 4 or 4.3. AMP versions after the initial 6.3 release are bundled with CentOS 5 or 5.2. To verify your OS version, you can do:
# cat /etc/redhat-release

1) Copy the list of rpms (from a clean install of AMP 5.2 on Cent4) to the AMP being installed (eg. /var/airwave/custom/amp52.rpms.txt). This list is available today at

2) Use xargs to pipe that list to up2date

cat /var/airwave/custom/amp52.rpms.txt | xargs -i up2date {}

3) Disable selinux

Using nano or another text editor, open /etc/selinux/config and set


At this point, a reboot is recommended.

4) Download and unpack the AMP software:

wget --http-user='<username>' --http-passwd='<password>' -O /root/AMP-5.2.3-cvs.tar.gz 
tar -zxvf /root/AMP-5.2.3-cvs.tar.gz -C /root 

5) Run the amp_install script (/root/svn/mercury/install/amp-install). You may see some errors during this step, and you can ignore them.

6) Run the upgrade_postres script (/root/svn/mercury/src/upgrade_postgres)

7) Remove/reinstall mod_perl

rpm -e mod_perl

rpm -Uvh --force /root/svn/mercury/src/rpms/CentOS-4.2/mod_perl2/mod_perl-2.0.1-1.fc4.i386.rpm
rpm -Uvh --force --noscripts?/root/svn/mercury/src/rpms//*libapreq2*-2.06-2.i386.rpm;

8) Do a make:

root; make


Some Known Gotchas:

Some distributions include Apache modules which are not compatible with the AMP. To work around this you can simply delete their config files. The ones we've seen in the past have been:


After those are deleted, we recommend that you run a make ("root; make").