Skip to content

Commit 27bf69f

Browse files
Update linux-installer-script.md
1 parent fb87875 commit 27bf69f

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

defender-endpoint/linux-installer-script.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,20 @@ Before you get started, see [Prerequisites for Defender for Endpoint on Linux](m
8080
8181
4. Execute the installer script and provide the onboarding package as a parameter to install the agent and onboard the device to the Defender portal.
8282
83-
```bash
84-
sudo ./mde_installer.sh --install --onboard ./MicrosoftDefenderATPOnboardingLinuxServer.py --channel prod --min_req
85-
```
86-
87-
This command deploys the latest agent version to the production channel, check for min system requisites and onboard the device to Defender Portal.
83+
1. Default Path Installation
84+
85+
The default installation location is `/`
86+
```bash
87+
sudo ./mde_installer.sh --install --onboard ./MicrosoftDefenderATPOnboardingLinuxServer.py --channel prod --min_req
88+
```
89+
3. Custom Path Installation
90+
91+
For installation at a custom location, provide the custom installation path - <custom_path>, as a parameter.
92+
```bash
93+
sudo ./mde_installer.sh --install --onboard ./MicrosoftDefenderATPOnboardingLinuxServer.py --channel prod --min_req --install-path <custom_path>
94+
```
95+
96+
These commands deploy the latest agent version to the production channel, check for min system requisites and onboard the device to Defender Portal.
8897
8998
Additionally you can pass more parameter based on your requirements to modify the installation. Check help for all the available options:
9099
@@ -116,6 +125,7 @@ Before you get started, see [Prerequisites for Defender for Endpoint on Linux](m
116125
--https-proxy <URL> set https proxy
117126
--ftp-proxy <URL> set ftp proxy
118127
--mdatp specific version of mde to be installed. will use the latest if not provided
128+
-b|--install-path specify the installation and configuration path for MDE. Default: /
119129
-h|--help display help
120130
```
121131
@@ -128,7 +138,10 @@ Before you get started, see [Prerequisites for Defender for Endpoint on Linux](m
128138
|Uninstall agent | `sudo ./mde_installer.sh --remove` |
129139
130140
> [!NOTE]
131-
> Upgrading your operating system to a new major version after the product installation requires the product to be reinstalled. You need to uninstall the existing Defender for Endpoint on Linux, upgrade the operating system, and then reconfigure Defender for Endpoint on Linux.
141+
>
142+
> 1. Upgrading your operating system to a new major version after the product installation requires the product to be reinstalled. You need to uninstall the existing Defender for Endpoint on Linux, upgrade the operating system, and then reconfigure Defender for Endpoint on Linux.
143+
>
144+
> 2. Installation path cannot be changed during upgrade. If MDE is installed in the default path, upgrading to a custom path is not supported. This will be considered as "migration", which is not supported. For migration, either from default to custom path or custom to default path, uninstall MDE.
132145
133146
## Verify deployment status
134147

0 commit comments

Comments
 (0)