Manually installing the Command-Line Agent on Linux
1. To perform the Aranda DEVICE MANAGEMENT ADM Agent installation by command line, the following statement can be executed from a Linux or macOS shell.
Enter the Conserver or Repserver address depending on the MQTT broker configuration MQTT Broker Configuration. By entering the ADM console you can obtain the communication route Configuration > ADM > Communications.
sudo sh RUTA_INSTALADOR/Aranda.Agent.Linux.x64.9.3.1801.3001.sh -- AGENT_SERVER_ADDRESS=http://localhost/Conserver AGENT_PROFILE_ID=0
Donde:
Line | Description |
---|---|
ROUTE_INSTALLER | Path where the installer is located, can be relative or absolute. |
AGENT_PROFILE_ID=[UNIT] | Identifier of the profile to be installed, 0 is a profile selected in the application as the default profile |
AGENT_SERVER_ADDRESS=[STRING] | Conserver or Repserver path. |
⚐ Note: Agent addressing when repserver only works with an agent version since 9.13.
2. Después de instalar el agente se crea una carpeta con el nombre Aranda en la ruta ‘/Opt/’ con las librerías, servicios del agente y otra carpeta en ‘/etc/ ‘ con el nombre Aranda, donde se guardan los logs y la base de datos del agente. Al borrar estas carpetas se desinstalará el agente.
Agent exceptions on Linux
The module is currently supported Aranda Asset Manager I expect the following functionalities:
- Device Location
- Virtualization
- Monitoring
- Sending messages
- Sending Commands (Only allowed with the current system user)
Manual uninstallation of the Command Line Agent on Linux
⚐ Note: Available in the agent version higher than 9.14.
You can uninstall the Linux agent via the command line by following these steps:
1. Open a terminal window and in the defined path use the following command:
cd /opt/aranda
2. Once you enter the folder Aranda Run the following command.
sudo sh UninstallAgent.sh
3. Once the command is executed, you will be able to see that the agent has been successfully uninstalled.