Installing datto RMM Linux Agent on CentOS 8 Linux Server

Subject: Installing datto RMM Linux Agent on CentOS 8 Linux Server


Good day from Singapore,


I am sharing this because datto RMM Linux Agent has a dependency on Mono. Without Mono, you cannot run the Linux agent at all.


Please take note of the following 3 articles.


Article 1: Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Link: https://stackoverflow.com/questions/70963985/error-failed-to-download-metadata-for-repo-appstream-cannot-prepare-internal


Article 2: How to Install Mono on CentOS 8

Link: https://linuxize.com/post/how-to-install-mono-on-centos-8/


Article 3: Installing or uninstalling the Linux Agent

Link: https://rmm.datto.com/help/de/Content/4WEBPORTAL/Devices/ServersLaptopsDesktops/Linux/InstallLinux.htm


I shall go into the detailed steps now.


When you try to install Mono, you may run into the following error:


Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist


To solve the above issue, run the following Linux commands.


# cd /etc/yum.repos.d/


# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*


# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*


Now, to install Mono on CentOS 8, run the following Linux commands.


# dnf config-manager --add-repo https://download.mono-project.com/repo/centos8-stable.repo


# sudo dnf install mono-complete 


To install datto RMM Linux agent on CentOS 8, run the following Linux commands.


# wget -O setup.sh https://syrah.centrastage.net/csm/profile/downloadLinuxAgent/<replace with your own code>


# chmod +x setup.sh


# ./setup.sh


That's all.


I hope the above information is useful to you. Please note that this guide only applies to RHEL-derivatives.


Thank you.


Regards,


Mr. Turritopsis Dohrnii Teo En Ming

Targeted Individual in Singapore

11 Oct 2023 Wednesday




REFERENCES

============


[1] https://github.com/mono/mono/issues/21715

Comments

Popular posts from this blog

How the Singapore Government cheated my family of a HDB flat (Draft 22 Aug 2023)

[DRAFT 26 SEP 2022] HDB refuses to reduce monthly rental fees of my rental flat despite many appeals