Installing vPlus Offline

In environments where internet access is restricted due to security concerns, vPlus can be installed on a machine without direct internet connectivity. This chapter outlines the step-by-step process for offline installation of vPlus.

Prerequisites

  • A host with internet access

  • A target host without internet access

  • Administrative privileges on both hosts

Step 1: Preparation on Internet-Connected Host

  1. Create Repository Files

First, you need to create the necessary repository files on the host with internet access.

Download MariaDB version 10.6 and create a file named /etc/yum.repos.d/MariaDB.repo with the appropriate content for your system. For example, for CentOS 8 (x86_64):

# MariaDB 10.6 CentOS repository list - created 2022-11-29 16:27 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
baseurl = https://atl.mirrors.knownhost.com/mariadb/yum/10.6/centos8-amd64
module_hotfixes=1
gpgkey=https://atl.mirrors.knownhost.com/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1

Create a file named /etc/yum.repos.d/vPlus.repo with the following content:

# vPlus backup solution for virtual environments repository
[vPlus]
name = vPlus
baseurl = https://f002.backblazeb2.com/file/DPX-vPlus/current/el8
gpgcheck = 0
  1. Install Required Tools and Download Packages

Run the following commands:

dnf install yum-utils createrepo
mkdir /home/vprepo
mkdir /home/createrepo
dnf install --downloadonly --downloaddir=/home/vprepo/ vprotect-server vprotect-node
  1. Create vPlus Repository

Execute the following command:

createrepo /home/vprepo/
  1. Transfer Repository to Offline Host

Copy the /home/vprepo folder to the offline host using your preferred method. For example:

scp -r /home/vprepo/ vp_offline_host:/home/vprepo

Step 2: Installation on Offline Host

  1. Configure vPlus Repository

On the offline host, create a file named /etc/yum.repos.d/vPlus.repo with the following content:

# vPlus backup solution for virtual environments repository
[vPlus]
name = vPlus
baseurl = file:///home/vprepo
gpgcheck = 0
  1. Install vPlus Packages

Install the vProtect server and node packages:

dnf install vprotect-server
dnf install vprotect-node

By following these steps, you can successfully install vPlus on a machine without internet access.