![](https://it-infrastructure.solutions/content/images/2022/06/image-211.png)
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
Prerequisites:
- root access permissions (on the Linux Maschine)
- Owner - / Contributer - or Azure Connected Machine Onboarding role
If you want to perform the installation on a larger scale, i.e. on multiple machines, then it is recommended to set up a service principal account, which then only gets the Azure Connected Machine Onboarding role.
I have already published a blog post about this (see link).
Deployment:
# Download the installation package.
wget https://aka.ms/azcmagent -O ~/Install_linux_azcmagent.sh
![](https://it-infrastructure.solutions/content/images/2022/06/image-212.png)
# Install the Azure Connected Machine agent.
bash ~/Install_linux_azcmagent.sh
![](https://it-infrastructure.solutions/content/images/2022/06/image-213.png)
azcmagent connect --resource-group "resourceGroupName" --tenant-id "tenantID" --location "regionName" --subscription-id "subscriptionID" --cloud "cloudName"
![](https://it-infrastructure.solutions/content/images/2022/06/image-220.png)
![](https://it-infrastructure.solutions/content/images/2022/06/image-215.png)
![](https://it-infrastructure.solutions/content/images/2022/06/image-216.png)
![](https://it-infrastructure.solutions/content/images/2022/06/image-218.png)
![](https://it-infrastructure.solutions/content/images/2022/06/image-219.png)
![](https://it-infrastructure.solutions/content/images/2022/06/image-221.png)
References:
https://it-infrastructure.solutions/onboarding-azure-arc-linux-debian/
Connect hybrid machines to Azure using a deployment script - Azure Arc
In this article, you learn how to install the agent and connect machines to Azure by using Azure Arc-enabled servers using the deployment script you create in the Azure portal.
![](https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png)
Security overview - Azure Arc
Security information about Azure Arc-enabled servers.
![](https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png)