# Installing Smart AMS

## Important notes

To keep Smart AMS running smoothly, virus scanners (like Windows Defender) on the Smart AMS Server computer should either be switched off entirely or at least have certain exclusions configured.

1. Disable scheduled and real-time scanning for files under the following paths:

   C:\ProgramData\AMP
   C:\SAMS

2. Configure exclusions for files that are opened by the following processes:

   erl.exe
   AMPServiceProcess.exe

## Installation process

1. Launch Setup-SAMS-1.6.exe.

   - If a dialog prompt from User Account Control asks whether to allow this program to make changes to your computer, click Yes.

   - If Windows Defender SmartScreen prevents the installer from running, click More info, and then click Run anyway.

2. Select the language to use during the installation.

3. In the License Agreement dialog box, select the "I accept the agreement" option, and then click Next.

4. Confirm the installation path. Default path: C:\SAMS.

5. Choose an installation mode: Full installation or Custom installation. If you select Full installation, all product components will be installed. Selective installation allows you to select any of the following components: Erlang OTP, RabbitMQ Server, Smart AMS. Normally, you should install all the three components.

6. Specify the Start menu folder to add the program's shortcut to. Default: SAMS.

7. Specify whether to create the desktop shortcut for all users or for the current user only.

8. If you have chosen to install SAMS, specify the HTTP port that it will use. It is recommended that you leave the default value. You will also need to specify a username and password. Write them down and keep them in a secure place. You will then need to enter these login credentials to log on to Smart AMS Manager.

   If you have chosen to install RabbitMQ Server, you will be prompted to specify the virtual host, username, and password. If there is no reason to specify custom values, leave the default values. Write them down and keep them in a secure place.
   Select the Enable Management Plugin check box, if necessary. The RabbitMQ management plugin provides an HTTP-based API for management and monitoring of RabbitMQ nodes and clusters, along with a browser-based UI and a command-line tool, rabbitmqadmin. To save system resources, it is recommended that you do not install this component on production machines.

   If you see the Windows Defender Firewall has blocked some features of epmd.exe or erl.exe message, click on Allow access.

9. Specify the host name or IP address and the TCP port that SAMS will use for connecting to Error Proofing License Manager. Default port: 7070.

10. When you reach the Completing the SAMS Setup Wizard window, select the Start Windows service (in background) check box.