Quick Installation
Before starting the installation, please make sure that your target system meets the Technical Requirements and the installation is performed by a person with basic Linux skills.
Please walk through the following steps. If you encounter any issues during installation, refer to our Troubleshooting Guide.
Step #1 - Create a new user that will own all the release files and run the appliance
sudo adduser filescanio
Step #2 - Download and unpack the release archive to a folder, e.g.: your home folder
Install 7zip:
sudo apt-get update
sudo apt-get install p7zip-full -y
Download the release archive from https://my.opswat.com/portal/products
Note that the release archive is password protected and needs to be unpacked.
Please use the password that you received from your OPSWAT Sales Representative! Please adjust the x.y.z version numbers to match the downloaded filename. and make sure to have no quotes or space between the "-p" directive and the password (i.e. "7z x -p123456 file.zip").
7z x -p"PASSWORD" MetaDefender_Sandbox_vx.y.z-Standalone.zip
7z x fsBootstrap.zip -ofsBootstrap
rm fsBootstrap.zip
Step #3 - Ensure that the embedded installation scripts are executable and have the unix format:
cd fsBootstrap
chmod +x *.sh
sudo apt-get install dos2unix -y
dos2unix *
Step #4 - Edit bootstrap.cfg to enable optional features (e.g. S3 bucket storage, E-Mail).
Note: Default settings work fine for standard deploys and all features can be configured post installation.
Step #5 - Move the FileScanIO.zip archive into the current folder (fsBootstrap)
mv ../FileScanIO.zip .
Step #6 - Run the bootstrap shell script
Note that this operation can take up to 20-30 minutes (depending on available network bandwidth).
sudo ./bootstrap.sh
The first step of the installation process is accepting the product EULA, you need to press Y to start the installation.
Step #7 - Optimize your transform and broker components if needed. More information: Sandbox Engine Options.
Step #8 - Access the Filescan web server (https://localhost:443) and setup the initial Admin user
Step #9 - Add your Activation Key
The system will not be able to generate scan reports yet, as a valid Activation Key is required.
Please use the Activation Key that you received from your OPSWAT Sales Representative, and follow the instructions on the License Activation page.
Simple steps for Online activation:
Navigate to the Admin panel > Settings > Integrations > License Management tab, then click on Activate All, then enter your license key!
Step #10 - Optional: start the transform and/or broker services, if not running already
sudo service fsio start
sudo service fsiobroker start
Step #11 - Check the application logs to ensure that the initialization succeeded
To initialize the newly created bash aliases, please run this command:
exec bash
After this, the following command aliases will be available to the filescanio
user (see bootstrap.cfg
) and the user who performed the installation:
fsiolog
fsiologbroker
For a more comprehensive report, it's considered a best practice to enable the use of the MD Cloud Reputation API. For further details on this: MD Cloud Reputation API
The sandbox API is documented here: MD Sandbox API
Important notes for air-gapped systems
- The installation process requires an Internet connection (moving the system into a DMZ is recommended)
- Air-gapped systems will only receive updated features (like YARA) when installed and upgraded with an active internet connection. We recommend moving the system into a DMZ during these windows.
- All third-party integrations (e.g. Reputation API, geolocation/WHOIS lookup) require an Internet connection.
- The "File download" feature is not available in air-gapped environments.
To run the sandbox in an offline environment without any errors, the following settings must be changed (after completing the installation process in an online environment).
Please open /home/filescanio/FileScanIO/fsTransform/conf/transform.properties.custom
using a text editor and add the following lines:
downloadLatestPeStudioForDataEnrichment=false
runDomainResolver=false
runFileDownloaders=false
runIPStackLookupOnExectractedHosts=false
runIPStackOnDomainResolvedIPs=false
runHexillionOnExtractedDomains=false
runWhoisRecordLookups=false
ntpServer=127.0.0.1
ntpServerTimeout=1
ntpServerRefreshRateInSeconds=31536000
runSystemUpdateEvery=31536000
runYaraUpdateOnStartup=false
runPatchesOnStartup=false
runOSINTLookups=false
Also open /home/filescanio/FileScanIO/fsTransform/conf/reputation.properties.custom
using a text editor and add the following line:
refreshReputationSources=false
Please remember to save both configuration files and restart the fsio
service:
sudo service fsio restart