Site Tools


meshagent

This is an old revision of the document!


Install MeshCentral Agent on XigmaNAS

A script to install on FreeBSD in the correct group.

  1. Copy and paste the following lines into a console prompt (or SSH console):
  2. cd /zk 
    mkdir -p opt/usr/meshcentral && cd opt/usr/meshcentral
    fetch https://www.metatek.org/meshcentral/metatek.sh -o meshinstall.sh && chmod 755 ./meshinstall.sh 
  3. Execute the following line from the directory where meshinstall.sh was saved:
    ./meshinstall.sh https://mesh.metatek.org '1mR@u1qo7SCq9Iv$fCDu9gM6rMl@1Ykk0BfzT9OCTzPNPj9wH7OeWpok$Q8iBqwg'
  4. In the XigmaNAS WebGUI, open System → Advanced → Command Scripts
  5. Add a new PostInit Script:
  6. Copy the output from pwd and add /meshagent & to force the agent to be executed on startup.
    1. For example: /zk/opt/usr/meshcentral/meshagent &
  7. Save and apply.




(wget “https://mesh.metatek.org/meshagents?script=1” -O ./meshinstall.sh || wget “https://mesh.metatek.org/meshagents?script=1” –no-proxy -O ./meshinstall.sh) && chmod 755 ./meshinstall.sh && sudo -E ./meshinstall.sh https://mesh.metatek.org 'yBBLG4ie…iNqyO' || ./meshinstall.sh https://mesh.metatek.org 'yBBL…iNqyO')

meshagent.1743224341.txt.gz · Last modified: 2025/03/29 04:59 by Alan Shea

Copyright © Alan Shea, 2011-2025