# Deployment And Administration Guide

## Installation

### From Package

For Ubuntu 14.04 and CentOS 7 a package is provided by the INDIGO DataCloud team. To be able to install the packages using the package manager of your system, the repository needs to be added. This is done by adding the INDIGO DataCloud package repository to your system.

The INDIGO DataCloud repository can be found at <http://repo.indigo-datacloud.eu> .

For informations on how to add the repository to your system refer to the documentation of your operating system.

#### Ubuntu 14.04

After adding the repository one needs to update the package list and then install the Token Translation Service.

```
apt update
apt install wattson
```

#### CentOS 7

After adding the repository one needs to update the package list and then install the Token Translation Service.

```
yum update
yum install wattson
```

### From Source

To be able to install wattson from source, you need the go programming language version 1.5 or newer installed on the system.

The go programming language should be in the repository of your Linux distribution.

On Debian/Ubuntu as well as on CentOs it is called 'golang'. So installing go on Debian based distributions is just a

```
apt install golang
```

Installing on CentOs is also just a

```
yum install golang
```

The next steps download the source and build wattson:

* clone the git repository
* compile wattson

  ```
  git clone https://github.com/indigo-dc/wattson
  cd wattson
  ./utils/compile.sh
  ```

  the binary executable is in the current direcotry called 'wattson'.

One could now copy the binary to e.g. `/usr/bin`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://indigo-dc.gitbook.io/wattson/admin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
