I would use 2 different machines, one for prometheus and one for grafana. You
could use the same server though. What I would never do is to use the same
server you are trying to monitor.
Install and configure prometheus. This is the longest and more complex task. It