Site Tools


meshagent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
meshagent [2025/02/27 21:40] – created Alan Sheameshagent [2025/03/29 05:01] (current) Alan Shea
Line 1: Line 1:
-temp +======Install MeshCentral Agent on XigmaNAS=== 
 +A script to install on FreeBSD in the correct group.  
 +  - Copy and paste the following lines into a console prompt (or SSH console):  
 +  - <code bash>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 </code> 
 +  - Execute the following line from the directory where ''meshinstall.sh'' was saved: \\ <code bash>./meshinstall.sh https://mesh.metatek.org '1mR@u1qo7SCq9Iv$f...Q8iBqwg'</code> 
 +  - In the XigmaNAS WebGUI, open //**System -> Advanced -> Command Scripts**// 
 +  - Add a new //PostInit// Script:  
 +  - Copy the output from ''pwd'' and add ''/meshagent &'' to force the agent to be executed on startup.  
 +    - For example: ''/zk/opt/usr/meshcentral/meshagent &'' 
 +  - 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 '5hDmSWVamDFDVK6JAP9QGoUlB1XmdjdaJfQX0EElCsRhgcGCJqERiokiiHztVZrY' || ./meshinstall.sh https://mesh.metatek.org '5hDmSWVamDFDVK6JAP9QGoUlB1XmdjdaJfQX0EElCsRhgcGCJqERiokiiHztVZrY'+\\ 
  
 +---- 
 +\\ 
  
 +''(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.1740692449.txt.gz · Last modified: 2025/02/27 21:40 by Alan Shea

Copyright © Alan Shea, 2011-2025