> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/sse-v1/installing-sse/installing-sse.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Installing SSE

How to install, customize, and upgrade SSE on Windows and Linux.

### Supported platforms

* Windows
* Debian 12
* Debian 13
* Rocky Linux 8
* Rocky Linux 9
* Rocky Linux 10
* macOS: under assessment, not currently supported

### Installer packages

SSE ships as native packages — RPM (RHEL/Rocky), DEB (Debian/Ubuntu), and MSI (Windows) — named by product, version, OS, and architecture, for example `atempo-sse-1.0.8-debian12-amd64.deb` or `atempo-sse-1.0.8-windows-x64.msi`. The Windows MSI is digitally signed (from v1.0.5).

## Standard installation

### Linux

```bash
# RHEL / Rocky Linux
sudo dnf install ./atempo-sse-<version>-rhel8-x86_64.rpm

# Debian / Ubuntu
sudo apt install ./atempo-sse-<version>-debian12-amd64.deb
```

### Windows

```
msiexec /i atempo-sse-<version>-windows-x64.msi /qn
```

Or double-click the `.msi` file to run the graphical wizard.

## Customizing the installation

Customization variables can be passed **on the command line at install time**. They are applied once and persisted in the local configuration, so they are reused on subsequent upgrades.

### Configuration variables (sse.env)

These are written to `sse.env` at install time:

| Variable            | Description          | Default                    |
| ------------------- | -------------------- | -------------------------- |
| `SSE_HOST`          | API listen address   | `0.0.0.0`                  |
| `SSE_PORT`          | API port             | `8080`                     |
| `SSE_DB_HOST`       | PostgreSQL host      | `127.0.0.1`                |
| `SSE_DB_PORT`       | PostgreSQL port      | `54333`                    |
| `SSE_DB_NAME`       | Database name        | `sse_db`                   |
| `SSE_DB_USER`       | PostgreSQL user      | `sse_user`                 |
| `SSE_DB_PASSWORD`   | PostgreSQL password  | `sse_pass`                 |
| `SSE_DB_ADMIN_USER` | PostgreSQL superuser | `postgres`                 |
| `REDIS_URL`         | Redis URL            | `redis://127.0.0.1:6379/0` |

{% hint style="info" %}
`SSE_DB_PASSWORD` is automatically encrypted at rest in `sse.env` after installation (AES-256 on Linux, DPAPI on Windows) and decrypted transparently when the services start.
{% endhint %}

### Installation paths

**Linux**

| Variable          | Description                                       | Default               |
| ----------------- | ------------------------------------------------- | --------------------- |
| `SSE_INSTALL_DIR` | Application directory                             | `/opt/atempo/sse`     |
| `SSE_CONFIG_DIR`  | Configuration directory (`sse.env`, certificates) | `/etc/atempo/sse`     |
| `SSE_DATA_DIR`    | Persistent data (PostgreSQL cluster)              | `/var/lib/atempo/sse` |
| `SSE_LOG_DIR`     | Log files                                         | `/var/log/atempo-sse` |

**Windows**

| MSI property | Description                                  | Default                       |
| ------------ | -------------------------------------------- | ----------------------------- |
| `INSTALLDIR` | Application install directory                | `C:\Program Files\ATEMPO\SSE` |
| `DATADIR`    | Data directory (`sse.env`, PostgreSQL, logs) | `C:\ProgramData\ATEMPO\SSE`   |

Custom paths are persisted (Linux: `/etc/atempo/.sse-install-paths`; Windows: registry) and reused automatically on upgrades — there is no need to re-specify them.

### Examples

```bash
# Linux — custom database settings
SSE_DB_NAME=mydb SSE_DB_USER=myuser SSE_DB_PASSWORD=s3cr3t SSE_DB_PORT=5432 \
  sudo dnf install ./atempo-sse-<version>-rhel8-x86_64.rpm

# Linux — custom install paths
SSE_INSTALL_DIR=/data/atempo/sse SSE_DATA_DIR=/mnt/pgdata/sse \
  sudo apt install ./atempo-sse-<version>-debian12-amd64.deb
```

```
# Windows — custom paths + database settings
msiexec /i atempo-sse-<version>-windows-x64.msi /qn ^
  INSTALLDIR="D:\Apps\SSE" ^
  DATADIR="D:\Data\SSE" ^
  SSE_DB_USER=sse_prod ^
  SSE_DB_PASSWORD=Str0ng!
```

## Upgrading

Installing a newer package upgrades in place. Configuration (`sse.env`) and PostgreSQL data are preserved, and previously chosen install paths are reused automatically.

```bash
# Linux
sudo dnf upgrade ./atempo-sse-<version>-rhel8-x86_64.rpm
sudo apt install ./atempo-sse-<version>-debian12-amd64.deb
```

```
# Windows (upgrade auto-detected)
msiexec /i atempo-sse-<version>-windows-x64.msi /qn
```

## Docker (all-in-one)

An all-in-one container image (API, worker, PostgreSQL, Redis, nginx) is also available. The Compose files are embedded in the image under `/opt/atempo/sse/deploy/`; use the provided `sse-up.sh` / `sse-up.ps1` scripts to start it. Key settings live in `container.env` (`SSE_IMAGE`, `HOST_SCAN_PATH`, published ports).

## First launch

On first access, the environment is empty — no storages and no scans are configured. The first task is to create a storage repository (see Configuring Storage).

See also: Uninstalling SSE, Configuring Storage.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/sse-v1/installing-sse/installing-sse.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
