2.2.1. Installing Metadefender Core using command line
Preliminary notes
-
If the Metadefender Core package dependencies are not installed on your system you may need to have a working Internet connection or you may have to provide the Installation media during the installation. Consult your Operating System documentation on how to use Installation media as a package repository.
Debian package (.deb)
sudo dpkg -i <filename> || sudo apt-get install -f
On Red Hat Enterprise Linux / CentOS package (.rpm)
sudo yum install <filename>
For systems which enabled GPD check flag:
sudo yum install --nogpdcheck <filename>
Windows package (.msi)
On Windows systems it is possible to install the product by running the corresponding .msi file.
From command line interface it is also possible to install the product by executing
msiexec /i <msi file name> <option key>=<option value>
where the possible keys and their default values are the following:
Key |
Default Value |
Description |
INSTALLFOLDER |
\Program Files\OPSWAT\MetaDefender Core |
Customize installation folder for product Example: INSTALLFOLDER="D:\Products" |
RESTADDRESS |
* |
REST interface binding IPv4 or IPv6 address ( '*' means that service listens on all IPv4 and IPv6 interfaces) |
RESTPORT |
8008 |
REST interface binding port |
EXTERNALNODE |
|
Whether to enable external processing nodes or not. To enable external processing nodes, set EXTERNALNODE=1. ADDRESS and PORT values below are admitted only if EXTERNALNODE=1 is set. |
ADDRESS |
|
Address of the computer to accept external scan node connections ADDRESS value is only admitted if EXTERNALNODE=1 is set. If EXTERNALNODE=1 is set but ADDRESS is not, then ADDRESS defaults to * (all IPv4 and IPv6 interfaces) |
PORT |
|
Designated port number to accept external scan node connections PORT value is only admitted if EXTERNALNODE=1 is set. If EXTERNALNODE=1 is set but PORT is not, then PORT defaults to 8007. |
REPORT_ENGINE_ISSUE |
true |
Enable reporting of engine issue count. (possible values: "true" or "false"). |
For details on using msiexec please consult Windows installer documentation.