Site Tools


meshagent

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
meshagent [2025/03/25 15:49] Alan Sheameshagent [2025/06/09 17:50] (current) Alan Shea
Line 2: Line 2:
 A script to install on FreeBSD in the correct group.  A script to install on FreeBSD in the correct group. 
   - Copy and paste the following lines into a console prompt (or SSH console):    - Copy and paste the following lines into a console prompt (or SSH console): 
-  - <code bash>cd /zk +  - <code bash>cd /
 mkdir -p opt/usr/meshcentral && cd opt/usr/meshcentral mkdir -p opt/usr/meshcentral && cd opt/usr/meshcentral
-fetch https://www.metatek.org/meshcentral/metatek.sh -o metatek.sh && chmod 755 ./metatek.sh && ./metatek.sh</code> +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 'yBBLG...WTt3dyIUrFKDMiNqyO'</code>+  - Execute the following line from the directory where ''meshinstall.sh'' was saved: \\ <code bash>./meshinstall.sh https://mesh.metatek.org '5hDmSWVamDFDVK6JAP9QGoUlB1XmdjdaJfQX0EElCsRhgcGCJqERiokiiHztVZrY'</code>
   - In the XigmaNAS WebGUI, open //**System -> Advanced -> Command Scripts**//   - In the XigmaNAS WebGUI, open //**System -> Advanced -> Command Scripts**//
   - Add a new //PostInit// Script:    - Add a new //PostInit// Script: 
   - Copy the output from ''pwd'' and add ''/meshagent &'' to force the agent to be executed on startup.    - Copy the output from ''pwd'' and add ''/meshagent &'' to force the agent to be executed on startup. 
-    - For example: ''/zk/opt/usr/meshcentral/meshagent &''+    - For example: ''/z/opt/usr/meshcentral/meshagent &''
   - Save and apply.    - Save and apply. 
  
Line 17: Line 17:
 \\  \\ 
  
-''(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')''+ 
 +''(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' ''
meshagent.1742917784.txt.gz · Last modified: 2025/03/25 15:49 by Alan Shea

Copyright © Alan Shea, 2011-2025