Linux Installation Instructions
Ubuntu 20 / Ubuntu 22
Install the Axon Agent on Ubuntu 20 and 22
Once the Agent Package installer has been downloaded, install the Agent by doing the following:
Move the Agent Package installer to the device on which collection will occur.
- Browse via the terminal to the directory containing the installation package.
Install unzip:
BASHsudo apt install unzip
Unzip the Linux Axon Agent bundle:
BASHunzip "Demo Linux Agents_Bundle.zip" -d ./
Make sure the installers and the "lragent_config.json" file are in the same directory.
Ensure the only lragent-config.json file on the machine exists in the same folder as the Axon Agent Linux installer. Duplicates of this file existing elsewhere on the system may cause installation errors.
Install FluentD :
BASHsudo apt install ./Fluentd_Installer.deb
Install the Axon Agent:
BASHsudo apt install ./Axon_Agent_Installer_X.X.X.deb
X.X.X represents the version of the Axon Agent you are installing.
The installation is completed successfully.
The newly installed Agent appears on the Agents page of Axon in the Active Agents tab.
To verify current running status, see Axon Agent Linux Troubleshooting Guide.
Uninstall the Axon Agent on Ubuntu 20 / Ubuntu 22
To uninstall an Axon Agent on Ubuntu 20 and Ubuntu 22:
- Retire the Agent being uninstalled in the LogRhythm Axon UI.
Refer to View and Modify Axon Agents for more information on retiring an Axon Agent. Stop and disable the Axon Agent Service:
BASHsystemctl stop lr-agent.logrhythm.service systemctl disable lr-agent.logrhythm.service
Remove the Axon Agent installation:
BASHsudo apt purge lr-agent-logrhythm sudo apt purge td-agent
(Optional.) Use the following commands to remove the LogRhythm Axon Agent and any unnecessary dependencies:
BASHsudo apt purge --auto-remove lr-agent.logrhythm sudo apt purge --auto-remove td-agent
Remove the various directories associated with the Axon Agent:
Before using these commands, verify that these directories do not contain anything you want to keep.
BASHrm /opt/osquery -Rf rm /opt/td-agent -Rf rm /etc/td-agent -Rf rm /etc/logrhythm -Rf rm /var/logrhythm -Rf rm /var/log/osquery -Rf rm /var/log/logrhythm -Rf rm /var/log/td-agent -Rf
CentOS 7 / RHEL 9
Install the Axon Agent on CentOS 7 and RHEL 9
Once the Agent Package installer has been downloaded, install the Agent by doing the following:
- Move the Agent Package installer to the device on which collection will occur.
- Browse via the terminal to the directory containing the installation package.
Install unzip:
BASHsudo yum install unzip
Unzip the Linux Axon Agent bundle:
BASHunzip "Demo Linux Agents_Bundle.zip" -d ./
Make sure the installers and the "lragent_config.json" file are in the same directory.
Install FluentD:
BASHsudo yum install ./Fluentd_Installer.rpm
Install the Axon Agent:
BASHsudo yum install ./Axon_Agent_Installer_X.X.X.rpm
X.X.X represents the version of the Axon Agent you are installing.
The installation is completed successfully.
The newly installed Agent appears on the Agents page of Axon in the Active Agents tab.
To verify current running status, see Axon Agent Linux Troubleshooting Guide.
Uninstall the Axon Agent on CentOS 7 / RHEL 9
To uninstall an Axon Agent on CentOS7 and RHEL 9:
- Retire the Agent being uninstalled in the LogRhythm Axon UI.
Refer to View and Modify Axon Agents for more information on retiring an Axon Agent. Stop and disable the Axon Agent Service:
BASHsystemctl stop lr-agent.logrhythm.service systemctl disable lr-agent.logrhythm.service
Remove the Axon Agent installation:
BASHsudo yum remove lr-agent-logrhythm.x86_64 sudo yum remove td-agent.x86_64
(Optional.) Use the following commands to remove the LogRhythm Axon Agent and any unnecessary dependencies:
BASHsudo yum autoremove lr-agent-logrhythm.x86_64 sudo yum autoremove td-agent.x86_64
Remove the various directories associated with the Axon Agent:
Before using these commands, verify that these directories do not contain anything you want to keep.
BASHrm /opt/osquery -Rf rm /opt/td-agent -Rf rm /etc/td-agent -Rf rm /etc/logrhythm -Rf rm /var/logrhythm -Rf rm /var/log/osquery -Rf rm /var/log/logrhythm -Rf rm /var/log/td-agent -Rf