Skip to content

Commit 38d491b

Browse files
committed
fixed command for installing firewalld on RHEL
1 parent 048565e commit 38d491b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/sap/monitor/provider-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ wget https://github.com/prometheus/node_exporter/releases/download/v*/node_expor
4343
tar xvfz node_exporter-*.*-amd64.tar.gz
4444
if [[ "$(grep '^ID=' /etc/*-release)" == *"rhel"* ]]; then
4545
echo "Open firewall port 9100 on the Linux host"
46-
sudo apt install firewalld -y
46+
yum install firewalld -y
4747
systemctl start firewalld
4848
firewall-cmd --zone=public --permanent --add-port 9100/tcp
4949
else

0 commit comments

Comments
 (0)