记录一次 redhat安装Netdata

 

Netdata安装流程:

不同的环境下载依赖文件不同,选择你自己用的环境。

参考官网:

  • Alpine Linux and its derivatives

    • You have to install bash yourself, before using the installer.
  • Arch Linux and its derivatives

    • You need arch/aur for package Judy.
  • Gentoo Linux and its derivatives

  • Debian Linux and its derivatives (including UbuntuMint)

  • Redhat Enterprise Linux and its derivatives (including FedoraCentOSAmazon Machine Image)

我是最后一种下载依赖用的yum.

 

安装步骤参考1:https://blog.csdn.net/xt586/article/details/80222426

redhat 上安装libuv库_运维_xt586的专栏-CSDN博客 https://blog.csdn.net/xt586/article/details/80222426?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2

 


【香橙派】安装Netdata性能监视器 | AustenBlog https://blogbyme.cn/2019/01/1640.html
Linux性能实时监测工具netdata安装配置 / 源码寺 https://www.yuanmas.com/info/YlOMWomRaq.html

 

 

 

 

2:Netdata安装以及汉化_运维_Vector丶-CSDN博客

https://blog.csdn.net/qq_34727675/article/details/88871532?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1

https://blog.csdn.net/wag2765/article/details/84723826?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522158822395019195239827725%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.57659%2522%257D&request_id=158822395019195239827725&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_v2~rank_v25-1

 

有几种方式获取,我用git clone失败后,就直接拿了最新的tar.gz包。

 

安依赖:yum install zlib-devel gcc make autoconf autogen automake pkgconfig libuuid-devel
 

 

记录一次 redhat安装Netdata_第1张图片

 

详细步骤可以看上面的文章,这里就不写了,只记录一下报错。

 

 

1 yum时候:No package libuv available. No package libuv-devel available.

yum安装软件时,出现No package XXX available的解决办法_运维_暗淡亮点的博客-CSDN博客 https://blog.csdn.net/suleil1/article/details/78249824?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4

 

2   configure: error: libuv required but not found. Try installing 'libuv1-dev' or 'libuv-devel'.  yum search libuv1-dev

这个报错在两个地方出现过,一个是,第二个是installer的时候。

最开始我去找了libuv1的包下载了下来,然后我按照步骤从编译开始到安装搞了一遍,中间还配置了/usr/local/libuv/lib    ldconfig libuv.conf,安装的时候还是提示找不到。

然后我想能不能直接下载 libuv-devel

 --yum search libuv-devel

[root@dbserver112027 src]#  yum search libuv-devel
Loaded plugins: refresh-packagekit, ulninfo
========================================================== N/S Matched: libuv-devel ===========================================================
libuv-devel.i686 : Development libraries for libuv
libuv-devel.x86_64 : Development libraries for libuv

yum -y install libuv-devel.i686           下载

最后再试了试就可以了。

重新执行安装程序。

[root@dbserver112027 ~]#  cd /usr/local/src/netdata-v1.21.1
[root@dbserver112027 netdata-v1.21.1]# ./netdata-installer.sh   

 

参考:linux下编译libuv库_嵌入式_月上纱窗的专栏-CSDN博客 https://blog.csdn.net/u014037733/article/details/22963087?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-3

参考:https://zhuanlan.zhihu.com/p/70643685 源码的安装一般由3个步骤组成:配置(configure)、编译(make)、安装(make install)。

 

yum -y update nss 

 

看一下系统型号: cat /etc/os-release 

 

 

https://www.cnblogs.com/lisuyun/p/7080401.html

 

记录一次 redhat安装Netdata_第2张图片

你可能感兴趣的:(问题??)