Monitoring, Management & Location Tracking

Installing AMP on Oracle Enterprise Linux (OEL) r5u6 (5.6)

Aruba Employee

This article describes the process for installing on OEL 5.6. This currently applies to all AMP versions 7.0 and after. For our purpose - this is based on doing the installation in TEXT mode. 

PLEASE NOTE: OEL is a derivative of RHEL and most RHEL KB articles will apply.

There is no official Oracle Enterprise Linux support, this guide is provided as-is and for information purposes only.

1. Download the OEL 5.6 (2.6.18 kernel) install dvd from rhn.redhat.com 

2. Burn the dvd

3. Boot off of the dvd and select the **TEXT** option 

4. Select English for the two language options 

5. Enter the installation number 

6. Auto partition (suggested) 

7. Assign a static IP address and set gateway/netmask 

8. Pick appropriate timezone 

9. In the package installation screen, select customize software selection 

10. Unselect everything but editors, text based internet, web server 

12. After it boots you will get a menu. Configure the firewall options and disable the firewall and selinux. If you miss the menu during bootup, you can re-enter the menu by enterring: 
# system-config-securitylevel-tui 

****From here, you have 2 options: 

Option 1: If your AMP can reach the internet: 
----- 
1a. Install AMP rpm file (contact support@airwave.com for the link to the latest rpm file on our web server). It will have the form of: 
# rpm -Uvh AMP-7.x.x.rpm 
For example: 
# rpm -Uvh AMP-7.x.x.rpm 

2a. "up2date --nox --register" to get yum working. 

OR

2b setup the public yum repository from oracle @ http://public-yum.oracle.com/

2b1 enable the appropriate (ol5_u6_base) yum repo in the /etc/yum.repos.d/public-yum-el5.repo by setting enabled=1


3a. Run the yum install to install needed packages: 
yum install perl-Digest-HMAC 
yum install compat-readline43 
yum install lm_sensors 
yum install libtool-ltdl 
yum install xinetd 
yum install postfix 
yum install vsftpd 
yum install subversion-perl 
yum install openssl097a 
yum install distcache

OR

yum install perl-Digest-HMAC compat-readline43 lm_sensors libtool-ltdl xinetd postfix vsftpd subversion-perl openssl097a distcache

4a. Install/remove mail packages if necessary (AMP uses postfix by default, but the RedHat-included sendmail can be used instead). 
# rpm -e sendmail* 

5a. Run amp-install 
# ./amp-install 

At this point, you can follow the steps in the QuickStart Guide found at http://www.airwave.com/support/download/. 

**** 
Option 2: If your AMP cannot reach the internet: 
----- 
1b. Insert/mount the AMP install CD (this is not the same as the rpm file - you'll need to download and burn to CD the AMP ISO file from the download page) and change to the directory containing the rpms: 
# mount /dev/cdrom /media 
# cd /media/CentOS 

2b. Install the AMP rpm file: 
# rpm -Uvh airwave-amp* 

3b. Install the supporting packages: 
# rpm -Uvh openssl097* 
# rpm -Uvh libtool* 
# rpm -Uvh vsftp* 

4b. Install/remove mail packages if necessary (AMP uses postfix by default, but the RedHat-included sendmail can be used instead). 
# rpm -Uvh postfix* 
# rpm -e sendmail* 

5b. Run amp-install 
# cd /root 
# ./amp-install 

At this point, you can follow the steps in the QuickStart Guide found at http://www.airwave.com/support/download/. 





---------------- 

Some Known Gotchas: 

The AMP install process will show errors if the additional packages are not installed prior to ./amp-install. Here is an example of the error messages: 

=== 
openssl097 not installed 
/root/svn/mercury/src/rpms/install_rpm aw-perl-Crypt-SSLeay-0.57_01-1.i386.rpm 
error: Failed dependencies: 
libcrypto.so.4 is needed by aw-perl-Crypt-SSLeay-0.57_01-1.i386 
libssl.so.4 is needed by aw-perl-Crypt-SSLeay-0.57_01-1.i386 
make[3]: *** [perllib] Error 1 

libtool not installed 
./rpms/install_rpm aw-mod_auth_tacacs-1.0-7 rpms/aw-mod_auth_tacacs-1.0-7.i386.rpm; 
Preparing... ################################################## 
aw-mod_auth_tacacs ################################################## 
error: Failed dependencies: 
libltdl.so.3 is needed by freeradius-aw-1.1.6-4.i386 
make[2]: *** [freeradius] Error 1 

vsftp not installed 
/bin/cp -f lib/conf/vsftpd.conf /etc/vsftpd/vsftpd.conf 
/bin/cp: cannot create regular file `/etc/vsftpd/vsftpd.conf': No such file or directory 
make[1]: *** [/etc/vsftpd/vsftpd.conf] Error 1 

This is covered in step 3a or 3b, where these packages are loaded manually.

Version history
Revision #:
1 of 1
Last update:
‎06-25-2014 03:39 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: