Manual Setup By Installers
Please see details at Artifacts location
Before running the setup, please check [Central Hub] Recommended System Configuration to install all required dependencies.
Setup order requirement
Please follow installation steps in order to complete the system setup properly:
Order no. | Service | Notes |
---|---|---|
1 | Redis, RabbitMQ, PostgreSQL and File Server (NAS) |
|
2 | First MetaDefender Core instance in the shared DB mode. |
|
3 | The Hub instance, and any other MetaDefender Core instances in the shared DB mode. |
|
1. Redis caching server
Windows
- Check [Central Hub] Recommended System Configuration to install all required dependencies e.g. Microsoft Visual C++ Redistributable (direct download link: https://aka.ms/vs/17/release/vc_redist.x64.exe).
- Download Redis installer for Windows, and run it as administrator privilege.
- Open Redis configuration file
<path to Redis installation folder>\redis.windows-service.conf
in the edit mode. - Comment out the
bind
setting:
...
# The following line should be commented
# bind 127.0.0.1
...
- Set protected mode option to no:
...
# The following line should be uncommented
protected-mode no
...
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
- Restart service.
Linux
- Check [Central Hub] Recommended System Configuration to install all required dependencies.
- Download Redis installer for Windows on the OPSWAT portal, and run:
Debian / Ubuntu:
Red Hat / CentOS:
- Open Redis configuration file
<path to Redis installation folder>/redis.conf
in the edit mode. - Comment out the
bind
setting:
...
# The following line should be commented
# bind 127.0.0.1
...
- Set protected mode option to no:
...
# The following line should be uncommented
protected-mode no
...
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
- Restart service.
2. RabbitMQ messaging broker
Windows
- Install Erlang dependency: Download the latest installer at https://www.erlang.org/downloads, then follow the instructions to install Erlang.
- Install RabbitMQ:
- Download the RabbitMQ installer for Windows at https://www.rabbitmq.com/install-windows.html#downloads (.exe)
- Run .exe installer as administrator, follow instructions to complete the RabbitMQ installation.
- Add RabbitMQ user and set user permission:
- Open command line (CLI) as administration, and change working directory to
<RabbitMQ installation folder>/rabbitmq_server-<version>/sbin
- Run these commands one by another one:
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
- Enable RabbitMQ Management UI (optional):
- Open command line (CLI) as administration, and change working directory to
<RabbitMQ installation folder>/rabbitmq_server-<version>/sbin
- Run following command:
- Add firewall exception rule for port 15672 to access RabbitMQ Management UI.
Linux
- Install Erlang dependency: Download the latest Erlang package on Linux at https://www.erlang-solutions.com/downloads/, then follow the instructions to install Erlang and its dependencies.
- Install RabbitMQ:
- Red Hat / CentOS: Download RPM-based RabbitMQ installer at https://www.rabbitmq.com/install-rpm.html#downloads then run following command as root privilege to complete the installation:
- Debian / Ubuntu: Download DEB-based RabbitMQ installer at https://www.rabbitmq.com/install-debian.html#manual-installation then run following command as root privilege to complete the installation:
- Add RabbitMQ user and set user permission:
- Run these commands one by another one as root privilege:
Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
Enable RabbitMQ Management UI (optional):
- Run following command:
- Add firewall exception rule for port 15672 to access RabbitMQ Management UI.
3. PostgreSQL DB server
Windows
Download and install PostgreSQL server version 12.x for Windows x64 at https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Follow steps to open database connections: Open Connection On PostgreSQL Server
Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
Restart PostgreSQL server.
Linux
Download and install PostgreSQL server version 12.x for Windows x64 at https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Follow steps to open database connections: Open Connection On PostgreSQL Server
Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
Restart PostgreSQL server.
4. File storage server (NAS)
Windows
- Check [Central Hub] Recommended System Configuration to install all required dependencies e.g. Microsoft Visual C++ Redistributable (direct download link: https://aka.ms/vs/17/release/vc_redist.x64.exe).
- Use OpenSSL or equivalent tool (e.g. ssh-keygen) to generate RSA private key and certificate in X509 format at a location where NAS service can access.
- Complete NAS configuration - MetaDefender Core NAS (File Storage Server)
- Download and run NAS installer as administrator privilege.
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
Linux
- Check [Central Hub] Recommended System Configuration to install all required dependencies.
- Use OpenSSL or equivalent tool (e.g. ssh-keygen) to generate RSA private key and certificate in X509 format at a location where NAS service can access.
- Complete NAS configuration - MetaDefender Core NAS (File Storage Server)
- Download and run NAS installer as root privilege:
- Debian / Ubuntu:
- Red Hat / CentOS:
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
4. MetaDefender Core
- Complete MetaDefender Core ignition file for Central Hub deployment setup preparation - MetaDefender Core
- Install MetaDefender Core - Installation
- Configure health check policy - Health Check API Configuration
- Add firewall exception rule to allow both inbound and outbound connections:
- TCP
- Ports: 5432 (PostgreSQL), 5672 (RabbitMQ), 6379 (Redis), 8888 (File Storage NAS)
5. Hub
Windows
- Check [Central Hub] Recommended System Configuration to install all required dependencies e.g. Microsoft Visual C++ Redistributable (direct download link: https://aka.ms/vs/17/release/vc_redist.x64.exe).
- Complete Hub configuration file for Central Hub deployment setup preparation - MetaDefender Core Hub (Hub)
- Download and run the Hub installer as administration privilege.
Linux
- Check [Central Hub] Recommended System Configuration to install all required dependencies.
- Complete Hub configuration file for Central Hub deployment setup preparation - MetaDefender Core Hub (Hub)
- Download and run the Hub installer as root privilege:
- Debian / Ubuntu:
- Red Hat / CentOS: