Home >Common Problem >How to install Netdata on Rocky Linux 8
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.
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
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
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
Finally, run the following script to build and install Netdata package:
./netdata-installer.sh
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
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
You can verify by listing the current firewall settings:
sudo firewall-cmd --permanent --list-all
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
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!