Enroll AgentP on a Linux headless device
In this topic, you will learn how to install Portnox™ AgentP on a Linux headless device, such as a Linux server, and enroll it with Portnox Cloud.
-
Download Portnox AgentP using curl:
Debian-based distributions (for example, Ubuntu):
curl -L -o agentp.deb 'https://clear.portnox.com/enduser/DownloadAgentPForOsAndPackageType?osType=5&packageType=Deb'
RPM-based distributions (for example, RedHat):
curl -L -o agentp.rpm 'https://clear.portnox.com/enduser/DownloadAgentPForOsAndPackageType?osType=5&packageType=Rpm'
-
Install the downloaded AgentP package using the appropriate package installer:
Debian-based distributions (for example, Ubuntu):
sudo dpkg -i agentp.deb
RPM-based distributions (for example, RedHat):
sudo rpm -i --nodeps agentp.rpm
-
Get a list of parameters available for headless Linux AgentP:
agentpd -h
-
Enroll headless Linux AgentP:
Example of enrolling with corporate credentials:
agentpd -e -l kosh@vorlon.com -p u9tXNMh0Z69MMyWs76z6
Example of enrolling with email:
agentpd -e -m lyta.alexander@bab5.com
Results:
- Connection profiles are saved in the following locations:
If network manager is installed, they are available in network manager.
If network manager is not installed, they are available in netplan.
- Supplicant certificates are saved in the following locations:
Debian-based distributions (for example, Ubuntu):
/var/agentp/certs
RPM-based distributions (for example, RedHat):
/usr/agentp/certs