You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: defender-endpoint/linux-deploy-defender-for-endpoint-with-chef.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.collection:
15
15
ms.topic: conceptual
16
16
ms.subservice: linux
17
17
search.appverid: met150
18
-
ms.date: 12/20/2024
18
+
ms.date: 04/10/2025
19
19
---
20
20
21
21
# Deploy Defender for Endpoint on Linux with Chef
@@ -29,14 +29,16 @@ ms.date: 12/20/2024
29
29
30
30
## Introduction
31
31
32
-
This article talks about how to deploy Defender for Endpoint on Linux at scale with Chef using two methods:
32
+
You can deploy [Defender for Endpoint on Linux](microsoft-defender-endpoint-linux.md) by using various tools and methods. This article describes how to deploy Defender for Endpoint on Linux at scale with Chef using two methods:
33
33
34
-
1. Install using installer script
35
-
2. Manually configuring the repositories for more granular control over the deployment
34
+
- Install using installer script
35
+
- Manually configure the repositories for more granular control over the deployment
36
+
37
+
To use another method, refer to the [See also](#see-also) section.
36
38
37
39
## Prerequisites
38
40
39
-
For a description of prerequisites and system requirements, see [Microsoft Defender for Endpoint on Linux](/defender-endpoint/microsoft-defender-endpoint-linux).
41
+
Before you get started, see [Prerequisites for Defender for Endpoint on Linux](mde-linux-prerequisites.md) for a description of prerequisites and system requirements.
40
42
41
43
## Download the onboarding package
42
44
@@ -50,8 +52,6 @@ For a description of prerequisites and system requirements, see [Microsoft Defen
50
52
51
53
4. Extract the contents of the archive using the following command:
52
54
53
-
Command:
54
-
55
55
```
56
56
unzip WindowsDefenderATPOnboardingPackage.zip
57
57
```
@@ -81,9 +81,7 @@ mkdir mdatp/files
81
81
82
82
Copy `mdatp_onboard.json` to the `/tmp` folder.
83
83
84
-
On the Chef Workstation, navigate to the **mdatp/recipes** folder, which is automatically created when the cookbook is generated. Use your preferred text editor (like vi or nano) to add the following instructions to the end of the **default.rb** file then save and close the file:
85
-
86
-
- include_recipe '::install_mdatp'
84
+
On the Chef Workstation, navigate to the **mdatp/recipes** folder, which is automatically created when the cookbook is generated. Use your preferred text editor (like vi or nano) to add the following instructions to the end of the **default.rb** file, and then save and close the file: `include_recipe '::install_mdatp'`.
87
85
88
86
## Create a cookbook
89
87
@@ -183,7 +181,7 @@ file "#{mdatp}/mdatp_onboard.json" do
183
181
end
184
182
```
185
183
186
-
>[!NOTE]
184
+
>[!NOTE]
187
185
> You can modify the os distribution, distribution version number, channel (prod/insider-fast, insiders-slow) and repo name to match the version you're deploying to and the channel you'd like to deploy to. Run `chef-client --local-mode --runlist 'recipe[mdatp]'` to test the cookbook on the Chef workstation.
188
186
189
187
## Troubleshoot installation issues
@@ -236,4 +234,16 @@ end
236
234
237
235
To include this step as part of the recipe, add `include_recipe ':: uninstall_mdatp` to your `default.rb` file within the recipe folder. Ensure that you have removed the `include_recipe '::install_mdatp'` from the `default.rb` file.
238
236
237
+
## See also
238
+
239
+
- [Prerequisites for Microsoft Defender for Endpoint on Linux](mde-linux-prerequisites.md)
240
+
- [Use installer script based deployment to deploy Defender for Endpoint on Linux](linux-installer-script.md)
241
+
- [Deploy Defender for Endpoint on Linux with Ansible](linux-install-with-ansible.md)
242
+
- [Deploy Defender for Endpoint on Linux with Puppet](linux-install-with-puppet.md)
243
+
- [Deploy Defender for Endpoint on Linux with Saltstack](linux-install-with-saltack.md)
244
+
- [Deploy Defender for Endpoint on Linux manually](linux-install-manually.md)
245
+
- [Connect your non-Azure machines to Microsoft Defender for Cloud with Defender for Endpoint](/azure/defender-for-cloud/onboard-machines-with-defender-for-endpoint) (direct onboarding using Defender for Cloud)
246
+
- [Defender for Endpoint on Linux for ARM64-based devices (preview)](mde-linux-arm.md)
247
+
- [Deployment guidance for Defender for Endpoint on Linux for SAP](mde-linux-deployment-on-sap.md)
248
+
239
249
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
Copy file name to clipboardExpand all lines: defender-endpoint/linux-install-manually.md
+33-18Lines changed: 33 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.collection:
15
15
ms.topic: conceptual
16
16
ms.subservice: linux
17
17
search.appverid: met150
18
-
ms.date: 03/13/2025
18
+
ms.date: 04/10/2025
19
19
---
20
20
21
21
# Deploy Microsoft Defender for Endpoint on Linux manually
@@ -27,9 +27,13 @@ ms.date: 03/13/2025
27
27
- Microsoft Defender for Endpoint for servers
28
28
- Microsoft Defender for Servers Plan 1 or Plan 2
29
29
30
-
> Want to experience Defender for Endpoint? [Sign up for a free trial.](https://go.microsoft.com/fwlink/p/?linkid=2225630&clcid=0x409&culture=en-us&country=us)
30
+
> Want to experience Defender for Endpoint? [Sign up for a free trial.](https://go.microsoft.com/fwlink/p/?linkid=2225630&clcid=0x409&culture=&country=us)
31
31
32
-
This article describes how to deploy Microsoft Defender for Endpoint on Linux manually. A successful deployment requires the completion of all of the following tasks:
32
+
You can deploy [Defender for Endpoint on Linux](microsoft-defender-endpoint-linux.md) by using various tools and methods. This article describes how to deploy Defender for Endpoint on Linux manually. To use another method, refer to the [See also](#see-also) section.
33
+
34
+
## Manual deployment steps
35
+
36
+
A successful deployment requires the completion of all of the following tasks:
33
37
34
38
-[Prerequisites and system requirements](#prerequisites-and-system-requirements)
35
39
-[Configure the Linux software repository](#configure-the-linux-software-repository)
@@ -47,10 +51,10 @@ This article describes how to deploy Microsoft Defender for Endpoint on Linux ma
47
51
48
52
## Prerequisites and system requirements
49
53
50
-
Before you begin, see [Microsoft Defender for Endpoint on Linux](microsoft-defender-endpoint-linux.md) for a description of prerequisites and system requirements for the current software version.
54
+
Before you begin, see [Prerequisites for Defender for Endpoint on Linux](mde-linux-prerequisites.md) for a description of prerequisites and system requirements for the current software version.
51
55
52
56
> [!WARNING]
53
-
> Upgrading your operating system to a new major version after the product installation requires the product to be reinstalled. You need to [Uninstall](linux-resources.md#uninstall-defender-for-endpoint-on-linux) the existing Defender for Endpoint on Linux, upgrade the operating system, and then reconfigure Defender for Endpoint on Linux following the below steps.
57
+
> Upgrading your operating system to a new major version after the product installation requires the product to be reinstalled. You need to [Uninstall](linux-resources.md#uninstall-defender-for-endpoint-on-linux) the existing Defender for Endpoint on Linux application, upgrade the operating system, and then reconfigure Defender for Endpoint on Linux following the steps in this article.
54
58
55
59
## Configure the Linux software repository
56
60
@@ -104,7 +108,7 @@ In order to preview new features and provide early feedback, it's recommended th
Or if you wish to explore new features on selected devices, you might want to deploy Microsoft Defender for Endpoint on Linux to *insiders-fast* channel:
111
+
Or if you wish to explore new features on selected devices, you might want to deploy Defender for Endpoint on Linux to *insiders-fast* channel:
Or if you wish to explore new features on selected devices, you might want to deploy Microsoft Defender for Endpoint on Linux to *insiders-slow* channel. Use the following commands:
251
+
Or if you wish to explore new features on selected devices, you might want to deploy Defender for Endpoint on Linux to *insiders-slow* channel. Use the following commands:
248
252
249
253
```bash
250
254
sudo dnf install mariner-repos-extras-preview
@@ -393,7 +397,7 @@ Download the onboarding package from the [Microsoft Defender portal](https://sec
393
397
mdatp health --field org_id
394
398
```
395
399
396
-
1. Run one of the below scenarios.
400
+
1. Run one of the following commands, depending on your scenario:
397
401
398
402
> [!NOTE]
399
403
> To run this command, you must have `python` or `python3` installed on the device depending on the distro and version. If needed, see [Step-by-step Instructions for Installing Python on Linux](https://opensource.com/article/20/4/install-python-linux).
@@ -406,7 +410,7 @@ Download the onboarding package from the [Microsoft Defender portal](https://sec
@@ -477,7 +481,7 @@ Download the onboarding package from the [Microsoft Defender portal](https://sec
477
481
478
482
1. Look at the alert details, machine timeline, and perform your typical investigation steps.
479
483
480
-
## Microsoft Defender for Endpoint package external package dependencies
484
+
## Defender for Endpoint package external package dependencies
481
485
482
486
The following external package dependencies exist for the `mdatp` package:
483
487
@@ -534,14 +538,14 @@ For example, to change channel from Insiders-Fast to Production, do the followin
534
538
535
539
3. Reinstall Microsoft Defender for Endpoint on Linux using the `Production channel`, and onboard the device in the [Microsoft Defender portal](https://security.microsoft.com).
536
540
537
-
## How to configure policies for Microsoft Defender for Endpoint on Linux
541
+
## How to configure policies for Defender for Endpoint on Linux
538
542
539
-
You can configure antivirus and EDR settings on your endpoints. For more information, see the following articles:
543
+
To configure antivirus and EDR settings, see the following articles:
540
544
541
-
- [Set preferences for Microsoft Defender for Endpoint on Linux](/defender-endpoint/linux-preferences) describes the available settings
542
-
- [Security settings management](/mem/intune/protect/mde-security-integration) describes how to configure settings in the Microsoft Defender portal.
545
+
- [Defender for Endpoint security settings management](/mem/intune/protect/mde-security-integration) describes how to configure settings in the Microsoft Defender portal. (*This method is recommended*.)
546
+
- [Set preferences for Defender for Endpoint on Linux](/defender-endpoint/linux-preferences) describes settings you can configure.
543
547
544
-
## Uninstall Microsoft Defender for Endpoint on Linux
548
+
## Uninstall Defender for Endpoint on Linux
545
549
546
550
For manual uninstallation, execute the following command for your Linux distribution.
547
551
@@ -550,5 +554,16 @@ For manual uninstallation, execute the following command for your Linux distribu
550
554
- `sudo apt-get purge mdatp` for Ubuntu and Debian systems.
551
555
- `sudo dnf remove mdatp` for Mariner
552
556
557
+
## See also
558
+
559
+
- [Prerequisites for Defender for Endpoint on Linux](mde-linux-prerequisites.md)
560
+
- [Use installer script based deployment to deploy Defender for Endpoint on Linux](linux-installer-script.md)
561
+
- [Deploy Defender for Endpoint on Linux with Ansible](linux-install-with-ansible.md)
562
+
- [Deploy Defender for Endpoint on Linux with Chef](linux-deploy-defender-for-endpoint-with-chef.md)
563
+
- [Deploy Defender for Endpoint on Linux with Puppet](linux-install-with-puppet.md)
564
+
- [Deploy Defender for Endpoint on Linux with Saltstack](linux-install-with-saltack.md)
565
+
- [Connect your non-Azure machines to Defender for Cloud with Defender for Endpoint](/azure/defender-for-cloud/onboard-machines-with-defender-for-endpoint) (direct onboarding using Defender for Cloud)
566
+
- [Defender for Endpoint on Linux for ARM64-based devices (preview)](mde-linux-arm.md)
567
+
- [Deployment guidance for Defender for Endpoint on Linux for SAP](mde-linux-deployment-on-sap.md)
553
568
554
-
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
569
+
[!INCLUDE [Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
Copy file name to clipboardExpand all lines: defender-endpoint/linux-install-with-ansible.md
+27-13Lines changed: 27 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.collection:
15
15
ms.topic: conceptual
16
16
ms.subservice: linux
17
17
search.appverid: met150
18
-
ms.date: 03/13/2025
18
+
ms.date: 04/10/2025
19
19
---
20
20
21
21
# Deploy Microsoft Defender for Endpoint on Linux with Ansible
@@ -29,7 +29,9 @@ ms.date: 03/13/2025
29
29
30
30
> Want to experience Defender for Endpoint? [Sign up for a free trial.](https://go.microsoft.com/fwlink/p/?linkid=2225630)
31
31
32
-
This article describes how to deploy Defender for Endpoint on Linux using Ansible. A successful deployment requires the completion of all of the following tasks:
32
+
You can deploy [Defender for Endpoint on Linux](microsoft-defender-endpoint-linux.md) by using a variety of tools and methods. This article describes how to deploy Defender for Endpoint on Linux using Ansible. To use another method, refer to the [See also](#see-also) section.
33
+
34
+
A successful deployment requires the completion of all of the following tasks:
33
35
34
36
-[Prerequisites and system requirements](#prerequisites-and-system-requirements-applicable-to-both-the-methods)
35
37
-[Download the onboarding package](#download-the-onboarding-package-applicable-to-both-the-methods)
@@ -48,7 +50,7 @@ Deploy Microsoft Defender for Endpoint on Linux Servers using Ansible to automat
48
50
49
51
## Prerequisites and system requirements applicable to both the methods
50
52
51
-
Before you get started, see [the main Defender for Endpoint on Linux page](microsoft-defender-endpoint-linux.md) for a description of prerequisites and system requirements.
53
+
Before you get started, see [Prerequisites for Defender for Endpoint on Linux](mde-linux-prerequisites.md) for a description of prerequisites and system requirements.
52
54
53
55
In addition, for Ansible deployment, you need to be familiar with Ansible administration tasks, have Ansible configured, and know how to deploy playbooks and tasks. Ansible has many ways to complete the same task. These instructions assume availability of supported Ansible modules, such as *apt* and *unarchive* to help deploy the package. Your organization might use a different workflow. For more information, see [Ansible documentation](https://docs.ansible.com).
54
56
@@ -455,21 +457,33 @@ To get support from Microsoft, open a support ticket, and provide the log files
455
457
456
458
## How to configure policies for Microsoft Defender on Linux
457
459
458
-
You can configure antivirus or EDR settings on your endpoints using following methods:
459
-
460
-
- See [Set preferences for Microsoft Defender for Endpoint on Linux](/defender-endpoint/linux-preferences).
461
-
- See [security settings management](/mem/intune/protect/mde-security-integration) to configure settings in the Microsoft Defender portal.
462
-
460
+
- [Defender for Endpoint security settings management](/mem/intune/protect/mde-security-integration) describes how to configure settings in the Microsoft Defender portal. (*This method is recommended*.)
461
+
- [Set preferences for Defender for Endpoint on Linux](/defender-endpoint/linux-preferences) describes settings you can configure.
462
+
463
463
## Operating system upgrades
464
464
465
465
When upgrading your operating system to a new major version, you must first uninstall Defender for Endpoint on Linux, install the upgrade, and finally reconfigure Defender for Endpoint on Linux on your device.
466
466
467
467
## See also
468
468
469
-
- [Add or remove YUM repositories](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_repository_module.html)
470
-
- [Manage packages with the dnf package manager](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/dnf_module.html)
471
-
- [Add and remove APT repositories](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_repository_module.html)
- [Prerequisites for Microsoft Defender for Endpoint on Linux](mde-linux-prerequisites.md)
478
+
479
+
- Other deployment methods:
480
+
- [Use installer script based deployment to deploy Defender for Endpoint on Linux](linux-installer-script.md)
481
+
- [Deploy Defender for Endpoint on Linux with Chef](linux-deploy-defender-for-endpoint-with-chef.md)
482
+
- [Deploy Defender for Endpoint on Linux with Puppet](linux-install-with-puppet.md)
483
+
- [Deploy Defender for Endpoint on Linux with Saltstack](linux-install-with-saltack.md)
484
+
- [Deploy Defender for Endpoint on Linux manually](linux-install-manually.md)
485
+
- [Connect your non-Azure machines to Microsoft Defender for Cloud with Defender for Endpoint](/azure/defender-for-cloud/onboard-machines-with-defender-for-endpoint) (direct onboarding using Defender for Cloud)
486
+
- [Defender for Endpoint on Linux for ARM64-based devices (preview)](mde-linux-arm.md)
487
+
- [Deployment guidance for Defender for Endpoint on Linux for SAP](mde-linux-deployment-on-sap.md)
474
488
475
489
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
0 commit comments