Skip to content

Instantly share code, notes, and snippets.

@denisgolius
Created September 3, 2021 16:08
Show Gist options
  • Save denisgolius/16e5f9c1b1bc17b4b3c9f328907f415b to your computer and use it in GitHub Desktop.
Save denisgolius/16e5f9c1b1bc17b4b3c9f328907f415b to your computer and use it in GitHub Desktop.
vm-rpm
[root@fedora default]# dnf update
Copr repo for VictoriaMetrics owned by antonpatsev 13 kB/s | 9.2 kB 00:00
Fedora 34 - x86_64 8.5 MB/s | 74 MB 00:08
Fedora 34 openh264 (From Cisco) - x86_64 1.9 kB/s | 2.5 kB 00:01
Fedora Modular 34 - x86_64 2.5 MB/s | 4.9 MB 00:01
Fedora 34 - x86_64 - Updates 6.8 MB/s | 26 MB 00:03
Fedora Modular 34 - x86_64 - Updates 3.2 MB/s | 4.6 MB 00:01
Dependencies resolved.
Nothing to do.
Complete!
[root@fedora default]# dnf makecache
Copr repo for VictoriaMetrics owned by antonpatsev 4.3 kB/s | 3.3 kB 00:00
Fedora 34 - x86_64 38 kB/s | 26 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 2.1 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 43 kB/s | 25 kB 00:00
Fedora 34 - x86_64 - Updates 36 kB/s | 21 kB 00:00
Fedora Modular 34 - x86_64 - Updates 37 kB/s | 21 kB 00:00
Metadata cache created.
[root@fedora default]# dnf -y install victoriametrics victoriametrics-vmutils victoriametrics-cluster
Last metadata expiration check: 0:00:05 ago on Fri Sep 3 16:07:24 2021.
Dependencies resolved.
=====================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================
Installing:
victoriametrics x86_64 1.64.1-5 copr:copr.fedorainfracloud.org:antonpatsev:VictoriaMetrics 4.5 M
victoriametrics-cluster x86_64 1.64.1-5 copr:copr.fedorainfracloud.org:antonpatsev:VictoriaMetrics 9.4 M
victoriametrics-vmutils x86_64 1.64.1-5 copr:copr.fedorainfracloud.org:antonpatsev:VictoriaMetrics 18 M
Transaction Summary
=====================================================================================================================================================
Install 3 Packages
Total download size: 32 M
Installed size: 118 M
Downloading Packages:
(1/3): victoriametrics-1.64.1-5.x86_64.rpm 3.1 MB/s | 4.5 MB 00:01
(2/3): victoriametrics-vmutils-1.64.1-5.x86_64.rpm 5.9 MB/s | 18 MB 00:03
(3/3): victoriametrics-cluster-1.64.1-5.x86_64.rpm 2.2 MB/s | 9.4 MB 00:04
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total 7.6 MB/s | 32 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : victoriametrics-vmutils-1.64.1-5.x86_64 1/3
Installing : victoriametrics-cluster-1.64.1-5.x86_64 2/3
Running scriptlet: victoriametrics-1.64.1-5.x86_64 3/3
WARINING: chown -R victoriametrics:victoriametrics /var/lib/victoria-metrics-data
THIS MAY TAKE SOME TIME
Installing : victoriametrics-1.64.1-5.x86_64 3/3
Running scriptlet: victoriametrics-1.64.1-5.x86_64 3/3
Verifying : victoriametrics-1.64.1-5.x86_64 1/3
Verifying : victoriametrics-cluster-1.64.1-5.x86_64 2/3
Verifying : victoriametrics-vmutils-1.64.1-5.x86_64 3/3
Installed:
victoriametrics-1.64.1-5.x86_64 victoriametrics-cluster-1.64.1-5.x86_64 victoriametrics-vmutils-1.64.1-5.x86_64
Complete!
[root@fedora default]# ll /var/lib/
drwxrwxr-x. 2 victoriametrics victoriametrics 4096 Sep 1 07:06 victoria-metrics-data
[root@fedora default]# ll /etc/victoriametrics/
total 12
drwxrwxr-x. 2 victoriametrics victoriametrics 4096 Sep 3 16:07 vmagent
drwxrwxr-x. 2 victoriametrics victoriametrics 4096 Sep 3 16:07 vmalert
drwxrwxr-x. 2 victoriametrics victoriametrics 4096 Sep 3 16:07 vmauth
[root@fedora default]# ll /etc/default/
total 12
-rw-r--r--. 1 root root 310 Mar 18 00:08 grub
-rw-r--r--. 1 root root 119 Aug 9 08:17 useradd
-rw-r--r--. 1 root root 75 Sep 1 07:06 victoriametrics.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment