Open-AudIT should be installed on 64bit systems only. You might try it on a 32bit system, but this will not be supported going forward.
These installation instructions and scripts have been tested on Ubuntu 12.04, Ubuntu 13.04, Debian 7. Other versions may work. If you do install on another version and need to make alterations, please contribute this back to the community so others can also benefit.
The below commands should be run as the root user (you can "sudo su" on Ubuntu).
All items in CAPITALS should be substituted with actual specific values.
Make sure your server package list is up to date (you may need to reboot if you install a kernel update).
There are a few variables you should note down (they will be used later on).
Install MySQL (make a note of your supplied root password).
Install the other required packages
We also need to install winexe. It is not in repositories, but available for most distributions via the SuSe Build Service. Go to the URL http://download.opensuse.org/repositories/home:/ahajda:/winexe/ and download the relevant package for your distribution. Install it using "sudo dpkg -i PACKAGENAME" and you should be good to go.
Open-AudIT uses Nmap for discovery, sshpass for Linux auditing and screen / samba-client / winexe for Windows auditing.
Discovery will not work without these packages installed.
Configure PHP (substituting $TIMEZONE from above).
Set the server name (substituting $HOSTNAME from above) for Apache, enable mod-proxy and restart
Set the SUID for the nmap binary (so we can use the apache front end to run scripts which call nmap).