You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction


This document will describe how to install Open-AudIT v1.0 on GNU/Linux distros.

 Caveats

These installation instructions and scripts have been tested on Ubuntu 12.04, Ubuntu 13.04, Debian 7 and CentOS 6.3. Other distributions may work. If you do install on another distribution and make alterations to the install script (or notes thereof), please contribute this back to the community so others can also benefit.

Assumptions

The reader is assumed to have a working knowledge of UNIX or GNU/Linux systems.

Where there are differences between CentOS 6 and Debian/Ubuntu, this document will use the following convention.

Instructions specific to Red Hat/CentOS will be in RED.

Instructions specific to Debian/Ubuntu will be in BLUE.

Instructions applicable to any distro will remain in BLACK.

Also, this document will use the <oadir> tag to refer to Open-AudIT's installation directory. The default place is /usr/local/open-audit.

Installation


Linux Distribution

First, install your GNU/Linux distribution. With both CentOS and Debian/Ubuntu, I do a basic installation with no extra stuff. That means no GNOME, KDE, "Server" packages, or anything else. Just a base installation is all that's necessary. This guide has been checked on Linux installs with minimal install which is indeed quite minimal, because of this you may see some packages being installed that you might normally assume to be installed.

Linux Security Settings

If you're running CentOS or any other Red Hat-derived distribution, be sure that SELinux is turned off, Permissive mode was tested and it worked well, just very nagging. So disabling SELinux is a lot easier that way.

Also, I like to turn off the default Red Hat firewall. It is assumed that the reader knows how to do both of these; if not, there are plenty of resources on the Web describing how.

General Settings

Before you start you should determine the following:

The hostname of your server.

The timezone of your server as defined in http://www.php.net/manual/en/timezones.php

The IP Address of your server.

CentOS Additional Packages

CentOS requires the EPEL repository to be enabled in order to install php-mcrypt.

Debian / Ubuntu Additional Packages

All required packages are in the existing repositories already.

Open-AudIT Installation

The easiest way to get Open-AudIT installed and running is to download the source package to the server. From the server console extract the .zip file and cd into the open-audit directory. 

To install on CentOS / RedHat, make sure you are root then run

./other/install_centos_redhat.sh

To install on Debian / Ubuntu run

sudo ./other/install_debian_ubuntu.sh

 

  • No labels