Prerequisites
...
Section |
---|
Column |
---|
| for Debian / Ubuntu You need to comment out the lines (nano /etc/init.d/omkd) Code Block |
---|
| . /etc/init.d/functions # RedHat/CentOS only
lockfile=/var/lock/subsys/$prog # RedHat/CentOS only
killproc $prog # Redhat/CentOS only |
and uncomment (remove the # from the front of the line) the lines below them Code Block |
---|
| # . /lib/lsb/init-functions # Debian/Ubuntu only
# lockfile=/var/lock/$prog # Debian/Ubuntu only
#pkill $prog # Debian/Ubuntu only |
|
Column |
---|
| for RedHat / CentOS - nothing required. |
|
Add the daemon
Section |
---|
Column |
---|
| For Debian / Ubuntu Code Block |
---|
| update-rc.d omkd start 20 2 3 4 5 . stop 20 0 1 6 . |
|
Column |
---|
| For RedHat / CentOS Code Block |
---|
| chkconfig --add omkd |
|
|
...
Code Block |
---|
|
service omkd start |
Test the Daemon
You should now be able to point a web browser at http://SERVER:8042/omk/oae and at http://SERVER/omk/oae
The default credentials for the Dashboard are user: nmis, password: nm1888.
Edit the Open-AudIT scripts (if using a web root subdirectory)
...
For Debian / Ubuntu
Code Block |
---|
|
\cp -Rf /usr/local/open-audit/www/* /var/www/ |
For RedHat / CentOS
Code Block |
---|
|
\cp -Rf /usr/local/open-audit/www/* /var/www/html/ |
Note - if you are upgrading the Opmantek virtual appliance, you will need to copy the files into a subdirectory.
Code Block |
---|
|
\cp -Rf /usr/local/open-audit/www/* /var/www/html/open-audit/ |
Fix the file permissions
For Debian / Ubuntu
Code Block |
---|
|
chmod -R 775 /var/www/ |
...
Code Block |
---|
|
chmod -R 775 /var/www/html/open-audit |
Restore old files (if required)
Copy any attachment files from your old to the new install.
...