先日、CentOS 8にNetdataをインストールしましたが、Versionがnightly releasesでした。
Nightly vs. stable releases
https://github.com/netdata/netdata/blob/master/packaging/installer/README.md#nightly-vs-stable-releases
stable版のインストールはどうするの?
kickstart.shをざっと確認したら--stable-channel
が見つかりました。
kickstart.shの最初の説明には下記しかないのですが…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# Run me with: # # bash <(curl -Ss https://my-netdata.io/kickstart.sh) # # or (to install all netdata dependencies): # # bash <(curl -Ss https://my-netdata.io/kickstart.sh) all # # Other options: # --dont-wait do not prompt for user input # --non-interactive do not prompt for user input # --no-updates do not install script for daily updates # --local-files set the full path of the desired tarball to run install with # --allow-duplicate-install do not bail if we detect a duplicate install # |
環境
・CentOS Linux release 8.2.2004 (Core)
・Kernel 4.18.0-193.6.3.el8_2.x86_64
- okay repositoryのインストール
- Judy, Judy-develのインストール
- Netdata stable releasesのインストール
OKay’s Additional RPM Repository
http://repo.okay.com.mx/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
[root@centos8 ~]# dnf -y install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-3.el8.noarch.rpm okay-release-1-3.el8.noarch.rpm 22 kB/s | 7.9 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: okay-release noarch 1-3.el8 @commandline 7.9 k Transaction Summary ================================================================================ Install 1 Package Total size: 7.9 k Installed size: 1.4 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : okay-release-1-3.el8.noarch 1/1 Running scriptlet: okay-release-1-3.el8.noarch 1/1 Verifying : okay-release-1-3.el8.noarch 1/1 Installed: okay-release-1-3.el8.noarch Complete! |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[root@centos8 ~]# dnf -y install Judy Judy-devel --disablerepo=AppStream Extra OKay Packages for Enterprise Linux - x86_ 359 kB/s | 3.7 MB 00:10 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: Judy x86_64 1.0.5-18.el8 okay 130 k Judy-devel x86_64 1.0.5-18.el8 okay 74 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 204 k Installed size: 822 k Downloading Packages: (1/2): Judy-devel-1.0.5-18.el8.x86_64.rpm 74 kB/s | 74 kB 00:01 (2/2): Judy-1.0.5-18.el8.x86_64.rpm 98 kB/s | 130 kB 00:01 -------------------------------------------------------------------------------- Total 154 kB/s | 204 kB 00:01 warning: /var/cache/dnf/okay-cca93943b442758a/packages/Judy-1.0.5-18.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID ac25decd: NOKEY Extra OKay Packages for Enterprise Linux - x86_ 937 kB/s | 959 B 00:00 Importing GPG key 0xAC25DECD: Userid : "Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>" Fingerprint: 7C08 E843 CE72 AE04 62F8 7864 BA5B 0392 AC25 DECD From : /etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : Judy-1.0.5-18.el8.x86_64 1/2 Installing : Judy-devel-1.0.5-18.el8.x86_64 2/2 Running scriptlet: Judy-devel-1.0.5-18.el8.x86_64 2/2 Verifying : Judy-1.0.5-18.el8.x86_64 1/2 Verifying : Judy-devel-1.0.5-18.el8.x86_64 2/2 Installed: Judy-1.0.5-18.el8.x86_64 Judy-devel-1.0.5-18.el8.x86_64 Complete! |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[root@centos8 ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh) --stable-channel System : Linux Operating System : GNU/Linux Machine : x86_64 (snip) Setting netdata.tarball.checksum to 'new_installation' --- We are done! --- ^ |.-. .-. .-. .-. .-. . netdata .-. .- | '-' '-' '-' '-' '-' is installed and running now! -' '-' +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> enjoy real-time performance and health monitoring... OK |
stable releases版がインストールできました。
1 2 |
[root@centos8 ~]# /usr/sbin/netdata -v netdata v1.23.2 |