Step 3: Installing Acunetix 360 Agent
Installing the Acunetix 360 Agent
The Acunetix 360 Agent is installed using a wizard.
TIP: You can also install the Acunetix 360 Agent in silent mode. For more information, refer to Installing the Acunetix 360 Agent in Silent Mode. |
How to Install the Acunetix 360 Agent
- Run the AgentSetup.exe file.
- On the Acunetix 360 Agent Setup window, select Next.
- On the Select Installation Folder step, select Next to install the Agent to the default folder. Or select Browse to select an installation folder. Select Next.
- On the Agent Settings window, enter the Agent Name, API URL, and API Token. The Agent Name and API URL fields are already completed. (Agent Name can be configured to any value to help distinguish them from one another, and the API URL should point to the WebApp URL.) Select Next.
TIP: To find your API Token, from the main menu, go to Agents > Manage Agents > Configure New Agent. Copy the Agent Token. |
NOTE: If you have already configured SSL/TLS for your Acunetix 360 Application Server, then you should enter that URL and ensure that you use HTTPS (for example: https://acx360server/). |
5. On the Ready to Install step, select Install.
6. Select Finish to complete the installation.
Configuring Agent Selection
If you wish, you can select a specific agent while launching a scan.
How to configure Agent selection
- Log in to the Acunetix 360 Application Server with an Administrator account.
- From the main menu, select Settings > General.
- Enable the Agent Selection Enabled checkbox and select Save.
- From the main menu, select Scans > New Scan.
- In the General tab, select the Preferred Agent drop-down and select an option.
- Complete the fields as required.
Installing multiple agents on the same operating system
If you want to install more than one agent on the same system, first install the Acunetix 360 Agent, as usual, using the AgentSetup.exe file.
How to install multiple agents on the same operating system
- Copy all files from the default Agent’s folder to the new Agent’s folder. The default installation path is: C:\Program Files (x86)\Acunetix 360 Agent.
For example, if you decided to use Agent-2 as the new Agent name, you could use this command to copy all files to new Agent’s folder:
xcopy "C:\Program Files (x86)\Acunetix 360 Agent\*.*" "C:\Program Files (x86)\Acunetix 360 Agent-2" /yie |
This will create a new directory in C:\Program Files (x86)\Acunetix 360 Agent-2 and copy in all the required files.
- Locate the new Agent’s folder and open the appsettings.json file with a text editor. Set the new Agent’s name.
- Open a command prompt in Windows with Administrator rights and install the new Agent as a Windows Service using these commands:
- This command changes the current folder to the new Agent’s folder:
cd C:\Program Files (x86)\Acunetix 360 Agent-2
- This command installs the new Agent as a Windows Service:
Acunetix.Cloud.Agent.exe /i
- This command starts the new Agent’s Windows Service:
Acunetix.Cloud.Agent.exe /s