|
EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
|

Before beginning the installation, ensure Node.js and NPM (Node Package Manager) are installed on your host operating system.
If your server is behind an HTTP/HTTPS proxy, you may need to configure NPM's proxy settings.
Open your command-line terminal (CMD/PowerShell on Windows, or Shell on Linux) and run the following commands to check the installed versions:
If your server requires a proxy to access the internet, you must set the proxy configurations for NPM. Skip this step if not needed.
Create a dedicated directory for the installation, change into it, and use NPM to install the MeshCentral package.
Recommendation: On Linux, use the /opt directory.
⚠️ Important: Do not use sudo when executing the npm install meshcentral command.
Once the download is complete, start the MeshCentral server.
⚠️ Crucial: Do not cd into the node_modules/meshcentral directory to run the server. Running it from the directory above node_modules is required for features like auto-install and self-update to function correctly.
LAN-Only Mode: If you run the command without arguments, MeshCentral will default to LAN-only mode, meaning you can only manage computers on the local network.
To manage computers over the internet (WAN or Hybrid Mode), your server needs a static IP or a DNS record that resolves to its public address. This is how remote mesh agents "call home."
While command-line parameters exist, it's highly recommended to use a configuration file for persistent settings.
Here are examples of starting the server and generating initial certificates for a public address:
Note: The first time you run in WAN or Hybrid Mode, MeshCentral will generate necessary certificates, which may take a few minutes.
Once running, immediately create your admin account by navigating to https://127.0.0.1 (or your public hostname) in a web browser.