# Installing Medulla on Linux

#### Prerequisites: 

The Medulla installation script supports the Debian (Bookworm) distribution.

You must have a machine with:

- **at least 8 GB of available RAM**,
- **at least 40 GB of free disk space for / and 200 GB for /var**.

Verify that your **/etc/hosts** file is properly configured with the full FQDN.

For example, if the machine is named medulla and the domain is named domain.lan, the /etc/hosts file must contain a line like this:

```
127.0.1.1    medulla.domain.lan    medulla
```

Verify that the **/etc/resolv.conf** file  **is** properly configured and that the machine is connected to the internet.

#### Installing the Medulla server:

To install the Medulla server: Use a user with sudo privileges to run the installation script and playbook.

##### 1- Transfer the script to the server. 

##### 2- Set execute permissions on the file: 

```
type: chmod +x install_from_ansible.py
```

##### 3- Start the server installation: 

```
./install_from_ansible.py
```

Wait for the installation process to finish; a summary will display all the necessary passwords (copy them to a safe place).