You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

 

Open-AudIT and Open-AudIT Enterprise can be uninstalled as separate items. Opmantek software packages use shared libraries so if you have other Opmantek products installed on the same server as Open-AusIT Enterprise, you should disabled (as opposed to uninstall) Open-AudIT Enterprise.

 

Assumptions

You are using a standard Open-AudIT and Open-AudIT Enterprise install. If you have changed items such as database name, passwords, etc you will need to adjust the commands below.

 

Uninstalling Open-AudIT (data)

To remove the database from the server, type the below commands.

mysql -u root -popenauditpassword -e "drop database openaudit;"

Open-AudIT can also store attachment data. If you have any attachments, they will be deleted in the next step.

 

Uninstalling Open-AudIT (program)

To remove all Open-AudIT program files, run the below commands. Note the two apache web directory commands. One will work on Debian based systems, the other will work on RedHat based systems. It is safe to run both.

rm -rf /usr/local/open-audit
rm -rf /var/www/html/open-audit
rm -rf /var/www/open-audit

 

Uninstalling Open-AudIT Enterprise

Other Opmantek Software Installed

As advised above, if you have other Opmantek software installed should should not uninstall the Open-AudIT Enterprise program files. To prevent Open-AudIT Enterprise being available on the server you should edit the file /usr/local/omk/conf/opCommon.nmis. Find the attribute omkd => load_applications and remove Open-AudIT from the list. This will prevent Open-AudIT from being available on the server.

No Other Opmantek Software Installed

If no other Opmantek software is installed, you can safely uninstall Open-AudIT Enterprise and it's data by running the below commands. Note the two apache config commands. One will work on Debian based systems, the other will work on RedHat based systems. It is safe to run both.

 

service omkd stop
rm -f /etc/init.d/omkd
rm -f /etc/apache2/sites-enabled/04omk-proxy.conf
rm -f /etc/httpd/conf.d/04omk-proxy.conf
rm -rf /usr/local/omk

 


  • No labels