Offline installation for Linux
The following guide will explain how to install MetaDefender Storage Security 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
Run the MetaDefender Storage Security installer
After the prerequisites above have been set up, you can run the MetaDefender Storage Security installer to setup the compose files and the mdss command line.
Pulling Docker images
MetaDefender Storage Security 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
Start MetaDefender Storage Security
Finally, MDSS can be started using the regular startup command:
sudo mdss -c start