Offline installation for Linux
The following guide will explain how to install MetaDefender for Secure Storage and its dependencies on machines with limited or no internet connectivity. A machine connected to the internet will be needed to download the dependencies manually and copy them to the offline machine.
Installing binary packages:
You will need to download and install the following binary packages:
Debian/Ubuntu:
curl, openssl, apt-transport-https, ca-certificates, gnupg-agent, software-properties-common, sudo, apt-utils, iproute2, jq
RedHat/CentOS:
epel-release, yum-utils, device-mapper-persistent-data, lvm2, curl, openssl, ca-certificates, gnupg2, sudo, iproute, wget
You can use the following guide for Debian/Ubuntu or for CentOS/RHEL
Installing Docker and Docker Compose
To be able to install the dependencies offline, you need a machine connected to the internet to download the required packages. Later, the packages will be copied to the offline machine.
To download the dependencies, follow the official guide for Docker Engine and Docker Compose
Pulling Docker images
MetaDefender for Secure Storage consists of multiple Docker images. These images need to be pulled from an online repository (Docker Hub). You can find the latest docker images here:
- Latest v3 release: https://metascanbucket.s3.amazonaws.com/Metadefender/MetaDefender_Secure_Storage_resources_v3/l/deployment.zip
The next step is to extract and copy the mdcs.tar archive to the offline machine and load the images. You can do that with the following command:
docker load -i <archive_path>\mdcs.tar
Run the MetaDefender for Secure Storage installer
After all the prerequisites above have been set up, you can finally run the MetaDefender for Secure Storage installer to complete the installation.