# Installation

To perform a fresh installation of the Threatrix Hybrid platform, make sure you have satisfied all the requirements identified in the [Getting Started](/master.md) section. Please follow the steps below:

#### Download and Run the Installer

```bash
$ mkdir threatrix-software
$ cd threarirx-software
$ wget https://raw.githubusercontent.com/threatrix/hybrid/master/install
$ chmod +x ./install
```

#### Login to Dockerhub

```
sudo docker login -u {USERNAME}
```

#### Usage

```bash
$ ./install -h

      Welcome to Threatrix Hybrid Install

         Fri Aug 11 19:28:45 UTC 2023


 Usage:  install -h -u <ux tag> -a <app tag> -d <db tag>
 -h :  Help
 -u <ux tag>:  Version of the UX image you want to upgrade to. Default is latest
 -a <app tag>:  Version of the APP image you want to upgrade to. Default is latest
 -d <db tag>:  Version of the DB image you want to upgrade to. Default is latest
 -p <port number>:  Port number which threatrix applcation can use. Default is 80

```

#### Run the Installer

```bash
$ ./install


      Welcome to Threatrix Hybrid Install

         Fri Aug 11 17:59:55 UTC 2023



 Installing the following components in your Hybrid Envirnment:

  Threat Center:  latest
  APP          :  latest
  DB           :  latest
  Rabbit MQ    :  rabbitmq:3


 Do you want to continue? ( y  or  n ) y

 Proceeding with install...

 Downloading Containers....
 Threatrix Network exists!
 Starting containers....
 Waiting for database to initialize....
 Creating schemas....
 Starting Threatrix Components....

 Installed the following versions of Threatrix components in your Hybrid Envirnment:

  Threat Center:  23.08.11.1
  APP          :  23.08.11.1

 Use the following URL to access Threat Center:  http://hybrid-upgrade.us-central1-a.c.core-247502.internal:80/



      Threatrix Hybrid installation complete!

         Fri Aug 11 18:05:04 UTC 2023

```

Now you are ready to take Threatrix for a test drive!


---

# 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://docs.threatrix.io/hybrid/installation.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.
