In this article, we will have explained the necessary steps to install and configure Netdata on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Netdata is a free, open-source, simple and real-time performance and health monitoring tool with a beautiful web front-end. NetData can be installed as an agent on systems/containers/applications so as to collect in real-time, the system/container/application metrics and displays them on an interactive web interface. It can store all these metrics for a predefined time period. It can be integrated with other monitoring tools such as Prometheus, Graphite, OpenTSDB, Kafka, Grafana, and more.
Install Netdata on Ubuntu 20.04
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
Step 2. Install Netdata on Ubuntu system.
- Install Netdata using Automatic Installation Script
Run the below script to install Netdata with automatic updates:
The NetData Kickstart script installs NetData systemd service unit. It also starts and enables NetData service to run on system boot:
- Install Netdata From Source Manually.
First, install dependency packages:
Then, We have to Clone the Netdata Packages from Git:
After that, follow the prompts to install NetData on Ubuntu 20.04:
Finally, we need to start and enable the Netdata service to make the changes effect:
Step 3. Configure Firewall Rule.
To allow traffic on port 19999 enters the below command:
Step 4. Accessing Netdata Web Interface.
You can now access your NetData Web interface via the address
http://your-ip-address:19999. This should land you on the beautiful various system metrics NetData dashboard.
That’s all you need to do to install Netdata on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.