Skip to content

Installation Guide

Viglet Turing (https://www.viglet.org/turing/) is an open source enterprise search platform (https://github.com/openviglet) with Semantic Navigation and Generative AI as its main features. All content is indexed in Apache Solr as the primary search engine.

Turing requires Java.

During installation, Turing reads the JAVA_HOME and PATH variables to install the necessary services. Therefore, you must modify the variables as specified here:

  • On Windows:

    • Set the JAVA_HOME system variable to point to the JAVA location.
    • Attach the PATH system variable with %JAVA_HOME%/bin.
  • On Unix:

    • Create an environment variable called JAVA_HOME.
    • Provide the JAVA bin path in the PATH variable.

The information below describes the resource modes available to run Turing.

This section describes the minimum and suggested features for systems on which you can configure Turing.

Minimum Recommended
Single 1.5 GHz processor, 1 GB available memory Dual 2 GHz processors with Hyper-Threading enabled, 2 GB available memory

In addition, the following is required:

  • 1GB of disk space for software.
  • A compatible version of a database.

Turing supports multiple database platforms, each with specific unique requirements to maximize effectiveness with Turing. The following sections describe these requirements.

Turing uses multiple tables in multiple databases (also called database schemas by some vendors such as Oracle). You must create new databases / schemas that will contain the sets of tables described below.

This section describes configuration requirements for an existing database.

To set up an Oracle database:

  1. Install and configure a single database instance for use by Turing.
  2. Create a database schema to contain the Turing system tables.
  3. Configure the Turing admin user for the database. For Oracle, the database user with the grant of the CONNECT and RESOURCE roles. Make sure the user has UNLIMITED TABLESPACE and CREATE VIEW privileges.

Microsoft SQL Server Database Requirements

Section titled “Microsoft SQL Server Database Requirements”

This section discusses the steps required to configure Microsoft SQL Server for your Turing databases.

When creating the Turing database, use the following options:

  • You must install the Database Engine feature and Management Tools are recommended. All other features are optional.
  • Set the Collation configuration variable to SQL_Latin1_General_CP1_CS_AS or Latin1_General / Case-sensitive / Accent-Sensitive.
  • Set authentication mode to mixed mode.
  • Turing system user cannot be sa.

Configuring the SQL Server Database and Schemas

Section titled “Configuring the SQL Server Database and Schemas”

To create the SQL Server database:

  1. Select Databases > New Database.
  2. Enter the database name (eg turing) and the size of the data and log files according to the environment.
  3. Go to the Options page and set the following values:
    • Collation = Latin1_General_CS_AS or SQL_Latin1_General_CP1_CS_AS
    • Miscellaneous > Allow Snapshot Isolation = True
    • Miscellaneous > Is Read Committed Snapshot On = True
USE master
GO
ALTER DATABASE turing
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE turing
SET ALLOW_SNAPSHOT_ISOLATION ON
GO
ALTER DATABASE turing
SET READ_COMMITTED_SNAPSHOT ON
GO
ALTER DATABASE turing
SET MULTI_USER
GO
  1. Under Security > Logins, select New Login and set the following attributes:

    • Enter the Login name (for example, turing)
    • Deselect the Enforce Password Expiration option.
    • Set the Default database.
  2. On the User Mapping page, set the following attributes for the turing database:

    • Default user = turing
    • Default schema = turing
    • With the turing database is selected, select the option for db_owner
  3. Click OK.

This section discusses the steps required to configure PostgreSQL for your Turing databases:

  • Installing and configuring the PostgreSQL Database
  • Configuring the Turing user, database, and schema

Installing and configuring the PostgreSQL Database

Section titled “Installing and configuring the PostgreSQL Database”

This section describes the steps required to install and configure a PostgreSQL database for your Turing environment. You will also need to configure the Turing user, database and schemas.

To install the PostgreSQL database:

  1. Navigate to the following URL and follow the instructions provided for your supported version of PostgreSQL: https://www.postgresql.org/docs/manuals/

To configure the PostgreSQL instance:

Open the postgresql.conf file (located in <PostgreSQL_installDir>/<version>/data/) and set the following parameters:

max_connections = 10
max_prepared_transactions = 10
shared_buffers = 512MB
autovacuum = off

Configuring the Turing user, database, and schemas

Section titled “Configuring the Turing user, database, and schemas”

To configure the Turing user:

  1. Create a user as the owner of the Turing database:
CREATE USER turing PASSWORD <password> with createuser;
  1. Create a Turing database:
CREATE DATABASE turing_db;
ALTER DATABASE turing_db OWNER TO turing;

To create and access the Turing user and schema:

  • Log in to the turing (database) using the turing account:
Terminal window
$psql -U turing -d turing_db
  • Create the Turing schema and grant ownership to the Turing user:
CREATE SCHEMA turing;
ALTER SCHEMA turing OWNER TO turing;
  • Set the PostgreSQL search_path variable:
ALTER USER turing SET SEARCH_PATH = turing;

First you need install Turing Utils, that contains sample configurations and script to facilitate the use of Turing, so go to https://www.viglet.org/turing/download/ and click on “Integration > Utils” link to download it.

Extract the turing-utils.zip to /appl/viglet/turing/utils:

Terminal window
mkdir -p /appl/viglet/turing/utils
unzip turing-utils.zip -d /appl/viglet/turing/utils

For production deployments that require SSO, Keycloak integrates with Turing via OAuth2 / OpenID Connect. Full setup instructions (including database creation, keystore generation, Keycloak configuration, realm and client setup, JVM properties, and Apache reverse proxy configuration) are covered in the Security & Keycloak guide.

You need to configure Solr to be able to store Semantic Navigation data.

With Solr running, go to Turing Utils and create the Solr collection that will be used by Turing:

Terminal window
cd <SOLR_DIR>/bin
./solr create_collection -c turing -n turing -d /appl/viglet/turing/utils/solr/<VERSION>/turing/<LANGUAGE>

Start the Solr service after the collection is created.

Pull the pre-built image published to the GitHub Container Registry (ghcr.io) by the Publish Docker Image GitHub Action:

Terminal window
docker pull ghcr.io/openviglet/turing-ce:latest
docker run -p 2700:2700 -e TURING_ADMIN_PASSWORD=your_password ghcr.io/openviglet/turing-ce:latest

TURING_ADMIN_PASSWORD (minimum 6 characters) seeds the admin password while the container boots, so the console opens on the login page instead of the first-access setup screen. Omit it and you choose the password in the browser on first access (see Login).

Go to https://www.viglet.org/turing/download/ and click on “Download Turing” button to download viglet-turing.jar.

Copy the viglet-turing.jar to /appl/viglet/turing/server:

Terminal window
mkdir -p /appl/viglet/turing/server
cp viglet-turing.jar /appl/viglet/turing/server
Terminal window
git clone https://github.com/openviglet/turing.git
cd turing
mvn clean package -pl turing-app
cp turing-app/target/viglet-turing.jar /appl/viglet/turing/server/

By default, Turing uses H2 as its embedded database, but if you prefer another database you can create an external properties file and reference it at startup using --spring.config.additional-location.

Create /appl/viglet/turing/server/viglet-turing.properties:

spring.datasource.url=jdbc:mariadb://localhost:3306/turing
spring.datasource.username=turing
spring.datasource.password=turing
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.datasource.url=jdbc:oracle:thin:@localhost:1521/turing
spring.datasource.username=turing
spring.datasource.password=turing
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
spring.datasource.url=jdbc:postgresql://localhost:5432/turing
spring.datasource.username=turing
spring.datasource.password=turing
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL94Dialect

Then start Turing referencing the properties file:

Terminal window
java -Xmx1g -Xms1g -jar viglet-turing.jar \
--spring.config.additional-location=file:/appl/viglet/turing/server/viglet-turing.properties

As root, create a /etc/systemd/system/turing.service file with the following lines:

[Unit]
Description=Viglet Turing
After=syslog.target
[Service]
User=turing
Group=turing
WorkingDirectory=/appl/viglet/turing/server
ExecStart=/appl/java/jdk21/bin/java -Xmx1g -Xms1g \
-jar /appl/viglet/turing/server/viglet-turing.jar \
--spring.config.additional-location=file:/appl/viglet/turing/server/viglet-turing.properties
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target

Enable and start the service:

Terminal window
systemctl daemon-reload
systemctl enable turing.service
systemctl start turing.service

Other useful commands:

Terminal window
systemctl stop turing.service
systemctl restart turing.service
systemctl status turing.service

When Turing is started for the first time, it will perform initial setup.

$ java -jar viglet-turing.jar
_____ _ ___ ___
|_ _|_ _ _ _ (_) _ _ __ _ | __|/ __|
| | | || || '_|| || ' \ / _` | | _| \__ \
|_| \_,_||_| |_||_||_|\__, | |___||___/ 2026.2.4
|___/
:: Copyright (C) 2016-2026 Viglet Turing Enterprise Search
:: Built with Spring Boot :: 3.5.0
First Time Configuration ...
Configuration finished.

Turing provides remote access to administration, configuration, and management through its Web application interfaces. Once setup is complete, the Console become browser-accessible through the following URL: http://<host>:<port>/console where <host>:<port> is the listening host and port for the Turing. The default port is 2700.

The default username is admin. Set its password either via the TURING_ADMIN_PASSWORD environment variable before the first startup, or in the first-access setup screen the console shows when that variable is not set: see the Administration Guide for details.

Minimal setup using an embedded H2 database. Suitable for local development and evaluation only, not for production.

Prerequisites:

  1. Linux server
  2. Java 21
  3. 50 GB HDD
  4. 2 GB RAM

Target Audience: Development and testing environments.

Turing and its dependencies installed via Docker Compose, including:

  • MariaDB, Turing system tables
  • Solr: Semantic Navigation search backend
  • Nginx: reverse proxy on port 80
  • Turing

Prerequisites:

  1. Linux server with Docker and Docker Compose installed
  2. 50 GB HDD
  3. 4 GB RAM

Target Audience: Teams that want a complete environment without manual service installation. Suitable for QA and production.

Turing and its dependencies deployed via Kubernetes manifests (available in the k8s/ directory), including:

  • MariaDB, Turing system tables
  • Solr: Semantic Navigation search backend
  • Nginx: reverse proxy
  • Turing

Prerequisites:

  1. Linux server with Kubernetes, or a cloud Kubernetes service (GKE, EKS, AKS)
  2. 100 GB storage
  3. 4 GB RAM

Target Audience: Cloud deployments requiring horizontal scaling and infrastructure-as-code.

Each service installed individually following this guide:

  • MariaDB, Turing system tables
  • Solr + Zookeeper: Semantic Navigation search backend
  • Apache HTTP Server: reverse proxy (required for Keycloak integration)
  • Turing

Prerequisites:

  1. One to four Linux servers
  2. 50–100 GB storage per server
  3. Minimum 2 GB RAM per server

Content ingestion is handled by Viglet Dumont, a separate application. Available connectors include WebCrawler (Apache Nutch), Database, FileSystem, AEM, and WordPress. Refer to the Dumont documentation for connector setup.

Prerequisites:

  1. A server with access to the content sources to be indexed
  2. 50 GB storage

You can start the Turing using MariaDB, Solr and Nginx.

Terminal window
./gradlew turing-app:build -x test -i --stacktrace
docker-compose up
Terminal window
docker exec -it turing /bin/bash
Terminal window
docker exec -it turing-solr /bin/bash

Check logs:

Terminal window
docker-compose exec turing-solr cat /opt/solr/server/logs/solr.log
# or
docker-compose exec turing-solr tail -f /opt/solr/server/logs/solr.log
Terminal window
docker exec -it turing-mariadb /bin/bash
Terminal window
docker exec -it turing-nginx /bin/bash

Page Description
Getting Started The zero → first-agent learning path: start here after installing
Configuration Reference Every application.yaml property
Search Engine Configure the Solr / Elasticsearch / Lucene backend
Administration Guide Users, roles, tokens, global settings
Security & Keycloak Production SSO setup