OSVDC Series: Asset Management with Open AudIT 1.12 on CentOS 7.2.1511 - rharmonson/richtech GitHub Wiki

OSVDC: Asset Management with Open-AudIT 1.12 on CentOS 7.2.1511


Revision: December 3, 2016; "delete" bug

Published: November 22, 2016


CentOS 7.2.1511 Minimal

Complete a minimal installation of CentOS 7.2.1511. My build can be found here:

https://github.com/rharmonson/richtech/wiki/CentOS-7-1511-Minimal-x86_64-Base-Installation-Guide

Disable SELinux.

During the installation of Open-AudIT, the installer advises that SELinux's "default configuration is known to interfere with Open-AudIT, and we do therefore recommend that you disable SELinux." Unfortunate and warrants investigation.. later.

$ sudo sed -i 's/enforcing/disabled/g' /etc/selinux/config

Firewall

Make sure to permit HTTP & HTTPS using firewalld or iptables.

If using my CentOS build guide, I utilize a bash script to configure iptables. Add the lines below then execute to permit HTTP & HTTPS. The assumption is a certificate will be installed at a later date for HTTPS.

iptables -I INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 443 -j ACCEPT

Download

Download the Linux package found here:

http://www.open-audit.org/downloads.php

or

https://opmantek.com/network-tools-download/

Alternatively, copy the URL and use curl.

$ sudo curl -O http://dl-openaudit.opmantek.com/OAE-Linux-x86_64-release_1.12.8.2.1.run
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 34.5M  100 34.5M    0     0  2524k      0  0:00:14  0:00:14 --:--:-- 2804k

Perl

The Open-AudIT installer uses Perl, so it needs to be installed.

$ sudo yum install perl-core

Results

================================================================================
 Package                        Arch     Version                Repository
                                                                           Size
================================================================================
Installing:
 perl-core                      x86_64   5.16.3-286.el7         base       42 k
Installing for dependencies:
 gdbm-devel                     x86_64   1.10-8.el7             base       47 k
 glibc-devel                    x86_64   2.17-106.el7_2.8       updates   1.0 M
 glibc-headers                  x86_64   2.17-106.el7_2.8       updates   663 k
 kernel-headers                 x86_64   3.10.0-327.36.3.el7    updates   3.2 M
 libdb-devel                    x86_64   5.3.21-19.el7          base       38 k
 perl                           x86_64   4:5.16.3-286.el7       base      8.0 M
 perl-Archive-Extract           noarch   1:0.68-3.el7           base       28 k
 perl-Archive-Tar               noarch   1.92-2.el7             base       73 k
 perl-B-Lint                    noarch   1.17-3.el7             base       20 k
 perl-CGI                       noarch   3.63-4.el7             base      250 k
 perl-CPAN                      noarch   1.9800-286.el7         base      292 k
 perl-CPAN-Meta                 noarch   2.120921-5.el7         base      113 k
 perl-CPAN-Meta-Requirements    noarch   2.122-7.el7            base       24 k
 perl-CPAN-Meta-YAML            noarch   0.008-14.el7           base       24 k
 perl-CPANPLUS                  noarch   0.91.38-4.el7          base      307 k
 perl-CPANPLUS-Dist-Build       noarch   0.70-3.el7             base       28 k
 perl-Carp                      noarch   1.26-244.el7           base       19 k
 perl-Compress-Raw-Bzip2        x86_64   2.061-3.el7            base       32 k
 perl-Compress-Raw-Zlib         x86_64   1:2.061-4.el7          base       57 k
 perl-DBD-SQLite                x86_64   1.39-3.el7             base      1.3 M
 perl-DBI                       x86_64   1.627-4.el7            base      802 k
 perl-DBIx-Simple               noarch   1.35-7.el7             base       43 k
 perl-DB_File                   x86_64   1.830-6.el7            base       74 k
 perl-Data-Dumper               x86_64   2.145-3.el7            base       47 k
 perl-Digest                    noarch   1.17-245.el7           base       23 k
 perl-Digest-MD5                x86_64   2.52-3.el7             base       30 k
 perl-Digest-SHA                x86_64   1:5.85-3.el7           base       58 k
 perl-Encode                    x86_64   2.51-7.el7             base      1.5 M
 perl-Env                       noarch   1.04-2.el7             base       16 k
 perl-Exporter                  noarch   5.68-3.el7             base       28 k
 perl-ExtUtils-CBuilder         noarch   1:0.28.2.6-286.el7     base       67 k
 perl-ExtUtils-Embed            noarch   1.30-286.el7           base       49 k
 perl-ExtUtils-Install          noarch   1.58-286.el7           base       73 k
 perl-ExtUtils-MakeMaker        noarch   6.68-3.el7             base      275 k
 perl-ExtUtils-Manifest         noarch   1.61-244.el7           base       31 k
 perl-ExtUtils-ParseXS          noarch   1:3.18-2.el7           base       77 k
 perl-FCGI                      x86_64   1:0.74-8.el7           base       42 k
 perl-File-CheckTree            noarch   4.42-3.el7             base       18 k
 perl-File-Fetch                noarch   0.42-2.el7             base       27 k
 perl-File-Path                 noarch   2.09-2.el7             base       26 k
 perl-File-Temp                 noarch   0.23.01-3.el7          base       56 k
 perl-Filter                    x86_64   1.49-3.el7             base       76 k
 perl-Getopt-Long               noarch   2.40-2.el7             base       56 k
 perl-HTTP-Tiny                 noarch   0.033-3.el7            base       38 k
 perl-IO-Compress               noarch   2.061-2.el7            base      260 k
 perl-IO-Zlib                   noarch   1:1.10-286.el7         base       50 k
 perl-IPC-Cmd                   noarch   1:0.80-4.el7           base       34 k
 perl-JSON-PP                   noarch   2.27202-2.el7          base       55 k
 perl-Locale-Codes              noarch   3.26-2.el7             base      314 k
 perl-Locale-Maketext           noarch   1.23-3.el7             base       93 k
 perl-Locale-Maketext-Simple    noarch   1:0.21-286.el7         base       49 k
 perl-Log-Message               noarch   1:0.08-3.el7           base       29 k
 perl-Log-Message-Simple        noarch   0.10-2.el7             base       11 k
 perl-Module-Build              noarch   2:0.40.05-2.el7        base      281 k
 perl-Module-CoreList           noarch   1:2.76.02-286.el7      base       84 k
 perl-Module-Load               noarch   1:0.24-3.el7           base       11 k
 perl-Module-Load-Conditional   noarch   0.54-3.el7             base       18 k
 perl-Module-Loaded             noarch   1:0.08-286.el7         base       45 k
 perl-Module-Metadata           noarch   1.000018-2.el7         base       26 k
 perl-Module-Pluggable          noarch   1:4.8-3.el7            base       29 k
 perl-Net-Daemon                noarch   0.48-5.el7             base       51 k
 perl-Object-Accessor           noarch   1:0.42-286.el7         base       55 k
 perl-Package-Constants         noarch   1:0.02-286.el7         base       44 k
 perl-Params-Check              noarch   1:0.38-2.el7           base       18 k
 perl-Parse-CPAN-Meta           noarch   1:1.4404-5.el7         base       14 k
 perl-PathTools                 x86_64   3.40-5.el7             base       82 k
 perl-Perl-OSType               noarch   1.003-3.el7            base       20 k
 perl-PlRPC                     noarch   0.2020-14.el7          base       36 k
 perl-Pod-Checker               noarch   1.60-2.el7             base       28 k
 perl-Pod-Escapes               noarch   1:1.04-286.el7         base       50 k
 perl-Pod-LaTeX                 noarch   0.61-2.el7             base       35 k
 perl-Pod-Parser                noarch   1.61-2.el7             base      107 k
 perl-Pod-Perldoc               noarch   3.20-4.el7             base       87 k
 perl-Pod-Simple                noarch   1:3.28-4.el7           base      216 k
 perl-Pod-Usage                 noarch   1.63-3.el7             base       27 k
 perl-Scalar-List-Utils         x86_64   1.27-248.el7           base       36 k
 perl-Socket                    x86_64   2.010-3.el7            base       49 k
 perl-Storable                  x86_64   2.45-3.el7             base       77 k
 perl-Sys-Syslog                x86_64   0.33-3.el7             base       42 k
 perl-Term-UI                   noarch   0.36-2.el7             base       22 k
 perl-Test-Harness              noarch   3.28-3.el7             base      302 k
 perl-Test-Simple               noarch   0.98-243.el7           base      170 k
 perl-Text-ParseWords           noarch   3.29-4.el7             base       14 k
 perl-Text-Soundex              x86_64   3.04-4.el7             base       19 k
 perl-Text-Unidecode            noarch   0.04-20.el7            base      114 k
 perl-Thread-Queue              noarch   3.02-2.el7             base       17 k
 perl-Time-HiRes                x86_64   4:1.9725-3.el7         base       45 k
 perl-Time-Local                noarch   1.2300-2.el7           base       24 k
 perl-Time-Piece                x86_64   1.20.1-286.el7         base       68 k
 perl-Version-Requirements      noarch   0.101022-244.el7       base       21 k
 perl-autodie                   noarch   2.16-2.el7             base       77 k
 perl-constant                  noarch   1.27-2.el7             base       19 k
 perl-devel                     x86_64   4:5.16.3-286.el7       base      452 k
 perl-libs                      x86_64   4:5.16.3-286.el7       base      687 k
 perl-local-lib                 noarch   1.008010-3.el7         base       64 k
 perl-macros                    x86_64   4:5.16.3-286.el7       base       43 k
 perl-parent                    noarch   1:0.225-244.el7        base       12 k
 perl-podlators                 noarch   2.5.1-3.el7            base      112 k
 perl-threads                   x86_64   1.87-4.el7             base       49 k
 perl-threads-shared            x86_64   1.43-6.el7             base       39 k
 perl-version                   x86_64   3:0.99.07-2.el7        base       84 k
 pyparsing                      noarch   1.5.6-9.el7            base       94 k
 systemtap-sdt-devel            x86_64   2.8-10.el7             base       65 k

Transaction Summary
================================================================================
Install  1 Package (+103 Dependent packages)

Total download size: 24 M
Installed size: 65 M
Is this ok [y/d/N]:

Package Dependencies

The Open-AudIT installer will install packages on your behalf. If you prefer, install the EPEL repository then install the packages prior to executing the Open-AudIT installer.

EPEL Repository

$ sudo yum -y install epel-release

RPM Packages

$ sudo yum -y install install mariadb 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-modules ipmitool


Note

perl-Time-modules resolves against perl-Time-ParseDate as such the installer flags it as missing during the check for perl-Time-modules. If you respond with yes to install missing packages then tail /var/log/yum.log you will note there are no new packages installed. It doesn't appear to break anything, but I posted on the Opmantek Forum for more information.


Results

=====================================================================================================
 Package                   Arch         Version                                  Repository     Size
=====================================================================================================
Installing:
 httpd                     x86_64       2.4.6-40.el7.centos.4                    updates       2.7 M
 ipmitool                  x86_64       1.8.13-9.el7_2                           updates       368 k
 mariadb                   x86_64       1:5.5.50-1.el7_2                         updates       8.9 M
 mariadb-server            x86_64       1:5.5.50-1.el7_2                         updates        11 M
 nmap                      x86_64       2:6.40-7.el7                             base          4.0 M
 perl-Time-ParseDate       noarch       2015.103-1.el7                           epel           39 k
 php                       x86_64       5.4.16-36.3.el7_2                        updates       1.4 M
 php-cli                   x86_64       5.4.16-36.3.el7_2                        updates       2.7 M
 php-ldap                  x86_64       5.4.16-36.3.el7_2                        updates        51 k
 php-mbstring              x86_64       5.4.16-36.3.el7_2                        updates       504 k
 php-mcrypt                x86_64       5.4.16-5.el7                             epel           20 k
 php-mysql                 x86_64       5.4.16-36.3.el7_2                        updates       100 k
 php-process               x86_64       5.4.16-36.3.el7_2                        updates        55 k
 php-snmp                  x86_64       5.4.16-36.3.el7_2                        updates        52 k
 php-xml                   x86_64       5.4.16-36.3.el7_2                        updates       124 k
 samba-client              x86_64       4.2.10-7.el7_2                           updates       497 k
 screen                    x86_64       4.1.0-0.23.20120314git3c2946.el7_2       updates       552 k
 sshpass                   x86_64       1.05-5.el7                               epel           21 k
 wget                      x86_64       1.14-10.el7_0.1                          base          545 k
 zip                       x86_64       3.0-10.el7                               base          260 k
Installing for dependencies:
 OpenIPMI-modalias         x86_64       2.0.19-11.el7                            base           15 k
 apr                       x86_64       1.4.8-3.el7                              base          103 k
 apr-util                  x86_64       1.5.2-6.el7                              base           92 k
 cups-libs                 x86_64       1:1.6.3-22.el7                           base          355 k
 httpd-tools               x86_64       2.4.6-40.el7.centos.4                    updates        83 k
 libarchive                x86_64       3.1.2-10.el7_2                           updates       318 k
 libldb                    x86_64       1.1.25-1.el7_2                           updates       125 k
 libmcrypt                 x86_64       2.5.8-13.el7                             epel           99 k
 libsmbclient              x86_64       4.2.10-7.el7_2                           updates       120 k
 libtalloc                 x86_64       2.1.5-1.el7_2                            updates        34 k
 libtdb                    x86_64       1.3.8-1.el7_2                            updates        45 k
 libtevent                 x86_64       0.9.26-1.el7_2.1                         updates        33 k
 libwbclient               x86_64       4.2.10-7.el7_2                           updates        97 k
 libxslt                   x86_64       1.1.28-5.el7                             base          242 k
 libzip                    x86_64       0.10.1-8.el7                             base           48 k
 lm_sensors-libs           x86_64       3.3.4-11.el7                             base           40 k
 mailcap                   noarch       2.1.41-2.el7                             base           31 k
 net-snmp                  x86_64       1:5.7.2-24.el7_2.1                       updates       321 k
 net-snmp-agent-libs       x86_64       1:5.7.2-24.el7_2.1                       updates       702 k
 net-snmp-libs             x86_64       1:5.7.2-24.el7_2.1                       updates       747 k
 nmap-ncat                 x86_64       2:6.40-7.el7                             base          201 k
 perl-DBD-MySQL            x86_64       4.023-5.el7                              base          140 k
 php-common                x86_64       5.4.16-36.3.el7_2                        updates       563 k
 php-pdo                   x86_64       5.4.16-36.3.el7_2                        updates        97 k
 pytalloc                  x86_64       2.1.5-1.el7_2                            updates        14 k
 samba-client-libs         x86_64       4.2.10-7.el7_2                           updates       4.3 M
 samba-common              noarch       4.2.10-7.el7_2                           updates       273 k
 samba-common-libs         x86_64       4.2.10-7.el7_2                           updates       157 k
 samba-common-tools        x86_64       4.2.10-7.el7_2                           updates       445 k
 samba-libs                x86_64       4.2.10-7.el7_2                           updates       261 k

Transaction Summary
=====================================================================================================
Install  20 Packages (+30 Dependent packages)

Total download size: 43 M
Installed size: 184 M

Apache & MariaDB

Enable Apache and MariaDB services.

$ sudo systemctl enable httpd mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
$ sudo systemctl start httpd mariadb

Secure MariaDB using mysql_secure_installation command.

$ sudo mysql_secure_installation
/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!

Open-Audit Install

If using SSH, it is advisable to use screen or tmux before beginning the installer. It is optional, however.

$ tmux new -s oainstall

Execute the installer.

$ sudo ./OAE-Linux-x86_64-release_1.12.8.2.1.run

Results

$ sudo ./OAE-Linux-x86_64-release_1.12.8.2.1.run
Verifying archive integrity... All good.
Uncompressing Open-AudIT_1.12.8.2.1  100%


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Open-AudIT (1.12.8.2) Installation script
++++++++++++++++++++++++++++++++++++++++++++++++++++++

This installer will install Open-AudIT into /usr/local/omk.
To select a different installation location please rerun the
installer with the -t option.

Ok to proceed with installation?
Type 'y' or hit <Enter> to accept, any other key for 'no':


++++++++++++++++++++++++++++++++++++++++++++++++++++++
performing pre-installation steps
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking SELinux status
++++++++++++++++++++++++++++++++++++++++++++++++++++++

SELinux is not enabled.
No Opmantek daemon init scripts present, nothing to stop.
Looking for old installations...


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking the Open-AudIT dependencies
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Enabling Centos optional RPM repo


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking if Web is accessible...
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Web access is OK.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Updating YUM metadata cache...
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Loaded plugins: fastestmirror
base                                                     | 3.6 kB     00:00
centos-ovirt40-release                                   | 3.4 kB     00:00
epel/x86_64/metalink                                     |  13 kB     00:00
extras                                                   | 3.4 kB     00:00
ovirt-4.0                                                | 2.9 kB     00:00
ovirt-4.0-centos-gluster37                               | 2.9 kB     00:00
ovirt-4.0-epel/x86_64/metalink                           |  13 kB     00:00
ovirt-4.0-patternfly1-noarch-epel                        | 3.0 kB     00:00
updates                                                  | 3.4 kB     00:00
virtio-win-stable                                        | 3.0 kB     00:00
Loading mirror speeds from cached hostfile
 * base: mirror.nexcess.net
 * epel: mirror.compevo.com
 * extras: mirror.keystealth.org
 * ovirt-4.0: resources.ovirt.org
 * ovirt-4.0-epel: mirror.compevo.com
 * updates: centos.sonn.com
Metadata Cache Created


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking Installed Packages
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package mariadb-server is installed.
Package httpd is installed.
Package php is installed.
Package php-cli is installed.
Package php-mysql is installed.
Package php-ldap is installed.
Package php-mbstring is installed.
Package php-mcrypt is installed.
Package php-process is installed.
Package php-snmp is installed.
Package php-xml is installed.
Package nmap is installed.
Package zip is installed.
Package curl is installed.
Package wget is installed.
Package sshpass is installed.
Package screen is installed.
Package samba-client is installed.
Package logrotate is installed.
Package perl-Time-modules is NOT installed.
Package ipmitool is installed.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Some required packages are missing!
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Open-AudIT requires the following packages which are not installed:

perl-Time-modules

The installer can use YUM to download and install these packages.
Do you want to install these packages with YUM now?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Using yum to install perl-Time-modules
Ensuring MySQL and Apache are enabled and running

Looking for an existing Open-AudIT Community installation...
No existing Open-AudIT installation found.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
verifying files and versions
++++++++++++++++++++++++++++++++++++++++++++++++++++++

...........................................................................................................................................................................................................................................................................................................................................................

++++++++++++++++++++++++++++++++++++++++++++++++++++++
copying files
++++++++++++++++++++++++++++++++++++++++++++++++++++++

...........................................................................................................................................................................................................................................................................................................................................................

++++++++++++++++++++++++++++++++++++++++++++++++++++++
done copying files
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
performing post-installation operations
++++++++++++++++++++++++++++++++++++++++++++++++++++++


Open-AudIT needs the live configuration files in /usr/local/omk/conf/,
and ships the defaults in /usr/local/omk/install/. If you agree, the installer
will copy all missing files to the live configuration directory - it will not
overwrite any files that are already present.

Ok to copy new or missing config files into the live configuration directory?
Type 'y' or hit <Enter> to accept, any other key for 'no': y



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Updating list of installed applications for Opmantek daemon
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Updated init script for the Opmantek daemon available
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Ok to install the init script for the Opmantek daemon?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Installing convenience symlinks


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Updated logrotation config file omk-rotate.conf available
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Ok to install the updated logrotation config file omk-rotate.conf?
Type 'y' or hit <Enter> to accept, any other key for 'no': y


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Updated logrotation config file open-audit-rotate.conf available
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Ok to install the updated logrotation config file open-audit-rotate.conf?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Merging Opmantek Modules definitions
Merging Opmantek License Files


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjusting users, ownerships and permissions
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Priming remaining directories


++++++++++++++++++++++++++++++++++++++++++++++++++++++
NMIS Integration Settings
++++++++++++++++++++++++++++++++++++++++++++++++++++++

No NMIS installed, no Open-AudIT integration possible.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Configuration Updates
++++++++++++++++++++++++++++++++++++++++++++++++++++++


The new version of Open-AudIT may have introduced new configuration items,
which can be added automatically (with their default settings).

Do you want to import any new configuration settings now?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Updating common config with new defaults.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Integration of Open-AudIT with Apache
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Ok to install the updated Apache proxy config file?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Restarting Apache


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installing Open-AudIT files
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copying Open-AudIT Web files
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Open-AudIT Database Setup
++++++++++++++++++++++++++++++++++++++++++++++++++++++

We require the MySQL root user credentials to create the database and user.
Enter the MySQL root user's password:
YourPassword
Creating database and MySQL open-audit user.
Preparing openaudit database.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Open-AudIT Authentication Settings
++++++++++++++++++++++++++++++++++++++++++++++++++++++

OK to add Open-AudIT as an authentication source?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Open-AudIT set as authentication method.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
performing final update operations
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjusting Open-AudIT for standalone operation
++++++++++++++++++++++++++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing Open-AudIT and NMIS User Credential files
++++++++++++++++++++++++++++++++++++++++++++++++++++++

No NMIS installed, nothing to merge


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Detecting Configuration Changes
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Would you like to see an overview of all changed configuration items?
Type 'y' or hit <Enter> to accept, any other key for 'no': y
Performing config diff check, please wait...

The configuration comparison tool has detected some differences
between the shipped defaults (in /usr/local/omk/install) and
the active settings (in /usr/local/omk/conf).

The affected files are:  opCommon.nmis

A detailed listing of these differences has been
saved in /tmp/Open-AudIT-config-diffs-2016-11-22.

You should review those differences (using less or an editor like
nano, vi or emacs) and adjust your configuration settings accordingly.

Hit <Enter> when ready to continue:


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Opmantek Daemon Startup
++++++++++++++++++++++++++++++++++++++++++++++++++++++


The Opmantek daemon can now be started. It needs to be active
to provide the Open-AudIT GUI, but you might want to delay
that operation until you have adjusted the configuration files.

Do you want to start the Opmantek daemon now?
Type 'y' or hit <Enter> to accept, any other key for 'no':
Starting OMKD
opEvents not installed or opEvents daemon init script not installed as /etc/init                                .d/opeventsd.
/tmp/selfgz130119291/bin/installer_hooks/20-postinstall-startdaemons: line 87: f                                ixme: command not found
opEvents not installed or opEvents daemon init script not installed as /etc/init                                .d/opeventsd.
opConfig not installed or opConfig daemon init script not installed as /etc/init                                .d/opconfigd.
opFlow not installed or opFlow daemon init script not installed as /etc/init.d/o                                pflowd.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Open-AudIT is Ready for Configuration
++++++++++++++++++++++++++++++++++++++++++++++++++++++

This initial installation of Open-AudIT is now complete.

However, to configure and fine-tune the application suitably for
your environment you will need to make certain configuration adjustments.

We highly recommend that you visit the documentation site for Open-AudIT at

https://community.opmantek.com/display/OA/Home

which will help you to determine what configuration changes
may be required for your environment.



If you have started the Opmantek daemon,
then your new Open-AudIT dashboard should now be accessible at

http://<HOSTNAME_OR_IP>/omk/oae/

If your browser is running on the same machine as Open-AudIT was
installed onto, this would be

http://localhost/omk/oae/



++++++++++++++++++++++++++++++++++++++++++++++++++++++
installation complete.
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done!?

At this point, you should be able to connect using the URL above and the default user and password, admin and password. I did identify a bug which the developer is patching. Essentially, with Open-AudIT 1.12.8.2.1, you cannot delete items. Also, Microsoft IE is just broken, but both bugs will be fixed shortly with a release of a patch in the next week with today's date being November 22, 2016. UPDATE: As of December 3, 2016, no patched version has been released. I hope to speak with someone from Opmantek regarding licensing and will make an inquiry as to when the "delete" bug will be fixed.

References

Subnet Discovery

https://community.opmantek.com/display/OA/How+to+use+Open-AudIT+Enterprise+Discovery+on+a+Subnet

Client Configuration

https://community.opmantek.com/display/OA/Target+Client+Configuration

⚠️ **GitHub.com Fallback** ⚠️