(and discovering What’s On Your Network in 10 minutes)
Open-AudIT can be downloaded, installed, configured and discovering devices in under 10 minutes.
The main points are:
- Go to Open-AudIT.org and download the latest version. Install Open-AudIT.
- Log on to Open-AudIT and fill out the form to receive a free 20 device license.
- Add some credentials.
- Add a Discovery.
- Run the Discovery.
- Done!
Installing
Go to open-audit.org and download the latest version. Supply your name, email and company and download the binary. Run “sudo ./OAE-Linux-x86_64-release_2.0.11.run”.
Log on to Open-AudIT and you should see a splash screen informing you that you do not have a license – but Opmantek will give you a 20 device license for free. Just fill out the form and your 20 device Professional license will be activated.
All you need to do now is add some credentials, add a discovery and run it. Done!
A screencast is below. This was recorded on a fresh Ubuntu 16.04 install that already had apache and mysql installed, as well as any updates applied (simply to save time for the screencast). If apache and mysql were not installed, the installer would have installed them for us, as it does the other required packages. To come!
Once you have installed Open-AudIT, hop over to our Getting Started page for more helpful information.
Upgrading
Upgrading is essentially the same as installing.
Just run the installer as per above and when you log on to the web interface, you will be directed to the database schema upgrade screen.
Run this and your schema will be upgraded and you can then continue to use Open-AudIT as normal.
Don't forget we have release notes available for every version so you'll know exactly what has changed.
Database Creation
Open-AudIT requires a database to store its information in. If you ever need to manually create this database, the commands to do so are below. You should have already set a root password. If you have not, the default root password set by an Open-AudIT installation is openauditrootuserpassword.
Create the database.
mysql -u root -p -e "CREATE DATABASE openaudit;"
Create the database user.
mysql -u root -p -e "CREATE USER openaudit@localhost IDENTIFIED BY 'openauditpassword';"
Give the user access tot he database.
mysql -u root -p -e "GRANT ALL PRIVILEGES ON openaudit.* TO openaudit@localhost IDENTIFIED BY 'openauditpassword'; FLUSH PRIVILEGES;"
Populate the database schema.
mysql -u root -p openaudit -e "/usr/local/open-audit/other/openaudit_mysql.sql"
Dependencies
Open-AudIT relies on dependencies to function. These dependencies are based on the distribution and version you are using. They are below.
Centos 6 * NO LONGER SUPPORTED
subscription-manager repos --enable rhel-6-server-optional-rpms yum install 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 samba4-common samba4-client logrotate perl-Time-modules ipmitool
Centos 7 * NOT RECOMMENDED
yum -y install epel-release yum install mariadb-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-ParseDate ipmitool rrdtool libpng12 awscli
RedHat 6 * NO LONGER SUPPORTED
rhn-channel --add --channel=rhel-x86_64-server-optional-6 yum install 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 samba4-common samba4-client logrotate perl-Time-modules ipmitool
Redhat 7 * NOT RECOMMENDED
subscription-manager repos --enable=rhel-7-server-optional-rpms yum install mariadb-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-ParseDate ipmitool rrdtool libpng12 awscli
Redhat 8
subscription-manager repos --enable=rhel-8-server-optional-rpms yum install mariadb-server httpd php php-cli php-mysqlnd php-ldap php-json php-mbstring php-process php-snmp php-xml nmap zip curl wget sshpass screen samba-client logrotate perl-Time-ParseDate ipmitool rrdtool libpng12
Debian 8 * NOT RECOMMENDED
apt-get install mysql-server apache2 apache2-utils libapache2-mod-proxy-html libapache2-mod-php5 openssh-client php5 php5-cli php5-ldap php5-mcrypt php5-mysql php5-snmp nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool awscli
Debian 9
apt-get install mysql-server apache2 apache2-utils libapache2-mod-php openssh-client php php-cli php-ldap php-mbstring php-mcrypt php-mysql php-snmp php-xml nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool awscli
Debian 10
apt-get install mariadb-server apache2 apache2-utils libapache2-mod-php openssh-client php php-cli php-curl php-ldap php-mbstring php-mysql php-snmp php-xml nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool libpng12-0 awscli
Ubuntu 16.04 * NOT RECOMMENDED
apt-get install mysql-server apache2 apache2-utils libapache2-mod-php openssh-client php php-cli php-ldap php-mbstring php-mcrypt php-mysql php-snmp php-xml nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool awscli
Ubuntu 18.04
apt-get install mysql-server apache2 apache2-utils libapache2-mod-php openssh-client php php-cli php-curl php-ldap php-mbstring php-mysql php-snmp php-xml nmap zip wget curl sshpass screen smbclient logrotate ipmitool rrdtool libpng12-0 awscli
Ubuntu 20.04
apt-get install mariadb-server apache2 apache2-utils libapache2-mod-php openssh-client php php-cli php-curl php-ldap php-mbstring php-mysql php-snmp php-xml nmap zip wget curl sshpass screen smbclient logrotate ipmitool rrdtool libpng12-0 awscli
1 Comment
Thomas Fischer
Ubuntu 20.04 → pls remove libpng12-0 as its not required since Release Notes for Open-AudIT v4.4.2