Download and Install Tricia
Prerequisites
There are two major prerequisites, which have to be in place to install Tricia.
- Since Tricia is a Java application, a current (1.6) Java runtime has to be installed. Java can be downloaded from http://www.java.com.
- We use Mercurial as our version control system, and we use it as well as our distribution channel, 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.
Download
You should create a folder in which you want to install Tricia, e.g., C:/tricia. There are two different scenarios of how to download Tricia.
Download via Mercurial
If the machine you want to install Tricia on has fast access to the internet you can download Tricia using Mercurial. At first, go on the command-line to the created folder and run the command
hg clone https://bitbucket.org/infoasset/scripts
This will create a new mercurial repository in the folder C:/tricia/scripts. Then go into this folder and run the command:
java -jar installer.jar install 3.1.22
Zip Download
If your machine is behind a firewall you can download Tricia from this zip file into the created folder. Then unzip the file, go into the scripts folder and run on the command-line
java -jar installer.jar install 3.1.22 -local
Installation
The install 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 in a default configuration with the following attributes:
- the plugins core, file, blog, wiki, media, and hybridWiki are activated,
- the in-memory database HSQLDB is used,
- it runs on http://localhost:8083,
- there is no mail server configured.
The configuration can be changed using the Configurator.
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.
You can register Tricia as a Windows service, which starts automatically Tricia when the machine is started. This is done calling the command nt-installService.bat. To unregister the service call the command nt-uninstallService.bat. If Tricia is installed as a service, you can start and stop the service under Windows by going to Start -> Control Panel -> Administrative Tools and choosing Services, and selecting the Tricia Service.
On Linux Tricia is started manually with the command /tricia/scripts/linux-run start. To stop Tricia run the command linux-run stop.
You can login to Tricia with the default administration user:
Login: mustermann@test.tricia
Password: ottto
More Information
- Backup
- Configuring Tricia
- Installing MySQL
- Migrating from HSQL to MySQL