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/19 16:10] Alan Sheameshagent [2025/03/29 05:01] (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 /+  - <code bash>cd /zk 
 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 'yBBLG4ieeZJlUrQ2BWxilERAhA35M8tWQZ2mVzBT7K6rPPWTt3dyIUrFKDMiNqyO'</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**//   - 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: ''/z/opt/usr/meshcentral/meshagent &''+    - For example: ''/zk/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 'yBBLG4ieeZJlUrQ2BWxilERAhA35M8tWQZ2mVzBT7K6rPPWTt3dyIUrFKDMiNqyO' || ./meshinstall.sh https://mesh.metatek.org 'yBBLG4ieeZJlUrQ2BWxilERAhA35M8tWQZ2mVzBT7K6rPPWTt3dyIUrFKDMiNqyO')''+''(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.1742400642.txt.gz · Last modified: 2025/03/19 16:10 by Alan Shea

Copyright © Alan Shea, 2011-2025