...
. /lib/lsb/init-functions
For Debian / Ubuntu, create a symlink
Code Block |
---|
|
ln -s /usr/lib/insserv/insserv /sbin/insserv |
Add the daemon
Code Block |
---|
|
chkconfig --add omkd |
...
Code Block |
---|
|
cp install/users.dat conf/
cp install/oae_reports.json conf/
cp install/opCommon.nmis conf/ |
Edit the config files. For 1.0.5, 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.
Code Block |
---|
|
nano conf/opCommon.nmis |
And set the permissions to writeable.
Code Block |
---|
|
chmod -R 755 /usr/local/omk/conf |
Edit the "openauditenterprise" section and insert the actual ip address of the server (not 127.0.0.1 or localhost) 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/
Optional - change and note the oae_username and oae_password values.
...
The email section is described in the Open-AudIT Enterprise - Configuration Guide document.
And set the permissions to writeable.
Code Block |
---|
|
chmod -R 755 /usr/local/omk/conf |
Create the nmis user.
...