Downloading Prometheus

Let's download Prometheus to our Linux machine.

Create a directory for the workshop files:

mkdir $HOME/workshop

Change to it:

cd $HOME/workshop

Download Prometheus 2.25.2 for Linux (see the download page for other versions):

wget https://github.com/prometheus/prometheus/releases/download/v2.25.2/prometheus-2.25.2.linux-amd64.tar.gz

Extract the tarball:

tar xvfz prometheus-2.25.2.linux-amd64.tar.gz

Change into the extracted directory:

cd prometheus-2.25.2.linux-amd64