Installing the FortiDLP Agent on Linux
You can install the FortiDLP Agent on Linux devices running Red Hat or CentOS by using the RPM installer, or on Linux devices running Ubuntu by using the DEB installer. These installation packages are available for download from the Next DLP Support Portal or the FortiDLP Console's Agent deployment tab.
You must install the FortiDLP Agent on each device you want to monitor.
How to install the FortiDLP Agent on Red Hat
- Open a command-line interface with root privileges.
- Run the command
yum update -y
. - Install the dependencies:
- Run the command
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
. - Run the command
yum install "kernel-devel-uname-r == $(uname -r)"
. - Run the command
yum install --enablerepo=epel dkms
.
- Run the command
- Install the Agent by running the command
rpm -Uvh agent-rpm.rpm
.
You may need to reboot the device if there is a kernel change. |
The installation will complete within 1–10 minutes, depending on the number of active kernel versions on the device. The output displayed during this period will indicate the installation progress.
When the installation succeeds, proceed to Enrolling the FortiDLP Agent on Linux.
How to install the FortiDLP Agent on Ubuntu w/Secure Boot disabled
These instructions should be followed if Secure Boot is disabled on the device. To verify if Secure Boot is disabled, run the command |
- Open a command-line interface with root privileges.
- Run the command
apt-get update
. - Upgrade your system by running the command
apt-get upgrade -y
. - Install the dependencies by running the command
apt install ./agent-deb.deb
. - Install the Agent by running the command
apt-get install -y ./agent-deb.deb
.
You may need to reboot the device if there is a kernel change. |
The installation will complete within 1–10 minutes, depending on the number of active kernel versions on the device. The output displayed during this period will indicate the installation progress.
When the installation succeeds, proceed to Enrolling the FortiDLP Agent on Linux.
How to install the FortiDLP Agent on Ubuntu w/Secure Boot enabled
These instructions should be followed if Secure Boot is enabled on the device. To verify if Secure Boot is enabled, run the command |
- Open a command-line interface with root privileges.
- Verify if DKMS is installed by running the command
dkms status
.- If
Command 'dkms' not found
is shown in the message output, DKMS is not installed. To install it, run the commandapt install dkms
.
- If
- Verify if the kernel headers are installed:
- To view the current kernel version, run the command
uname -r
. - To check if kernel headers are installed for this current kernel version, run the command
apt list linux-headers-$(uname -r)
.- If the message output does not include
[installed, local]
, kernel headers are not installed. To install them, run the commandapt-get install linux-headers-$(uname -r)
.
- If the message output does not include
- To view the current kernel version, run the command
- Run the command
apt-get update
. - Upgrade your system by running
apt-get upgrade -y
. - Navigate to the directory the DEB installer was downloaded to.
- Install the dependencies by running the command
apt install ./agent-deb.deb
.
The installation will complete within 1–10 minutes, depending on the number of active kernel versions on the device. The output displayed during this period will indicate the installation progress. - In the Configuring Secure Boot dialog box:
- Select
OK
. - Enter a password.
- Select
OK
. - Re-enter the password.
- Select
OK
.
- Select
- Reboot the device.
- In the Perform MOK management dialog box:
- Press any key.
- Select
Enroll MOK
. - Select
Continue
. - Select
Yes
. - Enter your password from step 8b.
- Select
Reboot
.
You may need to reboot the device if there is a kernel change. |
When the installation succeeds, proceed to Enrolling the FortiDLP Agent on Linux.