mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
4cb6334ff6
* added packer build for DigitalOcean Droplets * fixed typo * added packer RELEASE_GUIDE.md, Makefile * Apply suggestions from code review Co-authored-by: Roman Khavronenko <hagen1778@gmail.com> * added corrections amd improvements * added packer link & templating for sed version * fixed typo Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com> Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>
15 lines
511 B
Bash
Executable File
15 lines
511 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Create victoriametrics user
|
|
groupadd -r victoriametrics
|
|
useradd -g victoriametrics -d /var/lib/victoria-metrics-data -s /sbin/nologin --system victoriametrics
|
|
|
|
mkdir -p /var/lib/victoria-metrics-data
|
|
chown -R victoriametrics:victoriametrics /var/lib/victoria-metrics-data
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
apt update
|
|
DEBIAN_FRONTEND=noninteractive apt -y full-upgrade
|
|
DEBIAN_FRONTEND=noninteractive apt -y install curl git wget software-properties-common
|
|
rm -rf /var/log/kern.log
|
|
rm -rf /var/log/ufw.log |