Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Copy the required files into the webroot

Section
Column
width40%30%

for Debian / Ubuntu (prior to 14.04)

Code Block
languagebash
cp -r /usr/local/open-audit/www/* /var/www/
chown -R root:www-data /var/www
chmod -R 755 /var/www 
Column
width30%

for Ubuntu 14.04

Code Block
languagebash
cp -r /usr/local/open-audit/www/* /var/www/html/
chown -R root:www-data /var/www/html
chmod -R 755 /var/www/html
Column
width40%30%

for RedHat / CentOS

Code Block
languagebash
cp -r /usr/local/open-audit/www/* /var/www/html/
chown -R root:apache /var/www/html
chmod -R 755 /var/www/html 

Ensure index.php contains the correct locations for finding the OpenAudit files.

Edit

/var/www/open-audit/index.php (for Debian/Ubuntu prior to 14.04) or

/var/www/html/open-audit/index.php (for Ubuntu 14.04) or

/var/www/html/open-audit/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).

...