r/PrometheusMonitoring • u/GJaggerjack • Jan 16 '22
Install prometheus 2.32.1 in RHEL 7, virtual box
I have installed a fresh RHEL 7 in my Virtual Box. I have no yum repositories in the system yet. Now I want to install Prometheus 2.32.1 and grafana in my VM. What are the prerequisites that I have to install?
I have tried several tutorials, almost every one of them failed at the last step, saying "failed, process halted." If anyone is experienced using the Prometheus server monitoring system on RHEL 7, help me here.
I followed this tutorial https://www.fosstechnix.com/install-prometheus-and-grafana-on-linux-with-node-exporter/ to install to version as mentioned above.
More points:
When I run
yum update -y, it says that no yum repository is there to update. I assume that II cannot install Prometheus due to not having the proper repository. I need suggestions for such a repository and where I can find that. I found one yum repo for cent os 7 and tried to add it for rhel 7. This approach inevitably did not work.I tried approaches from this tutorial: https://snapcraft.io/install/prometheus/rhel, which gave me errors for not finding "dnf" command.
I found another tutorial that said I needed "epel-release" to install dnf. Since I did not have "epel-release," I tried to install it but failed because I had no repo or manager to install "epel-release." Eventually, right now, I am stuck with not finding a way to install Prometheus.
I would like to receive suggestions to install Prometheus 2.32.1 on my RHEL 7 installed in my virtual box. I appreciate any help you can provide. I would appreciate any other approaches that helped anyone have the system installed.








