<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Setup instructions</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>Recent changes to Setup instructions</description><atom:link href="https://sourceforge.net/p/catdetect/wiki/Setup%20instructions/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 13 Oct 2014 10:00:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/catdetect/wiki/Setup%20instructions/feed" rel="self" type="application/rss+xml"/><item><title>Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -56,7 +56,7 @@
 ------------
 If you wish, you can use the *ParseCSV* utility within the CAT Detect JAR to import data from a Comma Separated Values (CSV) file into a database table. It requires the *database.properties* file to connect to the database. The basic usage is as follows:

-**java util.ParseCSV r|i filename casename**
+**java net.sf.catdetect.util.ParseCSV r|i filename casename**

 The *filename* is the name of the CSV file to import. The *casename* is the name of the database to load the data into. Use *r* to specify that this data is to be loaded into the **RecordedEvents** table and *i* for the **InferredEvents** table.
@@ -70,12 +70,21 @@

 **931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success**

+Rules Base
+----------
+As of version 1.3 onwards, CAT Detect supports user-defined rules, specified in XML. This should make it much more practical to use in real cases. See [Creating a Rules Base] for more information.
+
 Test Setup
 ----------
 After you have installed MySQL, create a new database called "catdetecttest". Create the tables in this database as described in the section Table Format above. Replace the username and password in your *database.properties* file with a username and password of a MySQL user with access to "catdetecttest".

 Then load the test CSV files into the database:
-**java util.ParseCSV r testrecordedevents.csv catdetecttest**
-**java util.ParseCSV i testinferredevents.csv catdetecttest**
+**java net.sf.catdetect.util.ParseCSV r testrecordedevents.csv catdetecttest**
+**java net.sf.catdetect.util.ParseCSV i testinferredevents.csv catdetecttest**

-Start CAT Detect and type "catdetecttest" into the case name dialogue. You can now run the test queries in [Test Queries].
+Now generate the default rules base:
+**java net.sf.catdetect.util.ExportRulesBase**
+
+This will create a file called "rulesbase.xml" (you can also export the default rules base to a different file name by giving the desired file name as an argument to ExportRulesBase).
+
+Start CAT Detect and type "catdetecttest" into the case name dialogue. You will also be asked to select an XML file as a rules base (pick "rulesbase.xml"). You can now run the test queries in the page [Test Queries].
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Mon, 13 Oct 2014 10:00:32 -0000</pubDate><guid>https://sourceforge.net0a5c06de6e39f5c9c211f4673e351c4ae9527017</guid></item><item><title>Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -69,3 +69,13 @@
 An example record from "testinferredevents.csv":

 **931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success**
+
+Test Setup
+----------
+After you have installed MySQL, create a new database called "catdetecttest". Create the tables in this database as described in the section Table Format above. Replace the username and password in your *database.properties* file with a username and password of a MySQL user with access to "catdetecttest".
+
+Then load the test CSV files into the database:
+**java util.ParseCSV r testrecordedevents.csv catdetecttest**
+**java util.ParseCSV i testinferredevents.csv catdetecttest**
+
+Start CAT Detect and type "catdetecttest" into the case name dialogue. You can now run the test queries in [Test Queries].
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Fri, 10 Oct 2014 10:49:49 -0000</pubDate><guid>https://sourceforge.net1083fcfb47d60e51a9399662a528c218af423065</guid></item><item><title>Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,7 +1,7 @@
 Environment Overview
 ====================
 CAT Detect requires Java 6 and access to a MySQL Server (version 5.5 and above). You can download the community version of MySQL here:
-[http://dev.mysql.com/downloads/]
+&amp;lt;http: dev.mysql.com="" downloads=""/&amp;gt;

 Database Setup
 ==============
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Wed, 08 Oct 2014 09:51:01 -0000</pubDate><guid>https://sourceforge.netfa578265758609760d27a0abef696dcd783ddb27</guid></item><item><title>Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,6 +1,7 @@
 Environment Overview
 ====================
-CAT Detect requires Java 6 and access to a MySQL Server (version 5.5 and above). 
+CAT Detect requires Java 6 and access to a MySQL Server (version 5.5 and above). You can download the community version of MySQL here:
+[http://dev.mysql.com/downloads/]

 Database Setup
 ==============
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Wed, 08 Oct 2014 09:50:33 -0000</pubDate><guid>https://sourceforge.net83663539fc2ca541f55acca7e249ad4c2ac29e3c</guid></item><item><title>WikiPage Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -7,11 +7,13 @@
 Table Format
 ------------
 Your MySQL Server should have a database (we suggest using the case name as the database name) with the following tables:
-*RecordedEvents
-+InferredEvents
-
+-**RecordedEvents**
+-**InferredEvents**
+
 The tables can be created as follows:
+
+
 ~~~~~~~~~
 CREATE TABLE RecordedEvents (
 	EventID INT not null,
 	Time DATETIME not null, 
@@ -21,6 +23,6 @@
 	Result VARCHAR(255)
 );
 
 CREATE TABLE InferredEvents (
 	EventID INT not null,
 	Time DATETIME not null, 
@@ -31,35 +33,38 @@
 );
 ~~~~~~~~~
 
 Database Properties
 -------------------
 In addition to the CAT Detect executable JAR, you will require a *database.properties* file to exist in the same directory as the JAR. This file contains the details CAT Detect needs to connect to the MySQL Server. An example file:
+
 ~~~~~~~~~~~~~~
 username = smithj
 password = forensics
 jdbc_driver = com.mysql.jdbc.Driver
 host_and_port = localhost:3306
 ~~~~~~~~~~~~~~
 
+
 The *username* and *password* field provide the username and password CAT Detect should use to contact the MySQL Server.
 
 The *jdbc_driver* field specifies which driver to use - it should probably be "com.mysql.jdbc.Driver" if you are using MySQL.
 
 The *host_and_port* field specifies the host of the database server and the port on which it is listening. If you are running MySQL Server on the same computer as CAT Detect then this will usually be "127.0.0.1:3306" or "localhost:3306" unless you have changed the default settings.
 
 Loading Data
 ------------
 If you wish, you can use the *ParseCSV* utility within the CAT Detect JAR to import data from a Comma Separated Values (CSV) file into a database table. It requires the *database.properties* file to connect to the database. The basic usage is as follows:
-~~~~~~~
-java util.ParseCSV r|i filename casename
-~~~~~~~
+
+**java util.ParseCSV r|i filename casename**
+
+
 The *filename* is the name of the CSV file to import. The *casename* is the name of the database to load the data into. Use *r* to specify that this data is to be loaded into the **RecordedEvents** table and *i* for the **InferredEvents** table.
 
 The CSV file should consist of records formatted like the example files included in the CAT Detect release. The fields are:
-~~~~~~~
-EventID,Time,Subject,Object,Action,Result
-~~~~~~~
+
+**EventID,Time,Subject,Object,Action,Result**
+
+
 An example record from "testinferredevents.csv":
-~~~~~~~
-931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success
-~~~~~~~
+
+**931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success**
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Wed, 03 Aug 2011 16:00:11 -0000</pubDate><guid>https://sourceforge.neteb4a95ffd1e9eb5892d42840794d0ac0784700b7</guid></item><item><title>WikiPage Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -7,51 +7,59 @@
 Table Format
 ------------
 Your MySQL Server should have a database (we suggest using the case name as the database name) with the following tables:
-+RecordedEvents
+*RecordedEvents
 +InferredEvents
 
 The tables can be created as follows:
-#CREATE TABLE RecordedEvents (
-#	EventID INT not null,
-#	Time DATETIME not null, 
-#	Subject VARCHAR(255) not null,
-#	Object VARCHAR(255) not null,
-#	Action VARCHAR(255) not null,
-#	Result VARCHAR(255)
-#);
-#
-#CREATE TABLE InferredEvents (
-#	EventID INT not null,
-#	Time DATETIME not null, 
-#	Subject VARCHAR(255) not null,
-#	Object VARCHAR(255) not null,
-#	Action VARCHAR(255) not null,
-#	Result VARCHAR(255)
-#);
+~~~~~~~~~
+CREATE TABLE RecordedEvents (
+	EventID INT not null,
+	Time DATETIME not null, 
+	Subject VARCHAR(255) not null,
+	Object VARCHAR(255) not null,
+	Action VARCHAR(255) not null,
+	Result VARCHAR(255)
+);
+
+CREATE TABLE InferredEvents (
+	EventID INT not null,
+	Time DATETIME not null, 
+	Subject VARCHAR(255) not null,
+	Object VARCHAR(255) not null,
+	Action VARCHAR(255) not null,
+	Result VARCHAR(255)
+);
+~~~~~~~~~
 
 Database Properties
 -------------------
 In addition to the CAT Detect executable JAR, you will require a *database.properties* file to exist in the same directory as the JAR. This file contains the details CAT Detect needs to connect to the MySQL Server. An example file:
-#username = smithj
-#password = forensics
-#jdbc_driver = com.mysql.jdbc.Driver
-#host_and_port = localhost:3306
+~~~~~~~~~~~~~~
+username = smithj
+password = forensics
+jdbc_driver = com.mysql.jdbc.Driver
+host_and_port = localhost:3306
+~~~~~~~~~~~~~~
 
 The *username* and *password* field provide the username and password CAT Detect should use to contact the MySQL Server.
 
 The *jdbc_driver* field specifies which driver to use - it should probably be "com.mysql.jdbc.Driver" if you are using MySQL.
 
 The *host_and_port* field specifies the host of the database server and the port on which it is listening. If you are running MySQL Server on the same computer as CAT Detect then this will usually be "127.0.0.1:3306" or "localhost:3306" unless you have changed the default settings.
 
 Loading Data
 ------------
 If you wish, you can use the *ParseCSV* utility within the CAT Detect JAR to import data from a Comma Separated Values (CSV) file into a database table. It requires the *database.properties* file to connect to the database. The basic usage is as follows:
-#java util.ParseCSV r|i filename casename
-
+~~~~~~~
+java util.ParseCSV r|i filename casename
+~~~~~~~
 The *filename* is the name of the CSV file to import. The *casename* is the name of the database to load the data into. Use *r* to specify that this data is to be loaded into the **RecordedEvents** table and *i* for the **InferredEvents** table.
 
 The CSV file should consist of records formatted like the example files included in the CAT Detect release. The fields are:
-#EventID,Time,Subject,Object,Action,Result
-
+~~~~~~~
+EventID,Time,Subject,Object,Action,Result
+~~~~~~~
 An example record from "testinferredevents.csv":
-#931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success
+~~~~~~~
+931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success
+~~~~~~~
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Wed, 03 Aug 2011 15:54:15 -0000</pubDate><guid>https://sourceforge.netcee6153e10114f8bd88fd1d47b82d22b64c3a930</guid></item><item><title>WikiPage Setup instructions modified by Andrew Marrington</title><link>https://sourceforge.net/p/catdetect/wiki/Setup%2520instructions/</link><description>Environment Overview
====================
CAT Detect requires Java 6 and access to a MySQL Server (version 5.5 and above). 

Database Setup
==============
Table Format
------------
Your MySQL Server should have a database (we suggest using the case name as the database name) with the following tables:
+RecordedEvents
+InferredEvents

The tables can be created as follows:
#CREATE TABLE RecordedEvents (
#	EventID INT not null,
#	Time DATETIME not null, 
#	Subject VARCHAR(255) not null,
#	Object VARCHAR(255) not null,
#	Action VARCHAR(255) not null,
#	Result VARCHAR(255)
#);
#
#CREATE TABLE InferredEvents (
#	EventID INT not null,
#	Time DATETIME not null, 
#	Subject VARCHAR(255) not null,
#	Object VARCHAR(255) not null,
#	Action VARCHAR(255) not null,
#	Result VARCHAR(255)
#);

Database Properties
-------------------
In addition to the CAT Detect executable JAR, you will require a *database.properties* file to exist in the same directory as the JAR. This file contains the details CAT Detect needs to connect to the MySQL Server. An example file:
#username = smithj
#password = forensics
#jdbc_driver = com.mysql.jdbc.Driver
#host_and_port = localhost:3306

The *username* and *password* field provide the username and password CAT Detect should use to contact the MySQL Server.

The *jdbc_driver* field specifies which driver to use - it should probably be "com.mysql.jdbc.Driver" if you are using MySQL.

The *host_and_port* field specifies the host of the database server and the port on which it is listening. If you are running MySQL Server on the same computer as CAT Detect then this will usually be "127.0.0.1:3306" or "localhost:3306" unless you have changed the default settings.

Loading Data
------------
If you wish, you can use the *ParseCSV* utility within the CAT Detect JAR to import data from a Comma Separated Values (CSV) file into a database table. It requires the *database.properties* file to connect to the database. The basic usage is as follows:
#java util.ParseCSV r|i filename casename

The *filename* is the name of the CSV file to import. The *casename* is the name of the database to load the data into. Use *r* to specify that this data is to be loaded into the **RecordedEvents** table and *i* for the **InferredEvents** table.

The CSV file should consist of records formatted like the example files included in the CAT Detect release. The fields are:
#EventID,Time,Subject,Object,Action,Result

An example record from "testinferredevents.csv":
#931,09/10/2008 20:13:00,USER baddie27660658,WORDDOC letter from baddie to nefarious.doc14850080,CREATED,Success</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Marrington</dc:creator><pubDate>Wed, 03 Aug 2011 15:49:21 -0000</pubDate><guid>https://sourceforge.netec69de762f931e3e0de1e56f7cda45d2c5f50d2a</guid></item></channel></rss>