Install on Linux
Install the Webserver first, then the Integrator, Monitor, and optional Sentinel Agent. Run the setup commands as root; the services run as the non-root account mugnsoft (version 4.3.0 or later).
For a first installation, the three required components can share one host: the Webserver provides the web interface, the Integrator handles notifications and data, and the Monitor runs checks. Sentinel Agent is optional and discovers a host’s processes and connections.
This page is for a new installation. Do not overwrite an existing component folder or service; for an upgrade, follow the release notes.
Check with systemctl list-unit-files 'Mugnsoft*' first: if Mugnsoft services already exist, use that installation or a clean test host.
1. Prerequisites
- Linux x86-64 with systemd 229 or later: see requirements.
- Obtain a
license_MNS.datfile from Mugnsoft for each Webserver and Integrator host. It is not included in the packages. If your license covers both components on the same host, copy it into both folders. Monitor and Sentinel do not need license files. - Connect as root (
sudo -i). On each host, installwget,tar,gnupgandnano(Debian/Ubuntu:apt-get update && apt-get install -y wget tar gnupg nano; RHEL/Rocky/Alma:dnf install -y wget tar gnupg2 nano). - Prefer a dedicated filesystem for /app, mounted with execution allowed.
mkdir -p /app/mugnsoft
id mugnsoft >/dev/null 2>&1 || \
useradd --system --user-group --home-dir /home/mugnsoft \
--create-home --shell /usr/sbin/nologin mugnsoft
chmod 700 /home/mugnsoft
Linux licensing: an IP-bound license is not sufficient. For a legacy license, give Mugnsoft the output of cat /etc/machine-id; for a hardware-fingerprint license, ask Mugnsoft for its fingerprint tool and instructions. Do not continue with a missing or rejected license.
Network
Open the Webserver ports before step 3, and each component’s port before installing it. On corporate or cloud networks, also ask for any intervening firewall rules.
Allow these TCP flows through the firewalls; the installer does not change them.
| From | To | Port |
|---|---|---|
| Browsers | Webserver | Chosen web port: 443 |
| Components | Webserver | Chosen API port: 8050 |
| Webserver | Integrator / Monitor / Sentinel | 8060 / 8072 / 8078, or their configured port |
| Monitor and Sentinel | Integrator | 8060, or its configured port |
The Webserver must reach each component’s registered address. On hosts with several interfaces, check that address in Settings → Components before enabling it.
Use only the commands for your existing firewall. Substitute your ports if changed; open 8060 on the Integrator host, 8072 on the Monitor host, and 8078 on the Sentinel host. Do not enable a new firewall as part of this procedure.
# firewalld (RHEL / Rocky / AlmaLinux): Webserver
firewall-cmd --permanent --add-port=443/tcp --add-port=8050/tcp
firewall-cmd --reload
Ubuntu with an already active UFW firewall:
ufw allow 443/tcp
ufw allow 8050/tcp
2. Download the component
Choose a component and enter the published version you want. Replace angle-bracket placeholders before running the commands. Sentinel uses the discovery_agent package. Repeat on each host.
Use the release number supplied by Mugnsoft (for example 4.3.0, without a v prefix). Start with Webserver selected. Later, return here to download each remaining component. On another host, repeat the prerequisites first. Run the blocks in order and stop if any command fails.
Replace angle-bracket placeholders before running the commands.
Download and verify
Expected result: Good signature from "Mugnsoft ...", then a component folder under /app/mugnsoft. The warning This key is not certified with a trusted signature is expected for a newly imported key; BAD signature or a download error means stop. The signing key of the verified 4.3.0 packages has fingerprint 65F8 B880 F8CC 9DCF D2C8 4887 8FEE 1578 1BEF 9B7A; check with Mugnsoft if it differs.
3. Install the Webserver first
Enter the Webserver host’s IP address or DNS name below, as reached by the other hosts (Windows: ipconfig; Linux: hostname -I). Do not include https:// or a port in this field. Do not use localhost for components installed on other hosts. Web port 443 is for your browser; API port 8050 is for components. Keep these ports if they are free.
Replace the source path below with the actual location of the license you received, keeping the destination filename unchanged:
cp '<path-to-license_MNS.dat>' /app/mugnsoft/webserver/license_MNS.dat
nano /app/mugnsoft/webserver/webserver.json
In nano, change only the PortWEB and PortAPI values to your chosen ports (443 and 8050 by default), keeping the JSON quotes and commas. Leave _sharedInternal unchanged. Save with Ctrl+O, Enter, then exit with Ctrl+X. The comments in the commands below remind you of the ports; they do not edit the file.
Replace angle-bracket placeholders before running the commands.
Install and start
Web address:
The final check must print active. Also run systemctl status MugnsoftWebserver --no-pager: the service must remain active (running).
The initial HTTPS certificate may be self-signed, so the browser can show a warning before login. Verify that this is your own server and have your administrator approve its certificate, or install a trusted certificate; see TLS. This warning does not by itself mean installation failed.
Open the displayed web address, sign in with admin / admin, and change the password. Start the guided tour from the welcome screen.
Click LET’S GO — GUIDE ME THROUGH IT (or its translated label). If the welcome window is closed, use Guided Tour on the Applications page while no application exists. The SMTP step configures email delivery; obtain its values from your mail administrator if you want email notifications.
For an initial check without email, leave SMTP disabled and go directly to the robot button on Components to continue. The tour banner may remain on SMTP until that step is configured.
4. Connect the other components
Screenshots show the English Web UI, which is the same on Linux and Windows. Use your own names, addresses and ports; screenshot values are examples.
In the tour, Probe means Monitor. Use this page’s installation commands: the executable is monitor on Linux and monitor.exe on Windows. The Linux commands below use the non-root account.
Install the Integrator first, then the Monitor, and finally the Sentinel Agent if required.
For each component, in this order:
- Return to step 2, select that component, and download its package on the host where it will run.
- In the tour, click Show me → to open Components, then the robot / Build config file button. Choose Integrator, Probe (Monitor), or Sentinel Agent. Give it a unique name without spaces; for your first installation, keep its default port.
- Click Generate config, then Download config. Copy this file from your browser’s Downloads folder into the extracted component folder, replacing the packaged JSON. Keep the exact filename:
integrator.json,monitor.json, ordiscovery_agent.json, without a(1)or.txtsuffix. - For Integrator, also copy the license authorized for that host into its folder as
license_MNS.dat. Monitor and Sentinel need no license file. - Select the same component below, check the Webserver address and API port, then run the commands on the component host.
If your browser is on another computer, transfer the JSON using SCP or SFTP to the component host, then copy it into the component folder with administrator rights. Do not leave it only on your workstation.
Destination folders: /app/mugnsoft/integrator, /app/mugnsoft/monitor, /app/mugnsoft/discovery_agent.
Replace <component> with integrator, monitor, or discovery_agent, and the source paths with your actual downloaded files:
cp '<path-to-downloaded-json>' '/app/mugnsoft/<component>/<component>.json'
# Integrator only
cp '<path-to-integrator-license_MNS.dat>' /app/mugnsoft/integrator/license_MNS.dat
The file contains the Webserver’s _sharedInternal secret: keep it private.
For notification links, open integrator.json with nano and add or update "webserverUrl": "https://<webserver_ip>:<web_port>" before installation, keeping the JSON commas valid.
Replace angle-bracket placeholders before running the commands.
Install and start
Once the service is running, return to Components, right-click the new component, and choose Enable server. Confirm the success message before moving to the next component. If it is missing, first check the installation output and API connectivity.
--run-as mugnsoft and ensure RunUser is empty in the JSON. Preparation and installation require root in both cases. To migrate an existing service, see Run as a non-root user.
If a step fails
| Symptom | What to check |
|---|---|
| Download returns 404 | Check the version supplied by Mugnsoft, without v, and the selected component. |
| Missing or rejected license | Check license_MNS.dat in the component folder and request a license for that host; on Linux, include /etc/machine-id. |
| Service stops or web address does not respond | Check the license, occupied ports, and the logs below. |
| Component does not register | Check the downloaded JSON, matching _sharedInternal, and connectivity to the Webserver API address. |
| Component registers but cannot be enabled | Check that the Webserver can reach the component IP and port; correct the address in Components → Edit server. |
systemctl status MugnsoftWebserver --no-pager
journalctl -u MugnsoftWebserver -n 50 --no-pager
tail -n 50 /app/mugnsoft/webserver/log/webserver.log
For another component, replace webserver and MugnsoftWebserver with integrator / MugnsoftIntegrator, monitor / MugnsoftMonitor, or discovery_agent / MugnsoftDiscoveryAgent.