Detailed steps for installing netdata in ubuntu system

Excuse me, could you please send me the detailed steps for installing netdata in the ubuntu system

Hi @boju!

You can follow our documentation here → Install Netdata with kickstart.sh | Learn Netdata (i.e. run our kickstart script).

Let us know if you need any assistance after this.

Thank you for your answer, but I cannot click on the method you provided. After clicking on it, I will be prompted with the following screenshot.May I ask how to solve this problem

Hmm, that is weird… Not sure why it fails to load.

In any case, the first thing is to try and run our kickstart script which will try to install and start netdata. The script is:

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh

Just copy and paste this command on a terminal, and we’ll see how it goes. If everything worked out ok, you should be able to then reach your agent by running http://localhost:19999 (assuming you are on the same machine as you are installing).

Thank you for your answer. The installation has now been successful. However, the installed version is (netdata v1.19.0), which is not the latest and may lack many configuration files. How can I install the latest version

@boju

  1. What are the exact commands that you ran to install Netdata?
  2. What operating System are you installing to?
  3. What is the output of the command:

netdata -W buildinfo | grep 'Install type:'

1、exact commands:
echo “deb [arch=amd64] https://packagecloud.io/netdata/netdata/ubuntu/ $(lsb_release -cs) main” | sudo tee /etc/apt/sources.list.d/netdata.list
sudo apt-get update
sudo apt-get install netdata

2、operating System:
Ubuntu 20.04.1

3、Unknown -W parameter ‘buildinfo’

^
|.-. .-. .-. .-. . netdata
| ‘-’ ‘-’ ‘-’ ‘-’ real-time performance monitoring, done right!
±—±----±----±----±----±----±----±----±----±----±----±----±–>

Copyright (C) 2016-2017, Costa Tsaousis costa@tsaousis.gr
Released under GNU General Public License v3 or later.
All rights reserved.

@boju Thanks for that.
Looks like you have picked up an incredibly old version of Netdata.

The recommended way to install Netdata is to use the one-liner installer-script:

If I were you, I’d:

  1. Uninstall the agent (ideally purge),
  2. Delete /etc/apt/sources.list.d/netdata.list
  3. apt-get update
  4. Run the one-liner script at the link I gave above.

Where did you find the instructions to install it? If it was a Netdata document then let us know so it can be corrected.

Regards,

Luis

1 Like