...
...
...
...
...
...
Prerequisites
The individual performing this installation has some Linux experience.
...
Code Block | ||
---|---|---|
| ||
cd omk |
Install the omkd Daemon (if not installed)
Copy the daemon startup script.
...
Code Block | ||
---|---|---|
| ||
cp /usr/local/omk/install/omkd.init.d /etc/init.d/omkd |
Edit the start up script
Adjust the startup script for your flavor of Linux distribution
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Add the daemon to the startup sequence
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Copy the config files.
Code Block | ||
---|---|---|
| ||
cp install/users.dat conf/ cp install/oae_reports.json conf/ cp install/opCommon.nmis conf/ |
Edit the config files.
Code Block | ||
---|---|---|
| ||
nano conf/opCommon.nmis |
...
Code Block | ||
---|---|---|
| ||
useradd nmis |
If
Integrate the omkd daemon
...
Edit the file /usr/local/omk/install/04omk-proxy.conf and insert the ip address of the server into the relevant "location" sections (replacing <SERVER>). Make sure you don't use 127.0.0.1.
Code Block | ||
---|---|---|
| ||
nano /usr/local/omk/install/04omk-proxy.conf |
...
with Apache
To make the Opmantek applications accessible via the web the omkd needs to be integrated with your Apache webserver, so that the Apache serving as a front-end knows how to reach the omkd-provided applications.
You need to copy the apache proxy config file to the correct location and restart apache.
Please note that it is essential that you perform the following step and replace any existing proxy config files from older Open-AudIT Enterprise installations! Release 1.2.1 corrects a security issue with the proxy configuration which could have been abused for denial-of-service attacks if Open-AudIT Enterprise was installed with unrestricted inbound access from the Internet
For Debian / Ubuntu:
Code Block | ||
---|---|---|
| ||
cp /usr/local/omk/install/04omk-proxy.conf /etc/apache2/conf.d/ |
...
Code Block | ||
---|---|---|
| ||
cp -Rf /usr/local/open-audit/www/* /var/www/html/ |
Fix the file permissions
For Debian / Ubuntu
Code Block | ||
---|---|---|
| ||
chmod -R 775 /var/www/ |
...
Code Block | ||
---|---|---|
| ||
chmod -R 775 /var/www/html |
Restore old files (if required)
Copy any attachment files from your old to the new install.
...