ganglia安装教程(centos7)详解大数据
2023-06-13 09:20:27 时间
conf.php中有些默认配置和以上设置不一样的需要进行修改:
# Gmetad-webfrontend version. Used to check for updates. $conf[gweb_root] = "/var/www/html/ganglia"; $conf[gweb_confdir] = "/var/www/html/ganglia"; include_once $conf[gweb_root] . "/version.php"; # readonly: No authentication is required. All users may view all resources. No edits are allowed. # enabled: Guest users may view public clusters. Login is required to make changes. # An administrator must configure an authentication scheme and ACL rules. # disabled: Guest users may perform any actions, including edits. No authentication is required. $conf[auth_system] = readonly; # The name of the directory in "./templates" which contains the # templates that you want to use. Templates are like a skin for the # site that can alter its look and feel. $conf[template_name] = "default"; # If you installed gmetad in a directory other than the default # make sure you change it here. # Where gmetad stores the rrd archives. $conf[gmetad_root] = "/var/lib/ganglia"; $conf[rrds] = "${conf[gmetad_root]}/rrds"; # Where Dwoo (PHP templating engine) store compiled templates $conf[dwoo_compiled_dir] = "${conf[gweb_confdir]}/dwoo/compiled"; $conf[dwoo_cache_dir] = "${conf[gweb_confdir]}/dwoo/cache"; # Where to store web-based configuration $conf[views_dir] = $conf[gweb_confdir] . /conf; $conf[conf_dir] = $conf[gweb_confdir] . /conf;问题及解决方式 编译rrdtool 错误
/.libs/librrd.so: undefined reference to [email protected]_2.4.30
./.libs/librrd.so: undefined reference [email protected]_2.4.30’
./.libs/librrd.so: undefined reference to [email protected]_2.4.30
./.libs/librrd.so: undefined reference [email protected]_2.4.30’
./.libs/librrd.so: undefined reference to [email protected]_2.4.30
./.libs/librrd.so: undefined reference [email protected]_2.4.30’
./.libs/librrd.so: undefined reference to [email protected]_2.4.30
./.libs/librrd.so: undefined reference [email protected]_2.4.30’
./.libs/librrd.so: undefined reference to [email protected]_2.4.30
./.libs/librrd.so: undefined reference [email protected]_2.6.17’
./.libs/librrd.so: undefined reference to [email protected]_2.4.30’
ganglia编译必须依赖rrdtool,而rrdtool安装不同机器可能出现莫名的安装错误,此时如果机器可以连接网络可以使用 yum -y install rrdtool 方式安装,但此时安装后,编译ganglia时仍然无法找到rrdtool相应的库,此时可以采用如下方法,使ganglia编译安装成功:
下载rrdtool-1.4.8.tar.gz ,解压后,将rrdtool-1.4.8/src/.libs 中相应库拷贝到如下目录:
home/hadoop/为我本机rrdtool-1.4.8所在路径:
cp /home/hadoop/rrdtool-1.4.8/src/.libs/.so /usr/local/lib/
cp /home/hadoop/rrdtool-1.4.8/src/.libs/*.a /usr/local/lib/
cp /home/hadoop/rrdtool-1.4.8/src/.libs/*.la /usr/local/lib/
cp /home/hadoop/rrdtool-1.4.8/src/rrd*.h /usr/local/include
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/9568.html
分布式文件系统,分布式数据库区块链并行处理(MPP)数据库,数据挖掘开源大数据平台数据中台数据分析数据开发数据治理数据湖数据采集相关文章
- CentOS7安装mysql5.5
- CentOS7安装VMware Tools
- yum linux phpmyadmin,Linux centos7 下安装 phpMyAdmin的教程
- 云服务器CentOS7安装图形界面与远程连接,超简单
- centos7配置国内yum源
- Centos7中单节点openshift_3.11安装及配置开机自启
- Centos7搭建CiscoAnyConnect
- CentOS7安装Mysql5.7
- Centos7安装Mysql8教程
- CentOS7安装uwsgi遇到的坑解决方法
- centos7 安装 Mysql 5.7.28,详细完整教程
- 安装配置:教你Centos7下通过yum安装Ceph分布式存储教程
- CentOS7服务器系统安装MongoDB数据库详细过程记录
- CentOS7中安装MySQL的图文讲解
- Centos7下Redis3.2.8最新版本安装教程
- Centos7安装Redis3.2.8详解程序员
- 基于centos7快速安装mysql5.7教程解析
- Centos7安装FFmpeg音/视频工具简易文档
- Linux centos7 下安装 phpMyAdmin的教程
- centos7 安装mysql5.6.32详解程序员
- Centos7 下安装python3及卸载的教程
- Centos7 单节点上安装kubernetes-dashboard过程详解架构师
- CentOS7系统下安装Oracle数据库(centos7安装oracle)
- Centos7安装Redis:一步步搭建Redis服务器(centos7安装redis)
- CentOS7下快速开启MySQL服务(centos7启动mysql)