This tutorial will guide you through the process of installing NetXMS on Debian.
Before installing any package, It's always a good practice to ensure that your system is up-to-date. To achieve that, run the command below in your terminal:
sudo apt update && sudo apt upgrade
NetXMS requires some dependencies to be installed on your system before proceeding. Run the following command to install them:
sudo apt install libssl1.1 libxml2 libwxgtk3.0-gtk3-0v5 libgtk-3-0 libstdc++6 libtinfo6 curl
The recommended approach to downloading NetXMS is via the official downloads page. It's always recommended to get the latest stable version. You can download it via the command below:
wget https://www.netxms.org/download/releases/latest/stable/netxms-3.9.166.tar.gz
Once the download is completed, extract the archive to /opt
directory.
sudo tar -zxvf netxms-3.9.166.tar.gz -C /opt/
NetXMS comes with a sample configuration file. You should edit this file to suit your needs. It is located in /opt/netxms-3.9.166/etc/netxmsd.conf
.
sudo nano /opt/netxms-3.9.166/etc/netxmsd.conf
Update the file with your preferred configuration settings, then save and exit.
To start the NetXMS server, navigate to the installation directory and run the following command:
sudo /opt/netxms-3.9.166/bin/nxagent start
To check the status of NetXMS Server, run:
sudo /opt/netxms-3.9.166/bin/nxagent status
You should see something similar to:
NX Agent for Linux (x64), version 3.9.166
Copyright (C) 2003-2021 NetXMS Team
Released under GNU General Public License, version 2
{"DateTime":"2021-06-02 16:01:19 UTC","NxHostName":"localhost","Status":"Runnning","Uptime":"0d 0h 0m 4s"}uname -a : Linux localhost 5.10.0-7-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64 GNU/Linux
If you have the firewall enabled on your server, you need to allow incoming connections on port 4700:
sudo ufw allow 4700/tcp comment 'NetXMS'
Open your web browser and visit the following URL: http://your_server_ip:4701
(replace your_server_ip
with the IP address of your server). You should see the NetXMS login page.
You have successfully installed NetXMS on your Debian machine. NetXMS is an enterprise-grade management solution designed to help you monitor your network, applications, and systems. To learn more about using NetXMS, you can visit their official website.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!