Requirements
The individual performing this installation has some Linux experience.
Root level server access.
Pre-requisites are installed as per the RedHat/CentOS or Debian/Ubuntu guides.
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Add the daemon
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Copy the required files into the webroot
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Note - if you are installing into a web root subdirectory, you will need to copy the files into a subdirectory. The below example is from the Opmantek virtual appliance.
Code Block | ||
---|---|---|
| ||
cp -Rf /usr/local/open-audit/www/* /var/www/html/open-audit/ |
Ensure index.php contains the correct locations for finding the OpenAudit files.
Edit /var/www/index.php (for Debian/Ubuntu) or /var/www/html/index.php (for RedHat/CentOS) and check the lines that specify the $system_path and $application_folder. There are two lines for each variable. Ensure the windows paths are commented out by placing a # at the start of the line. The linux paths should correspond to /usr/local/open-audit/code_igniter/ (system or application).
Remove index.html
The index.html file (if it exists) in the webroot is not required.
...
width | 40% |
---|
for Debian / Ubuntu
...
language | bash |
---|
...
.
...
width | 40% |
---|
for RedHat / CentOS
...
...
rm /var/www/html/index.html
Configure MySQL
- The root password for MySQL needs to be set next; if you have used
mysql_secure_installation
ormysqladmin
before to set the password, then you can skip this step.
In the command below replace the tokenPASSWORD
(and only the all-uppercase tokenPASSWORD
) with a suitable password of your choosing.
...
You should now be able to access the web page at http://IPADDRESS/open-audit/index.php Assuming you can, proceed to the next section.
...
Go to the URL http://IPADDRESS/open-audit/index.php
If you don't have a valid license, you should be able to log in to Open-AudIT at http://IPADDRESS/open-audit/index.php/login/index/main/list_groups
...
You should reset the variable "url" (sans quotes) to include this subdirectory.
For example, on the Opmantek VM you need to change the URL in the audit_subnet.sh script from
Code Block |
---|
url="http://localhost/index.php/system/add_nmap" |
to
...