You are on page 1of 1

Specify your Unix/Linux distribution and desired agent settings then run the

resulting command to install the agent software.


UNIX/LINUX DISTRIBUTION

Distribution:
Red Hat Enterprise Linux 5.11, 6.x, 7.x, 8.x x64

1. ADDING THE REPOSITORY


» Adding the Orion repositoryBefore installing the agent software, you need to add
the Orion repository. Open a shell prompt on the Unix/Linux machine and enter the
following command:

Command:

if [ "`id -u`" = "0" ]; then ESH='sh'; export SWR=''; else ESH='su'; export
SWR='switch to root and '; echo "You will be prompted for root password."; fi; $
{ESH} -c 'D=rhel-5;P=/Orion/AgentManagement/LinuxPackageRepository.ashx?
path=;U="https://nms-sw https://BHDCSWPROOR01:443 https://bhdcswproor01
https://172.26.42.21";L=/etc/yum.repos.d;M=${L}/swiagent-${D}.mirrors;mkdir -p $
{L};for u in ${U};do echo "${u}${P}/dists/${D}/\$basearch";done>$M;printf
"[swiagent]\nname=SolarWinds Agent\nmirrorlist=file://%s\nenabled=1\ngpgcheck=0\n"
$M>${L}/swiagent-${D}.repo; echo "Repository for SolarWinds agent was added. To
install agent ${SWR}use following commands:"; echo " yum clean all && yum install
swiagent"'

===================================================================================
=========================

2. INSTALLING THE AGENT SOFTWARE

To install the agent software, open a shell prompt on the Unix/Linux machine and
enter the following command:

Command:

yum clean all && yum install swiagent

You might also like