Download and Install Tricia
1. Prerequisites
There are the following prerequisites, which have to be in place to install Tricia.
1.1. Java
Since Tricia is a Java application, a current (1.6 or 1.7) Java runtime has to be installed. Java can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/index.html. You can check your Java installation by calling java -version on the command line. The output should look like this:
C:\>java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
1.2. Mercurial
We use Mercurial as our version control system, and we use it as our distribution channel as well, so you have to install Mercurial on your machine. Binary packages of Mercurial can be found at http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages. Make sure, that you installed the english version of Mercurial.
1.3. MySQL
If you want to run Tricia in a production environment you have to install the relational database MySQL. The installation and how to create a database for Tricia in MySQL is described here.
2. Download and installation
You have to create a folder in which you want to install Tricia, e.g., C:/tricia.
Then download this zip file into the created folder.
You have to unzip the file, go into the scripts folder and run on the command-line
java -jar installer.jar install 3.1.26
This command can take a while (3-5 minutes), creating the additional folders
- C:/tricia/software,
- C:/tricia/properties, and
- C:/tricia/data.
Tricia is now installed using a default configuration which uses the in-memory database HSQLDB and runs without a mail server.
How to change this configuration is described here.
3. Running
Tricia uses the Java Service Wrapper for running as a Windows Service or Unix Daemon.
On Windows you can start Tricia manually using the command /tricia/scripts/nt-run.bat. On Linux Tricia is started manually with the command /tricia/scripts/linux-run console.
It is possible to register Tricia as a service, which then starts Tricia automatically when the machine is started.
Using the default configuration, Tricia can be accessed at http://localhost:8084.
You can login to Tricia with the default administration user:
- Login: mustermann@test.tricia
- Password: ottto