mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-03 16:21:14 +01:00
d44cc14c6b
* 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 |