Installing Prometheus
You can follow three different methods to install Prometheus. Let’s look at each.
Installing from binaries
You can install Prometheus using precompiled binaries. All you have to do is download the binaries, copy them to some directory, and perform some configurations.
You can find the necessary pre-compiled binaries at https://prometheus.io/download/.
There, you will find also binaries for Alertmanager, pushgateway, and the official exporters – we will learn about exporters later.
You can install Prometheus for Windows 64 bits, Linux 64 bits, Darwin 64 bits, and even ARM7 systems, such as Raspberry Pi.
The following steps apply to installing Prometheus on an Ubuntu server:
- First, you must download the necessary binaries. You can find them at https://prometheus.io/download/.
- Extract the binaries, go to the directory where you extracted them, and move the binaries to the
/usr/local/bin
directory:$ tar xvf prometheus*.tar...