Installing using the command line

Preliminary notes

Before you begin the installation, please ensure that the system requirements are met.

If the MetaDefender for Secure Storage installer package dependencies are not installed on your system the installer will attempt to automatically download them over the internet.

Acquire the package

In order to acquire the package please visit https://www.opswat.com/solution

To limit the required resources, use the ENABLED_MODULES environment variable in the customer.env file to select which modules to install when deploying MetaDefender for Secure Storage, you can follow these steps:

  1. Locate the customer.env file in your MetaDefender for Secure Storage deployment. This file contains environment variables used for customization.
  2. Open the customer.env file in a text editor.
  3. Add the ENABLED_MODULES environment variable to the file. The variable should be in the format ENABLED_MODULES=<module_list>, where <module_list> is a comma-separated list of the modules you want to enable. For example, if you want to enable modules Amazon S3, Google Cloud, and Azure Blob storage units, your customer.env file should include the following line: ENABLED_MODULES=azureblob,amazonsdk,googlecloud
  4. Save the customer.env file.
  5. Proceed with the deployment of MetaDefender for Secure Storage.

How to edit the configuration file

Advanced installation

We recommend that production deployments use an external database and ensure that web traffic is encrypted. For detailed information on how to configure an external database or HTTPS see advanced installation section:

Debian / Ubuntu package (.deb)

  1. Update your packages
Bash
Copy
  1. Install the necessary package dependencies
Bash
Copy
  1. Move to the folder containing the installer and install it
Bash
Copy
  1. After the installation is completed, check if everything went fine
Bash
Copy

or using the help menu

Bash
Copy
  1. Run the following command in order to initialize MetaDefender for Secure Storage
Bash
Copy
  1. Start the service
Bash
Copy
  1. Optionally, you can check the status using the following command:
Bash
Copy
  1. Open a browser and navigate to the web interface: http://<server> to configure your deployment.

Red Hat Enterprise Linux / CentOS package (.rpm)

Please note that Docker Engine is officially supported only on RHEL s390x architecture, but you may be able to install it manually following the CentOS installation steps: https://docs.docker.com/engine/install/centos/

  1. Update your packages
Bash
Copy
  1. Move to the folder containing the installer and install it
Bash
Copy
  1. After the installation is completed, check if everything went fine
Bash
Copy

or using the help menu

Bash
Copy
  1. Run the following command in order to initialize MetaDefender for Secure Storage
Bash
Copy

Note: If you don’t have docker already installed, the installer will do that for you, but you will be prompted to sign out and sign back in. This is necessary because your current user needs to be added to the docker group.

  1. Start the service
Bash
Copy
  1. Optionally, you can check the status using the following command:
Bash
Copy
  1. Open a browser and navigate to the web interface: http://<server> to configure your deployment.
  2. If you are using firewall (on CentOS8 and RHEL 8) you may need to update it’s policies:
Bash
Copy

Windows package (.exe)

From the command line interface, it is possible to install the product by executing

Powershell
Copy

where the possible keys and their default values are the following:

KeyDescription
/silent or /passiveSuppress the installation wizard
InstallFolder=”C:\Program Files\OPSWAT\MetaDefender for Secure Storage”Customize the installation directory
/uninstallPerform an uninstallation
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard