在线安装Ganglia3.6.0,nginx+php搭建gweb,绝对通过
环境:CentOS6.5 minimal
目标:安装Ganglia核心组件(gmond, gmetad, gmetric, gstat, libganglia)、Ganglia web
准备
yum加入 epel 源
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum加入 remi 源
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
下载
http://ganglia.info/
安装依赖包
yum install gcc apr apr-devel libconfuse libconfuse-devel expat-devel pcre pcre-devel –y
如果需安装gmetad
yum install rrdtool rrdtool-devel -y
如果需安装gweb
yum install rsync -y
安装gmond
tar -zxvf ganglia-3.6.0.tar.gz
cd ganglia-3.6.0/
./configure
make && make install
安装gmetad
./configure --with-gmetad
make && make install