<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/ossecdashboard/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 28 Nov 2011 17:35:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ossecdashboard/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Installation modified by John Landers</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -51,6 +51,7 @@
 $_ImageCacheDir = $_rootDirectory . '/cache/img';                         # Location for the image cache
 
 $_OSSecAlertsDir = '/opt/ossec/logs/alerts';                              # Location of your ossec alerts directory
+$_OSSecRulesDir = '/opt/ossec/rules';                                     # Rules directory
 
 $_DefChartImageWidth = 350;                                               # Default width of a standard chart
 $_DefChartImageHeight = 400;                                              # Default height of a standard chart
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Landers</dc:creator><pubDate>Mon, 28 Nov 2011 17:35:25 -0000</pubDate><guid>https://sourceforge.net6aea9afac689fa007166a063e4e143f137ce1036</guid></item><item><title>WikiPage Installation modified by John Landers</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -1,23 +1,43 @@
-&lt;b&gt;Installing the OSSEC Dashboard&lt;/b&gt;
-
-I'll eventually expand on this...
-
-1. Prereqs
+&lt;b&gt;1. Prereqs&lt;/b&gt;
     - Apache (Or your preferred web server)
     - PHP
     - PHP GD Extension
     - OSSEC (www.ossec.net)
 
-2. Installation
-    - Download the source code (git clone should do)
-    - Set up your apache config
-    - Modify resources/config.php to meet your needs
-
-3. Permissions
+&lt;b&gt;2. Installation (Option A)&lt;/b&gt;
+     - Download the source code (git clone should do) directly to your web directory
+     - Set up your apache config
+     - Modify resources/config.php to meet your needs
+
+&lt;b&gt;3. Installation (Option B)&lt;/b&gt;
+     - Download the source code (again, git clone should do) to your home directory
+     - Set up your apache config
+     - Run the included install.php script
+
+Example script run:
+
+~~~~~
+user@system01:~/ossecdashboard-code$ php -f install.php 
+This script should help install the OSSEC Dashboard. Please answer the following questions.
+Installation location [/var/www/ossecdashboard-code]: /var/www/test
+
+The directory identified already exists; do you wish to upgrade? (y/N)y
+
+Creating backup of your current config.php file at config.php.bk.
+Copying new files...
+File (/var/www/test/resources/Charts/04_NumEventsPerDay.php) modified since last update. Backup created at /var/www/test/resources/Charts/04_NumEventsPerDay.php.bk.
+Updating file: /var/www/test/resources/Charts/04_NumEventsPerDay.php
+
+Done. Exiting...
+~~~~~
+
+The primary advantage of utilizing the installation script is that any custom changes you have made to files will be saved to a backup file. You can then merge those changes, restore the backup file, etc. 
+
+&lt;b&gt;4. Permissions&lt;/b&gt;
 
 You'll need to make sure that Apache can read the OSSEC alert files and can write to image cache directory.
 
-The config.php file is as follows:
+&lt;b&gt;5. Configuration File&lt;/b&gt;
 
 ~~~~~
 &lt;?PHP
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Landers</dc:creator><pubDate>Tue, 22 Nov 2011 13:59:59 -0000</pubDate><guid>https://sourceforge.netfef3b4fef6f1d1d3fe6ef9793f50d8e1bdc47230</guid></item><item><title>WikiPage Installation modified by John Landers</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -13,6 +13,10 @@
     - Set up your apache config
     - Modify resources/config.php to meet your needs
 
+3. Permissions
+
+You'll need to make sure that Apache can read the OSSEC alert files and can write to image cache directory.
+
 The config.php file is as follows:
 
 ~~~~~
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Landers</dc:creator><pubDate>Fri, 11 Nov 2011 19:52:29 -0000</pubDate><guid>https://sourceforge.netf2c4232331fc001ce2f26861f072443a85a0c7f5</guid></item><item><title>WikiPage Installation modified by John Landers</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -14,6 +14,7 @@
     - Modify resources/config.php to meet your needs
 
 The config.php file is as follows:
+
 ~~~~~
 &lt;?PHP
 $_siteTitle = "OSSEC Dashboard";
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Landers</dc:creator><pubDate>Fri, 11 Nov 2011 19:32:34 -0000</pubDate><guid>https://sourceforge.net9f460c194c91776a8cbce1f39566001dfec40ed8</guid></item><item><title>WikiPage Installation modified by John Landers</title><link>https://sourceforge.net/p/ossecdashboard/wiki/Installation/</link><description>&lt;b&gt;Installing the OSSEC Dashboard&lt;/b&gt;

I'll eventually expand on this...

1. Prereqs
    - Apache (Or your preferred web server)
    - PHP
    - PHP GD Extension
    - OSSEC (www.ossec.net)

2. Installation
    - Download the source code (git clone should do)
    - Set up your apache config
    - Modify resources/config.php to meet your needs

The config.php file is as follows:
~~~~~
&lt;?PHP
$_siteTitle = "OSSEC Dashboard";
$_rootDirectory = "/var/www/ossecdashboard-code";                         # The root directory of the code
$_ApacheRootDirectory = "/var/www";                                       # Your web root directory - this is used for img tag creation to strip out this portion of the file location since we need the fully qualified path to save a file but not to display it to users

$_EnableHTMLCaching = true;                                               # Whether or not to cache html pages (this isn't implemented just yet)
$_HTMLCacheTTL = 300;                                                     # How long to store cached html info (this isn't implemented just yet)
$_HTMLCacheDir = $_rootDirectory . '/cache/html';                         # Location for the html cache (this isn't implemented just yet)
$_ImageCacheDir = $_rootDirectory . '/cache/img';                         # Location for the image cache

$_OSSecAlertsDir = '/opt/ossec/logs/alerts';                              # Location of your ossec alerts directory

$_DefChartImageWidth = 350;                                               # Default width of a standard chart
$_DefChartImageHeight = 400;                                              # Default height of a standard chart

$_ChartPHPDirectory = $_rootDirectory . '/resources/Charts';              # Location of the Chart scripts

# Functions and Classes #
require($_rootDirectory . "/resources/Classes/classes.php");              # This file contains includes for all custom classes 
require($_rootDirectory . "/resources/Functions/functions.php");          # This file contains includes for all custom functions
?&gt;
~~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Landers</dc:creator><pubDate>Fri, 11 Nov 2011 19:32:20 -0000</pubDate><guid>https://sourceforge.netbf17b1866d2e3f08315245ea772b272e55cc1966</guid></item></channel></rss>