Install the P9 Agent for Linux
IT-Man avatar
Written by IT-Man
Updated over a week ago

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.

Setup APT repository.

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

Import the Panorama9 signing key.

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

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

Final step is to download the "client certificate" to the device (we recommend you copy the certificate link: "P9 Dashboard" -> "Downloads" -> "cert.pfx" and paste it to the Terminal and use "wget" to download). Then start the Panorama9 Agent for Linux.

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.

Setup the YUM repository.

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

Import the Panorama9 signing key

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

Install the Panorama9 agent for Linux

sudo yum install p9-agent

Final step is to download the "client certificate" to the device (we recommend you copy the certificate link: "P9 Dashboard" -> "Downloads" -> "cert.pfx" and paste it to the Terminal and use "wget" to download). Then start the Panorama9 Agent for Linux.

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

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 isn't able to get information about physical hard disk.

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
Did this answer your question?