You can install or update the VMware Aria Operations for Logs Linux agent as a root or non-root user and you can set configuration parameters during installation. After installation, you can verify the installed version.
Prerequisites
- Read about installation defaults and how to change them at Command-line Options for VMware Aria Operations for Logs Agent Installation on Linux.
- Log in as root or use sudo to run console commands.
- The VMware Aria Operations for Logs Linux agent needs access to syslog and networking services to function. Install and run the VMware Aria Operations for Logs Linux agent on runlevels 3 and 5. If you want the VMware Aria Operations for Logs Linux agent to work under other runlevels, configure the system appropriately.
Procedure
Example: Linux Agent Install and Update Examples
- The following command installs the VMware Aria Operations for Logs agent for a Linux RPM distribution. It installs the agent on a separate server, assigns a non-default port number, and creates a VMware Aria Operations for Logs agent user.
sudo SERVERHOST=myagentserver SERVERPORT=1234 LIAGENTUSER=liagent rpm -i VMware-Log-Insight-Agent-44.1234.rpm
- The following command updates the agent with the given rpm file. Current agent configuration is unchanged.
rpm -Uhv VMware-Log-Insight-Agent-44.1234.rpm