Installing the P9 agent on Linux

The Panorama9 system supports computers running different flavors of Linux, e.g. Ubuntu, Red Hat, Debian, CentOS, Amazon Linux AMI. Once the P9 agent is installed it will instantly begin collecting information about the machine and report to the Panorama9 cloud.

Table of contents

The Panorama9 agent for Linux comes as an easy to install .deb or .rpm package. The recommend solution is to install it through the Advanced Packaging Tool (APT) or Yellowdog Updater Modified (YUM) package manager, but if required you may also choose to download the lastest build and install it using e.g. "dpkg" or "rpm". When started the agent runs as a non-privileged user and communication with the Panorama9 cloud is done through HTTPS - authenticating both the agent running on the device and the cloud.

 

Install on systems with Debian GNU/Linux or any of its variants

Recommended solution is to use the APT package manager and only requires that you add the Panorama9 repository to your source list.

  1. Setup the APT repository:

    sudo wget http://changes.panorama9.com/linux/deb/p9.list \
    -O /etc/apt/sources.list.d/p9.list

  2. Import the Panorama9 signing key:

    sudo wget -qO - http://changes.panorama9.com/linux/p9.gpg.key | \
    sudo apt-key add -

  3. Install the Panorama9 agent for Linux:

    sudo apt-get update
    sudo apt-get install p9-agent

    Note, for older versions of Linux, e.g. Ubuntu 10.4, please install with argument --no-install-recommends: "sudo apt-get --no-install-recommends install p9-agent"

  4. Copy your "client certificate" to the device (e.g. copy the certificate link "P9 dashboard" -> "Downloads" -> "cert.pfx" and paste it to the Terminal and use "wget" to download) and start the Panorama9 agent for Linux (see below for more information on initial setup):

    sudo wget URL_TO_YOUR_CERT -O /home/p9/cert.pfx
    sudo /etc/init.d/p9agent start

 

Install on systems with Red Hat Enterprise Linux, Fedora, CentOS, and many other RPM-based Linux distributions

Recommended solution is to use the YUM package manager which only requires that you add the Panorama9 repository to your list. To ensure easy install of required dependencies we also suggest that you add the RepoForge or EPEL repository to your YUM configuration.

  1. Setup the YUM repository:

    sudo wget http://changes.panorama9.com/linux/rpm/p9.repo \
    -O /etc/yum.repos.d/p9.repo

  2. Import the Panorama9 signing key: 

    sudo rpm --import http://changes.panorama9.com/linux/p9.gpg.key

  3. Install the Panorama9 agent for Linux:

    sudo yum install p9-agent

  4. Copy your "client certificate" to the device (e.g. copy the certificate link "P9 dashboard" -> "Downloads" -> "cert.pfx" and paste it to the Terminal and use "wget" to download) and start the Panorama9 agent for Linux (see below for more information on initial setup):

    sudo wget URL_TO_YOUR_CERT -O /home/p9/cert.pfx
    sudo /etc/init.d/p9agent start

  5. Extra step if your system doesn't meet dependencies and requires you to manually install them:

    sudo yum install perl-Switch
    sudo yum install udisks

    Note, the Panorama9 agent for Linux will start even if the package Udisks isn't installed. Without Udisks the Panorama9 agent for Linux isn't able to get information about physical hard disk.

 

Initial setup, configuration and start of the Panorama9 agent for Linux

Before you can start the Panorama9 agent for Linux you must complete the initial setup and configuration.

  1. Configure services/daemons that the Panorama9 system should monitor, by editing file:

    sudo vim /etc/P9/agent/services.conf

  2. Start the Panorama9 agent for Linux:

    /etc/init.d/p9agent start

 

Manually install the Panorama9 agent for Linux

While not recommended you may choose to manually install the p9-agent package using "dpkg" or "rpm". Download latest .deb or .rpm package and ensure any dependency issues are resolved when installing the package.

The biggest problem when manually installing the Panorama9 agent for Linux is its missing ability to automatically update to a newer version when available. You must from time to time ensure that the agent is updated to the latest version. Failure to do so may eventually result in the agent not working as expected.

 

Download latest .deb package here: p9-agent_latest.deb

Install the .deb package with:

sudo dpkg -i p9-agent_latest.deb

 

Download latest .rpm package here: p9-agent_latest.rpm

Install the .rpm package with:

sudo rpm -i p9-agent_latest.rpm

 

Last updated:

Comments