Versions Compared

Key

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

...

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

Installation Steps

All local commands should be run as root.

...

Section
Column
width40%

for Debian / Ubuntu

Code Block
languagebash
chown -R root:www-data /usr/local/open-audit

 

Column
width40%

for RedHat / CentOS

Code Block
languagebash
chown -R root:apache /usr/local/open-audit 

Install the Daemon

Copy the daemon startup script.

...

Code Block
languagebash
cp install/users.dat conf/
 
cp install/oae_reports.json conf/
 
cp install/opCommon.nmis conf/
Edit the config files.

Make sure you set both oae_server and oae_link. They will likely be the same address. Set omkd_require_nmis to 'false' if you do not have NMIS installed.

...

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

Set the permissions to writeable.
Code Block
languagebash
chmod -R 755 /usr/local/omk/conf 
Create the nmis user. 
Code Block
languagebash
useradd nmis
Start the daemon.
Code Block
languagebash
service omkd start

Test the daemon

You should now be able to point a web browser at http://SERVER:8042/omk/oae

...

Section
Column
width40%

for Debian / Ubuntu

Code Block
languagebash
rm /var/www/index.html 
Column
width40%

for RedHat / CentOS

Code Block
languagebash
rm /var/www/html/index.html 

Configure MySQL

If you have not already, set the root password for MySQL.

...

Code Block
languagebash
mysql -u root -popenauditrootuserpassword -e "USE openaudit; DELETE FROM oa_config WHERE config_name = 'maps_url'; INSERT INTO oa_config (config_name, config_value, config_editable, config_description) VALUES ('maps_url', 'http://IPADDRESS/omk/oae/map', 'y', 'The web server address of Maps for Open-AudIT Enterprise.');"

mysql -u root -popenauditrootuserpassword -e "USE openaudit; DELETE FROM oa_config WHERE config_name = 'oae_url'; INSERT INTO oa_config (config_name, config_value, config_editable, config_description) VALUES ('oae_url', 'http://IPADDRESS/omk/oae', 'y', 'The web server address of Open-AudIT Enterprise.');"

Test the website

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

...