> For the complete documentation index, see [llms.txt](https://docs.storware.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storware.eu/deployment/installation/installation-with-deb.md).

# DEBs

To install Storware Backup and Recovery components, you can use DEB packages.

{% hint style="info" %}
[Before starting the installation, update the operating system and reboot the target hosts if required.](#user-content-fn-1)[^1]
{% endhint %}

## Packages repository

The repository file must be created on each host where the product components will be deployed.

#### **For Ubuntu 22.04 and Debian 12**

1. Create a repository file:

   ```
   echo "deb [trusted=yes] https://repo.storware.eu/vprotect/8.0.0/deb/ ./" | sudo tee /etc/apt/sources.list.d/storware.list
   ```

## Server

### MariaDB package repository file

**Before installing MariaDB, please read about supported MariaDB versions** [**here**](https://docs.storware.eu/deployment/component-requirements.md#mariadb)**.**

Installing MariaDB is required only on the host where the Storware Backup and Recovery server is deployed.

1. **Generate the repository file** at [MariaDB download](https://downloads.mariadb.org/mariadb/repositories) site
2. **Copy and paste** the generated repo file into `/etc/apt/sources.list.d/mariadb.sources`

### Server installation

1. Update the local package index:

   ```
   apt update
   ```
2. **Install the server** using the following command:

   ```
   apt install vprotect-server
   ```

### Server configuration

1. **Configure DB access.** Run the following command (it is interactive and will ask for the DB root password):

   ```
   vprotect-server-configure
   ```
2. **Start** the server service:

   ```
   systemctl start vprotect-server
   ```
3. **Open** a firewall **port:**
   1. by default, the server service listens on port 8181. Open the port using the following commands:

      ```
      sudo ufw allow 8181/tcp
      sudo ufw reload
      ```

## Node

### **Node installation**

1. **Install the node** using the following command:

   ```
   apt install vprotect-node
   ```

## Next Steps

After completing the installation, proceed to [**First Steps After Installation** ](https://docs.storware.eu/deployment/first-steps-after-installation.md)to connect Nodes to the Server and complete the initial configuration of Storware Backup & Recovery.

[^1]:
