Install and configure custom anti-virus service - ClamAV - Intergraph Smart Engineering Manager - 7.0 - Customization & Programming - Hexagon

Intergraph Smart Engineering Manager Web API Reference Guide

ft:locale
en-US
Product
Intergraph Smart Engineering Manager
Subproduct
Web API
Search by Category
Customization & Programming
Smart Engineering Manager Web Version
7.0

To prepare for installing and configuring custom scanning, see Configure virus scanning before uploading a package

The custom scanner example shown below makes use of the ClamAV virus scanner.

  1. Download Clam AV Win.X64.Zip file, located at ClamAV Downloads.

  2. Create a folder on the system and extract the .ZIP file to that folder. For example: C:\ClamAV folder.

  3. From the ClamAV installation package, locate the clamd.conf and freshclam.conf files and copy them to the ClamAV folder. See, ClamAV configuration.

  4. Open a command prompt window and enter the following command: C:\ClamAV>freshclam.exe . This downloads the latest virus definitions.

    ClamAV_Configs in CMD

  5. To install ClamAV, enter the following command: C:\ClamAV>clamd –install. The command response is: Service ClamD successfully created.

  6. To install the ClamAV Virus Updater service, enter the following command: C:\ClamAV>freshclam -install. The command response is: Service FreshClam successfully created.

  7. From the Windows Control Panel, select Administrative Tools > Services.

  8. In the Services list, select the Startup Type to Automatic for the ClamAV FreshClam and the ClamAV ClamD services.

  9. To activate the service in the code, open the appsettings.json file located in WebApi.Service project.

  10. Set the Active value to "true", in the “ClamAVServer” section.

  11. Save and close the appsettings.json file.

  12. Restart the Smart Engineering Manager server.

We recommend downloading and configuring the ClamAV service on the same machine on which Smart Engineering Manager is installed.