...
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).
Code Block | ||
---|---|---|
| ||
apt-get update && apt-get upgrade |
There are a few variables you should note down (they will be used later on).
...
Code Block | ||
---|---|---|
| ||
apt-get install mysql-server |
Install Apache, PHP, SNMP, zip and Nmap.the other required packages
Code Block | ||
---|---|---|
| ||
apt-get install -q -y apache2 libapache2-mod-proxy-html libapache2-mod-php5 openssh-server php5 php5-ldap php5-mcrypt php5-mysql php5-snmp nmap snmp zip daemon wget curl sshpass screen samba-client |
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).
...