Prerequisites
...
Code Block | ||
---|---|---|
| ||
chown -R root:root omk
chmod -R 775 omk
chown -R root:www-data /usr/local/open-audit
chmod -R 770 /usr/local/open-audit
chmod -R 777 /usr/local/open-audit/code_igniter/application/views/lang/
chmod 770 /usr/local/open-audit/other/audit_linux.sh
chmod 770 /usr/local/open-audit/other/audit_subnet.sh
chmod 660 /usr/local/open-audit/other/open-audit.log |
Change permissions for Debian / Ubuntu
Code Block | ||
---|---|---|
| ||
chown -R root:www-data /usr/local/open-audit |
Change permissions for RedHat / CentOS
Code Block | ||
---|---|---|
| ||
chown -R root:apache /usr/local/open-audit |
Change into the omk directory
Code Block | ||
---|---|---|
| ||
cd omk |
...
Note - if you are upgrading the Opmantek virtual machineappliance, you will need to copy the files into a sub directory.
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/ |
For RedHat / CentOS
Code Block | ||
---|---|---|
| ||
chmod -R 775 /var/www/html |
For the Opmantek virtual appliance
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.
...
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.
Restart Apache
We need to restart (or reload the config, really) Apache to enable the proxy config.
For Debian / Ubuntu
Code Block | ||
---|---|---|
| ||
service apache reload |
for RedHat / CentOS
Code Block | ||
---|---|---|
| ||
service httpd reload |
Log in to Open-AudIT at http://SERVER/index.php/main/list_groups and go to Help -> About and perform the database upgrade.
Go to Menu -> Admin -> Config and set the URLs for opMaps, Dashboard and NMIS. These will likely be:
For opMaps - http://IPADDRESS/omk/oae/map
For Dashboard - http://IPADDRESS/omk/oae
For NMIS - http://IPADDRESS/cgi-nmis8/nmiscgi.pl
Check your Groups and Reports are functional. If you have some standard Groups and Reports activated, you may wish to deactivate them (Menu -> Admin -> Groups -> List Groups -> delete icon) and activate new ones (Menu -> Admin -> Groups -> Activate Group). Most Group and Report definitions have been updated. Do not deactivate Network Groups. These are created dynamically and if you deactivate them, you will either have to wait until a new computer is audited on the subnet in question (and hence the Group is recreated) or manually input a Group definition.
...