Merge pull request #6159 from konstruktoid/installationmanual

update linux-install-manually.md
This commit is contained in:
Denise Vangel-MSFT 2020-03-04 09:27:18 -08:00 committed by GitHub
commit cf737151f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
--- ---
title: Deploy Microsoft Defender ATP for Linux manually title: Deploy Microsoft Defender ATP for Linux manually
ms.reviewer: ms.reviewer:
description: Describes how to deploy Microsoft Defender ATP for Linux manually from the command line. description: Describes how to deploy Microsoft Defender ATP for Linux manually from the command line.
keywords: microsoft, defender, atp, linux, installation, deploy, uninstallation, puppet, ansible, linux, redhat, ubuntu, debian, sles, suse, centos keywords: microsoft, defender, atp, linux, installation, deploy, uninstallation, puppet, ansible, linux, redhat, ubuntu, debian, sles, suse, centos
search.product: eADQiWindows 10XVcnh search.product: eADQiWindows 10XVcnh
@ -14,7 +14,7 @@ author: dansimp
ms.localizationpriority: medium ms.localizationpriority: medium
manager: dansimp manager: dansimp
audience: ITPro audience: ITPro
ms.collection: M365-security-compliance ms.collection: M365-security-compliance
ms.topic: conceptual ms.topic: conceptual
--- ---
@ -53,13 +53,13 @@ In order to preview new features and provide early feedback, it is recommended t
> In case of Oracle EL and CentOS 8, replace *[distro]* with “rhel”. > In case of Oracle EL and CentOS 8, replace *[distro]* with “rhel”.
```bash ```bash
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/[distro]/[version]/[channel].repo sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
``` ```
For example, if you are running CentOS 7 and wish to deploy MDATP for Linux from the *insider-fast* channel: For example, if you are running CentOS 7 and wish to deploy MDATP for Linux from the *insider-fast* channel:
```bash ```bash
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/centos/7/insiders-fast.repo sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/centos/7/insiders-fast.repo
``` ```
- Install the Microsoft GPG public key: - Install the Microsoft GPG public key:
@ -67,12 +67,18 @@ In order to preview new features and provide early feedback, it is recommended t
```bash ```bash
curl https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc curl https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
``` ```
```bash ```bash
sudo rpm --import microsoft.asc sudo rpm --import microsoft.asc
``` ```
- Download and make usable all the metadata for the currently enabled yum repositories: - Install `yum-utils` if it is not already installed:
```bash
sudo yum install yum-utils
```
- Download and make usable all the metadata for the currently enabled yum repositories:
```bash ```bash
yum makecache yum makecache
@ -85,10 +91,10 @@ In order to preview new features and provide early feedback, it is recommended t
In the following commands, replace *[distro]* and *[version]* with the information you've identified: In the following commands, replace *[distro]* and *[version]* with the information you've identified:
```bash ```bash
sudo zypper addrepo -c -f -n microsoft-[channel] https://packages.microsoft.com/config/[distro]/[version]/[channel].repo sudo zypper addrepo -c -f -n microsoft-[channel] https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
``` ```
For example, if you are running SLES 12 and wish to deploy MDATP for Linux from the *insider-fast* channel: For example, if you are running SLES 12 and wish to deploy MDATP for Linux from the *insider-fast* channel:
```bash ```bash
sudo zypper addrepo -c -f -n microsoft-insiders-fast https://packages.microsoft.com/config/sles/12/insiders-fast.repo sudo zypper addrepo -c -f -n microsoft-insiders-fast https://packages.microsoft.com/config/sles/12/insiders-fast.repo
@ -99,7 +105,7 @@ In order to preview new features and provide early feedback, it is recommended t
```bash ```bash
curl https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc curl https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
``` ```
```bash ```bash
rpm --import microsoft.asc rpm --import microsoft.asc
``` ```
@ -112,6 +118,12 @@ In order to preview new features and provide early feedback, it is recommended t
sudo apt-get install curl sudo apt-get install curl
``` ```
- Install `libplist-utils` if it is not already installed:
```bash
sudo apt-get install libplist-utils
```
- Note your distribution and version, and identify the closest entry for it under `https://packages.microsoft.com/config`. - Note your distribution and version, and identify the closest entry for it under `https://packages.microsoft.com/config`.
In the below command, replace *[distro]* and *[version]* with the information you've identified: In the below command, replace *[distro]* and *[version]* with the information you've identified:
@ -123,7 +135,7 @@ In order to preview new features and provide early feedback, it is recommended t
For example, if you are running Ubuntu 18.04 and wish to deploy MDATP for Linux from the *insider-fast* channel: For example, if you are running Ubuntu 18.04 and wish to deploy MDATP for Linux from the *insider-fast* channel:
```bash ```bash
curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/18.04/insiders-fast.list curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/18.04/insiders-fast.list
``` ```
- Install the repository configuration: - Install the repository configuration:
@ -141,12 +153,7 @@ In order to preview new features and provide early feedback, it is recommended t
- Install the Microsoft GPG public key: - Install the Microsoft GPG public key:
```bash ```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
```
```bash
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/
``` ```
- Install the https driver if it's not already present: - Install the https driver if it's not already present:
@ -193,7 +200,7 @@ Download the onboarding package from Microsoft Defender Security Center:
4. From a command prompt, verify that you have the file. 4. From a command prompt, verify that you have the file.
Extract the contents of the archive: Extract the contents of the archive:
```bash ```bash
ls -l ls -l
total 8 total 8