We will install the latest version of Prometheus on our server.
Before you start, you will need a Linux server. Preferably an unrestricted Ubuntu 18.04 LTS Server with root access, since all the commands demonstrated in this course were executed on Ubuntu 18.04 LTS Server. I can can recommend using Digital Ocean for your Ubuntu 18.04 LTS.
You will get $50 Free Credit for 30 Days so you can install many minimal $5 per month Ubuntu VMs during that 30 days and try them out as you need.
You can use other operating systems, such as Centos 7, but all commands in the course are prepared for Ubuntu 18, so you will experience some differences in syntax or equivalent commands which you may need to research yourself if I can't help you.
Once you have an Ubuntu 18 server ready, you can find the latest version of the Prometheus binary to download at https://prometheus.io/download/
Or just copy/paste this pre created command below for prometheus-2.14.
After downloading, and before we run it, we should verify it's ok by checking its SHA256 Checksum.
The output for prometheus-2.14.0.linux-amd64.tar.gz should be,
If all is ok, then we can untar the gz archive.
tar xvfz prometheus-2.14.0.linux-amd64.tar.gz
Now CD into the folder
And start it
Prometheus should now be running.
You can visit it at http://[your ip address]:9090
The Prometheus binary will now be running in the main SSH session and we should change it so that it runs as a service. We will do this in the next step.