Rocky Linux9にNetdataをインストールする

スポンサーリンク
CentOS7
スポンサーリンク
↑管理人が個人でUnity+Live2Dで作成しているスマホゲームです

他のサイトにあった

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netd
ata-kickstart.sh --no-updates --install-version 1.36.1--disable-telemetry --static-only --non-interactive

というやり方では

--2025-09-06 13:58:08--  https://my-netdata.io/kickstart.sh
Resolving my-netdata.io (my-netdata.io)... 104.21.96.1, 104.21.64.1, 104.21.16.1, ...
Connecting to my-netdata.io (my-netdata.io)|104.21.96.1|:443... connected.
HTTP request sent, awaiting response... 307 Temporary Redirect
Location: https://get.netdata.cloud/kickstart.sh [following]
--2025-09-06 13:58:08--  https://get.netdata.cloud/kickstart.sh
Resolving get.netdata.cloud (get.netdata.cloud)... 172.66.170.216, 104.20.22.2, 2606:4700:10::6814:1602, ...
Connecting to get.netdata.cloud (get.netdata.cloud)|172.66.170.216|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95353 (93K) [application/octet-stream]
Saving to: ‘/tmp/netdata-kickstart.sh’

/tmp/netdata-kickstart.sh                         100%[============================================================================================================>]  93.12K  --.-KB/s    in 0.007s  

2025-09-06 13:58:09 (13.2 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [95353/95353]


 --- Using /tmp/netdata-kickstart-4Tw3AKG3jC as a temporary directory. --- 
 --- Checking for existing installations of Netdata... --- 
 --- No existing installations of netdata found, assuming this is a fresh install. --- 
 --- Attempting to install using static build... --- 
 WARNING  Could not find a nightly static build for x86_64 CPUs. This usually means there is some networking issue preventing access to https://github.com/ from this system.

The following non-fatal warnings or errors were encountered:

  - Could not find a nightly static build for x86_64 CPUs. This usually means there is some networking issue preventing access to https://github.com/ from this system.

 ABORTED  Could not install static build.

For community support, you can connect with us on:
  - GitHub: https://github.com/netdata/netdata/discussions
  - Discord: https://discord.gg/5ygS846fR6
  - Our community forums: https://community.netdata.cloud/
[/root]# rm -rf /tmp/netdata-kickstart-4Tw3AKG3jC 
 OK 

というエラーが出てしまいました。

以下の

curl -fsSL https://get.netdata.cloud/kickstart.sh -o /tmp/netdata-kickstart.sh
sudo sh /tmp/netdata-kickstart.sh \
  --stable-channel \
  --native-only \
  --disable-telemetry \
  --non-interactive

こちらだと正常にインストール出来ました。

kickstart で入れた場合、systemd に自動登録されています。

# 起動状態を確認
systemctl status netdata

# 起動していなければ
sudo systemctl start netdata
sudo systemctl enable netdata   # 再起動後も自動起動するように


スポンサーリンク

2. アクセス確認

デフォルトでは 19999/tcp で待ち受けます。

ss -lntp | grep 19999

ブラウザから以下にアクセスしてください:

http://<
サーバーのIPアドレス>:19999

もしファイアウォールを使っていれば、ポートを開けます(Rocky の標準 firewalld の場合):

sudo firewall-cmd --add-port=19999/tcp --permanent
sudo firewall-cmd --reload

アクセスした画面の右下に小さく「Skip and use the dashboard anonymously」とありますので、それを押すとログインせずにアクセスできます。

1 Star2 Stars3 Stars4 Stars5 Stars (まだ投票されていません)
読み込み中...

コメント

広告ブロッカーを無効にしてください。

タイトルとURLをコピーしました