Skip to content

Instantly share code, notes, and snippets.

@CertHum-Jim
CertHum-Jim / install-victoriametrics-single-ubuntu.sh
Created January 23, 2024 16:12 — forked from denisgolius/install-victoriametrics-single-ubuntu.sh
install VicotriaMetrics Single on ubuntu 20.04
#!/bin/bash
set -e
system_set_hostname "$HOSTNAME"
apt update && apt upgrade -y && apt install -y curl wget net-tools traceroute jq
# Generate files
mkdir -p /etc/victoriametrics/single
mkdir -p /var/lib/victoria-metrics-data