Child pages
  • Linux - Installing (old pre v1.3.1)
Skip to end of metadata
Go to start of metadata


The individual performing this installation has some Linux experience.
Root level server access.
Pre-requisites are installed as per the RedHat/CentOS or Debian/Ubuntu guides.

NOTE - This guide is for a new install of Open-AudIT. If you wish to upgrade an existing installation, see the Linux - Upgrading (old pre v1.3.1) guide.

You should be able to determine the IP Address of your Open-AudIT server via the following command:

This will be required later, so make a note of it now.

Install Steps

All local commands should be run as root.

Copy the Open-AudIT tarball to the server (OAE-Linux-x86_64-1.0.5.tar.gz).

You may need to use SCP or FTP to get the file onto the server.

The file will now likely be in the users home directory.

Change into the /usr/local directory.
Untar the file.
Fix the file ownership and permissions.
Change permissions

for Debian / Ubuntu


for RedHat / CentOS

Install the Daemon

Copy the daemon startup script.
Edit the start up script 

for Debian / Ubuntu

You need to comment out the lines (nano /etc/init.d/omkd)

and uncomment (remove the # from the front of the line) the lines below them

for RedHat / CentOS - nothing required.

Add the daemon

For Debian / Ubuntu

For RedHat / CentOS

Copy the config files.
Edit the config files.

Set omkd_require_nmis to 'false' if you do not have NMIS installed on this server.

OAE_SERVER variable - By default this should be "". You should not need to change this. If you do, insert the ip address of the server ( or localhost are also fine) in to the oae_server variable (along with http:// and don't forget the trailing /). If you have Open-AudIT installed into a sub directory in your web root, be sure to add that to the end of the oae_server variable above. On the Opmantek virtual appliance (for example) it would be http://<SERVER_IP>/open-audit/

OAE_LINK variable - By default this should be "/open-audit/". You should not need to change this. If you have Open-AudIT installed into a sub directory in your web root, be sure to add that to the end of the oae_link variable above. On the Opmantek virtual appliance (for example) it would be "/open-audit/" NOTE - If your Open-AudIT Enterprise and Open-AudIT installations are on the same machine, the oae_link variable should be set to only the directory of Open-AudIT. IE - if you have an Open-AudIT install in the root of your web directory, you can set the variable to "/". On the Opmantek virtual appliance it would be set to "/open-audit/".

Optional - change and note the oae_username and oae_password values. These are changed in opCommon.nmis and the Open-AudIT web GUI. They must be changed in both locations.

If you have other Opmantek software installed (NMIS, opMaps, etc) you can also edit the module_configs -> module_host variable in opCommon.nmis. Replace http://localhost with the address of the server.

The email section is described in the Open-AudIT Enterprise - Configuration Guide document.

Set the permissions to writeable.
Create the nmis user. 
Start the daemon.

Configure Apache

Copy the apache config file to the correct location and restart apache.

for Debian / Ubuntu:

for RedHat / CentOS:

Copy the required files into the webroot

for Debian / Ubuntu (prior to 14.04)

for Ubuntu 14.04

for RedHat / CentOS

Ensure index.php contains the correct locations for finding the OpenAudit files.


/var/www/open-audit/index.php (for Debian/Ubuntu prior to 14.04) or

/var/www/html/open-audit/index.php (for Ubuntu 14.04) or

/var/www/html/open-audit/index.php (for RedHat/CentOS)

and check the lines that specify the $system_path and $application_folder. There are two lines for each variable. Ensure the windows paths are commented out by placing a # at the start of the line. The linux paths should correspond to /usr/local/open-audit/code_igniter/ (system or application).

Configure MySQL

  • The root password for MySQL needs to be set next; if you have used mysql_secure_installation or mysqladmin before to set the  password, then you can skip this step.

    In the command below replace the token PASSWORD (and only the all-uppercase token PASSWORD) with a suitable password of your choosing.
  • Now create the Open-AudIT database and the database user to be used by the application. Make sure you replace the token PASSWORD with the actual database password that you set.
  • Insert the database schema

Test the Website

You should now be able to access the web page at http://IPADDRESS/open-audit/index.php Assuming you can, proceed to the next section.

Enter Your License

Go to the URL http://<server>/omk/oae/
Enter the default credentials of nmis and nm1888.
Click the "View and enter licenses" button.
Click "Enter a license key".
Paste your license key text into the text box and click "Add License".
You should see a message at the top of the screen saying "Success: You have added a license for Open-AudIT Enterprise."
Close the browser tab.
Click the "License Entered, Continue" button.
Accept the End User License Agreement.
You should now see the Open-AudIT Enterprise dashboard.

Log in to Open-AudIT Enterprise

Go to the URL http://IPADDRESS/omk/oae

Log in to Open-AudIT

Go to the URL http://IPADDRESS/open-audit/index.php 

If you don't have a valid license, you should be able to log in to Open-AudIT at http://IPADDRESS/open-audit/index.php/login/index/main/list_groups

Modify your Audit Scripts

If you have installed Open-AudIT into a sub directory on your webserver, you must alter the audit scripts to submit to the correct URL, which means the URL needs to include this sub directory.. The files that need to be modified are all in /usr/local/open-audit/other and are named

  • audit_subnet.vbs
  • audit_windows.vbs

You should reset the variable "url" (sans quotes) to include this subdirectory.

  • No labels