# Server setup

This guide will walk you through the steps to install and configure Bekane using our official Debian repositories.

## Before you begin

### System requirements

Before starting the installation, make sure your environment meets the following requirements:

* A server running a supported operating system:
  * Debian-based Linux distribution
* A supported database backend:
  * MySQL or PostgreSQL
* Administrative (root or sudo) access to the server
* DNS and network configuration:
  * Three fully qualified domain names (FQDNs) must be configured and reachable:
    * Backend API endpoint\
      Example: `bekane.example.com`
    * Frontend UI endpoint\
      Example: `bekane-ui.example.com`
    * Edge service endpoint\
      Example: `bekane-edge.example.com`
  * Valid DNS records pointing to the appropriate servers
  * Recommended:
    * HTTPS/TLS certificates for all exposed services
    * Reverse proxy configuration using NGINX or Apache


---

# 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://documentation.bekane.org/aministrator-docs/server-setup.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.
