Installing Linux Agents
NOTE See Agent Minimum Requirements for supported Linux operating systems and browsers.
Installing Linux Agents Manually
- From a Linux machine open a Firefox or Chrome browser in a Gnome session and log into the VSA.
- Display the Agent > Install Agents > Manage Packages page.
- Create a Linux agent install package—if one does not already exist—by clicking Create and stepping through the Create Agent Package wizard.
- Ensure Select Agent Type is set to
Linux.
- Click the Linux agent install package you just created to begin downloading the agent.
- Once the download is complete, locate the
file in the download directory of the Linux machine.KcsSetup.sh
NOTE If you have downloaded KcsSetup.exe or KcsSetup.zip, you have downloaded the wrong install file because the selected install package is dedicated to Windows or MacOS installs.
- Issue the following commands as root:
# chmod +x KcsSetup.sh# ./KcsSetup.sh
The agent installs and starts. Log into your VSA and view the status of the agent.
For further information see the install log file, located at:/tmp/KASetup_<pid>.log
where <pid> is the process id of the execution../KcsSetup.sh
NOTE Run KcsSetup.sh -V -D for verbose terminal output.
NOTE Run KcsSetup.sh -X to save the temp files created in the /tmp file. Saving these files is useful when troubleshooting a failed install.
- After the Linux agent is installed, log in and log out to see the Kaseya agent icon in a Gnome panel.
Installing Linux Agents after Scanning Networks
- Schedule a Discovery > By Agent scan using an existing Linux agent as the discovery machine.
- Install a Linux agent on a discovered Linux machine using one of the Discovery > Discovered Devices pages.
- Enter
in the Admin Logon field.root - Enter the password for the
user of the targeted Linux machines in the Password field.root - Select an agent install package in the Select an Agent Package to install field.
- Check the checkboxes next to one or more targeted Linux machines, or enter the IP address or name of a targeted Linux machine in the undiscovered machine field.
- Click the Submit button.
NOTE The Install Agents page does not currently distinguish between Linux and other systems. It is the installer's responsibility to select only Linux systems.
Uninstalling a Linux Agent Manually
A always gets installed with the agent and will remove the agent. Agents are typically installed to the <install-dir>/bin/KcsUninstaller directory. /opt
Issue the following commands as root:# ./KcsUninstaller
NOTE Run the command ./KcsUninstaller -D -V to uninstall the agent with verbose terminal output.
Troubleshooting Linux Agents Installs
- See the Troubleshooting Linux Agent Installs community page.