How to install Netdata on Ubuntu 18.04
To install Netdata on Ubuntu 18.04
Netdata is a free software (a daemon) which gathers a real-time performance data from Linux systems, Application, and SNMP devices, picture it in the web-based interface. The users can monitor anything with the API plugin and also easily embed the charts with any external web pages. It has its own web server to display the final report in graphical format. It is so simple to install Netdata on Ubuntu 18.04 and this tutorial covers the ground on the same process.
Installation
First, install the required dependencies as follows.
root@linuxhelp1:~# apt-get install zlib1g-dev uuid-dev libmnl-dev pkg-config curl gcc make autoconf autoconf-archive autogen automake python python-yaml python-mysqldb nodejs lm-sensors python-psycopg2 netcat git -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version (2.7.15~rc1-1).
python set to manually installed.
.
.
Setting up g++-7 (7.3.0-16ubuntu3) ...
Setting up autogen (1:5.18.12-4) ...
Setting up gcc (4:7.3.0-3ubuntu2) ...
Setting up g++ (4:7.3.0-3ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
And then clone the Netdata package using the Git.
root@linuxhelp1:~# git clone https://github.com/firehol/netdata.git --depth=1 ~/netdata
Cloning into ' /root/netdata' ...
remote: Counting objects: 753, done.
remote: Compressing objects: 100% (703/703), done.
remote: Total 753 (delta 105), reused 251 (delta 33), pack-reused 0
Receiving objects: 100% (753/753), 2.58 MiB | 714.00 KiB/s, done.
Resolving deltas: 100% (105/105), done.
Now, switch to the Netdata directory.
root@linuxhelp1:~# cd netdata/
Use the following installation script to start the installation of Netdata.
root@linuxhelp1:~/netdata# ./netdata-installer.sh
^
|.-. .-. .-. .-. . netdata
| ' -' ' -' ' -' ' -' real-time performance monitoring, done right!
+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->
You are about to build and install netdata to your system.
It will be installed at these locations:
.
.
sudo ln -s /root/netdata/netdata-updater.sh /etc/cron.daily/netdata-updater
--- We are done! ---
^
|.-. .-. .-. .-. .-. . netdata .-. .-
| ' -' ' -' ' -' ' -' ' -' is installed and running now! -' ' -'
+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->
enjoy real-time performance and health monitoring...
Finally, we need to start and enable the Netdata service to make the changes effect.
root@linuxhelp1:~/netdata# systemctl start netdata
root@linuxhelp1:~/netdata# systemctl enable netdata
Open a browser and type the following URL of http://localhost:19999.
You will see the Netdata dashboard as follows.
With this, the method to install Netdata on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available