Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Requirements

Root level access to the Linux server.

...

A 64bit linux server running one of - RedHat 6, Centos 6, Debian 6 or 7, Ubuntu 12.04 or 14.04.

 

Description

As at version 1.4, the linux installer script has changed.

...

Dependencies are checked and if not present, can be installed by the installer script.

Installing / Upgrading

All commands should be run as root (you can "sudo su" on Ubuntu). 

...

Code Block
languagebash
cd /tmp
tar xf OAE-Linux-x68_64-release_1.4.tar.gz
cd Open-AudIT-1.4.0
./installer

 

 

Apache Proxy Config on RedHat

If the installer cannot find your Apache config directory (usually only on Ubuntu), you will need to manually copy the Apache proxy config file.

...

Code Block
languagebash
echo "ServerName <HOSTNAME>" >> /etc/httpd/conf/httpd.conf
chsh -s /bin/bash apache
service httpd start

 

Apache Proxy Config on Debian

If the installer cannot find your Apache config directory (usually only on Ubuntu), you will need to manually copy the Apache proxy config file.

...

Code Block
languagebash
echo "ServerName <HOSTNAME>" >> /etc/apache2/apache2.conf
service apache2 restart

 

Apache Proxy Config on Ubuntu

If the installer cannot find your Apache config directory (usually only on Ubuntu), you will need to manually copy the Apache proxy config file.

...

Code Block
languagebash
echo "ServerName <HOSTNAME>" >> /etc/apache2/apache2.conf
a2enmod proxy_http
service apache2 restart

 

Configure PHP on RedHat

You will need to ensure your PHP timezone is set correctly. You can check which time zones PHP supports at http://www.php.net/manual/en/timezones.php You can find out your server's timezone by running the command:

...

Code Block
languagebash
sed -i -e 's/memory_limit/;memory_limit/g' /etc/php.ini
echo "memory_limit = 512M" >> /etc/php.ini
sed -i -e 's/max_execution_time/;max_execution_time/g' /etc/php.ini
echo "max_execution_time = 300" >> /etc/php.ini
sed -i -e 's/max_input_time/;max_input_time/g' /etc/php.ini
echo "max_input_time = 600" >> /etc/php.ini
sed -i -e 's/error_reporting/;error_reporting/g' /etc/php.ini
echo "error_reporting = E_ALL" >> /etc/php.ini
sed -i -e 's/display_errors/;display_errors/g' /etc/php.ini
echo "display_errors = On" >> /etc/php.ini
sed -i -e 's/upload_max_filesize/;upload_max_filesize/g' /etc/php.ini
echo "upload_max_filesize = 10M" >> /etc/php.ini
sed -i -e 's/date.timezone/;date.timezone/g' /etc/php.ini
echo "date.timezone = <TIMEZONE>" >> /etc/php.ini


Configure PHP on Debian / Ubuntu

 You will need to ensure your PHP timezone is set correctly. You can check which time zones PHP supports at http://www.php.net/manual/en/timezones.php You can find out your server's timezone by

...

Code Block
languagebash
php5enmod mcrypt

 

Example

An example of an upgrade on Ubuntu 14.04 from v1.3.2 to v1.4 is below.

...