Install MeshCentral - Remote Management Site - on Linux
#MeshCentral #HomeLab #Linux
Full steps can be found at https://i12bretro.github.io/tutorials...
--------------------------------------------------------------------
What is MeshCentral?
--------------------------------------------------------------------
MeshCentral is a full computer management web site. With MeshCentral, you can run your own web server to remotely manage and control computers on a local network or anywhere on the internet. - https://github.com/Ylianst/MeshCentral
--------------------------------------------------------------------
Installing NodeJS
--------------------------------------------------------------------
01. Log into the Linux device
02. Run the following commands in a terminal window
add nodejs software repository
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
install nodejs
sudo apt install nodejs -y
test node is working
node -v
test npm is working
npm -v
--------------------------------------------------------------------
Installing MeshCentral
--------------------------------------------------------------------
01. Continue with the following commands:
create a meshcentral folder
sudo mkdir /usr/local/bin/meshcentral
change to the new directory
cd /usr/local/bin/meshcentral
install meshcentral
sudo npm install meshcentral
create a service file
sudo nano /etc/systemd/system/meshcentral.service
02. Paste the following configuration
[Unit]
Description=MeshCentral Server
[Service]
Type=simple
LimitNOFILE=1000000
ExecStart=/usr/bin/node /usr/local/bin/meshcentral/node_modules/meshcentral
WorkingDirectory=/usr/local/bin/meshcentral
Environment=NODE_ENV=production
Restart=always
Restart service after 10 seconds if node service crashes
RestartSec=10
Set port permissions capability
AmbientCapabilities=cap_net_bind_service
[Install]
WantedBy=multi-user.target
03. Press CTRL+O, Enter, CTRL+X to write the changes
04. Continue with the following commands
reload services
sudo systemctl daemon-reload
start and enable meshcentral service
sudo systemctl enable meshcentral.service --now
05. Open a web browser and navigate to https://DNSorIP
06. Accept the certificate warning
07. Click the link to create an account
08. Complete the form by entering an username, email and password ≫ Click Create Account
09. Welcome to MeshCentral
Source: https://meshcentral.com/docs/MeshCent...
Connect with me and others ###
★ Discord: / discord
★ Reddit: / i12bretro
★ Twitter: / i12bretro