installing netdata

installing netdata

In this prompt I will tell you how to install netdata on you're ubuntu machine.

firstly, install netdata via the official repository:

sudo apt install curl gnupg2 lsb-release -y
curl -fsSL https://packagecloud.io/netdata/netdata/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/netdata-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/netdata-archive-keyring.gpg] https://packagecloud.io/netdata/netdata/ubuntu/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/netdata.list
sudo apt update
sudo apt install netdata -y

After that, start the service:

sudo systemctl enable --now netdata

If everything works correctly, you can open it in you're browser via http://<server-ip>:19999

If it still doesnt work, you also need to allow it in the firewall:

sudo ufw allow 19999/tcp

restart the firewall:

sudo ufw reload

after that, it will probably work.