GNU/Linux ◆ xterm-256color ◆ bash 37 views

Here’s the installation guide for Prometheus in English:

# Prometheus Installation
sudo apt-get update && apt-get upgrade -y

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

tar zxvf prometheus-2.47.2.linux-amd64.tar.gz

cd prometheus-2.47.2.linux-amd64/

cat prometheus.yml

./prometheus --config.file=prometheus.yml

# Check http://server-ip-address:9090
# Open port 9090/tcp in the AWS Security Group

This script updates and upgrades the system, downloads Prometheus, extracts the files, and runs the server. Remember to open port 9090 in your AWS Security Group to access the Prometheus web UI.