Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

Database

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

...

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

 

...

Program Files

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.

Code Block
languagebash
rm -rf /usr/local/open-audit
rm -rf /var/www/html/open-audit
rm -rf /var/www/open-audit

Prerequisites

Note that if you wish to remove all the prerequisites installed by Open-AudIT, run the command below. Note that this will remove programs such as Apache, MySQL, etc from your server.

Debian Based

Code Block
languagebash
apt-get purge mysql-server apache2 apache2-utils libapache2-mod-proxy-html libapache2-mod-php5 openssh-client php5 php5-ldap php5-mcrypt php5-mysql php5-snmp nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl

RedHat Based

Code Block
rpm -e mysql mysql-server httpd php php-cli php-mysql php-ldap php-mbstring php-mcrypt php-process php-snmp php-xml nmap zip curl wget sshpass screen samba-client logrotate perl-Time-modules
rm -f /etc/yum.repos.d/epel*

 

Uninstalling Open-AudIT Enterprise

Other Opmantek Software Installed

...