Home > Common Problem > How to install Netdata on Rocky Linux 8

How to install Netdata on Rocky Linux 8

WBOY
Release: 2023-04-13 13:55:10
forward
1191 people have browsed it

Netdata is an open source real-time server monitoring tool. It provides hundreds of tools to monitor servers, CPU, memory usage, system processes, disk usage, IPv4 and IPv6 networks, system firewalls, and more. How to install Netdata on Rocky Linux 8

Installing Netdata on Rocky Linux 8

Steps 1. The first step is to update your system to the latest version of the package list. To do this, run the following command:

sudo dnf check-updatesudo dnf install epel-releasesudo dnf install git libuuid-devel autoconf automake pkgconfig zlib-devel curl findutils libmnl gcc make
Copy after login

Step 2. Install Netdata on Rocky Linux 8.

Netdata is not available in the Rocky Linux 8 base repository by default. Now clone Netdata from GitHub by running the following command:

git clone https://github.com/netdata/netdata.git --depth=100
Copy after login

Next, change the Netdata directory and install the required packages:

cd netdata./packaging/installer/install-required-packages.sh --non-interactive --dont-wait netdatasudo dnf --enablerepo=powertools install libuv-devel
Copy after login

Finally, run the following script to build and install Netdata package:

./netdata-installer.sh
Copy after login

After the installation is complete, start the Netdata service and then enable it so that it can start automatically after the system restarts:

sudo systemctl restart netdatasudo systemctl status netdatasudo systemctl enable netdata
Copy after login

Step 3. Configure firewall rules.

By default, Netdata listens on port 10000. If you have any firewall installed and configured on your server, then you need to allow these two ports through firewalld. You can allow them using the following command:

sudo firewall-cmd --permanent --add-port=19999/tcpsudo firewall-cmd --reload
Copy after login

You can verify by listing the current firewall settings:

sudo firewall-cmd --permanent --list-all
Copy after login

Step 4. Access the Netdata web interface.

After successful installation, open your favorite browser and navigate to the dashboard which will look like this: http://your-server-ip-address:19999

How to install Netdata on Rocky Linux 8

Thank you for using this tutorial to install Netdata monitoring tool on Rocky Linux 8 system. For more help or useful information, we recommend you check out the Netdata official website.

The above is the detailed content of How to install Netdata on Rocky Linux 8. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template