> 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-rpms.md).

# RPMs

To install Storware Backup and Recovery components, you can use RPM 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 %}

## Package repositories

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

#### **For Red Hat Enterprise Linux 8 and compatible**

1. Create a repository file`/etc/yum.repos.d/vProtect.repo` with the following content:

   ```
   # Storware Backup & Recovery - Enterprise backup solution for virtual environments repository
   [vprotect]
   name = vProtect
   baseurl = https://repo.storware.eu/storware/8.0.0/el8/
   gpgcheck = 0
   ```

#### **For Red Hat Enterprise Linux 9 and compatible**

1. Create a repository file`/etc/yum.repos.d/vProtect.repo` with the following content:

   ```
   # Storware Backup & Recovery - Enterprise backup solution for virtual environments repository
   [vprotect]
   name = vProtect
   baseurl = https://repo.storware.eu/storware/8.0.0/el9/
   gpgcheck = 0
   ```

#### **For SUSE Linux Enterprise Server 14 and compatible**

1. Create a repository file`/etc/yum.repos.d/vProtect.repo` with the following content:

   ```
   # Storware Backup & Recovery - Enterprise backup solution for virtual environments repository
   [vprotect]
   name = vProtect
   baseurl = https://repo.storware.eu/storware/8.0.0/suse15/
   gpgcheck = 0
   ```
2. Add **Desktop Application Tools** module:

   ```
   SUSEConnect -p sle-module-desktop-applications/15.7/x86_64
   ```
3. Add the **Development tools** module:

   ```
   SUSEConnect -p sle-module-development-tools/15.7/x86_64
   ```

## 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/yum.repos.d/MariaDB.repo`

### Server installation

#### Red Hat Enterprise Linux and compatible

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

   ```
   dnf install vprotect-server
   ```

#### SUSE Linux Enterprise Server and compatible

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

   ```
   zypper 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:

      ```
      firewall-cmd --add-port=8181/tcp --permanent
      firewall-cmd --reload
      ```
4. Optionally **- forward** the default HTTPS (443) port to port 8181:

   ```
   /opt/vprotect/server/scripts/ssl_port_forwarding_firewall-cmd.sh
   ```

## Node

### **Node installation**

#### Red Hat Enterprise Linux and compatible

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

   ```
   dnf install vprotect-node
   ```

#### SUSE Linux Enterprise Server and compatible

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

   ```
   zypper 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]:
