Prerequisites
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Add the daemon to the startup sequence
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
If you have your web root in a subdirectory (as per the Opmantek virtual appliance), you will need to edit the "url" variable in the various script files. These files can be found in /usr/local/open-audit/other/ The files you will need to edit all begin with audit_ They include audit_linux.sh, audit_subnet.sh, audit_windows.vbs, etc, etc. The URL variable can usually be found at the top of the file.
...
For Debian / Ubuntu
Code Block | ||
---|---|---|
| ||
rm -rf /var/www/open-audit
rm -rf /var/www/device_images
rm -rf /var/www/theme-tango
rm /var/www/index.php
rm /var/www/favicon.png |
...
Code Block | ||
---|---|---|
| ||
rm -rf /var/www/html/open-audit
rm -rf /var/www/html/device_images
rm -rf /var/www/html/theme-tango
rm /var/www/html/index.php
rm /var/www/html/favicon.png |
...
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/ |
For RedHat / CentOS
Code Block | ||
---|---|---|
| ||
chmod -R 775 /var/www/html |
Restore old files (if required)
Copy any attachment files from your old to the new install.
...
If you have any Groups or Report files saved in /usr/local/open-audit_backup/code_igniter/application/controllers/(groups or reports)/ that have been custom written, you may wish to copy them to the new install. If they are already activated in the database, there should be no need.
Log in to Open-AudIT at http://SERVER/open-audit/index.php/main/list_groups and go to Help -> About to verify that the installation status is ok; if a database upgrade is required, that page will display all relevant instructions for performing the database upgrade.
...
Ensure you copy the new audit scripts to any hosts that use them - these are usually updated.
Enjoy Open-AudIT v1.0.4 AudIT