點滴記錄——Centos 6.5 yum安裝Ganglia,centosganglia

來源:互聯網
上載者:User

點滴記錄——Centos 6.5 yum安裝Ganglia,centosganglia

轉載請說明出處:http://blog.csdn.net/cywosp/article/details/39701141


註:以下操作都只是在一台機器上操作
1. 安裝php支援 yum install php-common php-cli php-gb php
2. 安裝ganglia及其相關組件server端:yum install rrdtool rrdtool-devel ganglia-web ganglia-gmetad ganglia-gmond ganglia-gmond-python httpd apr-devel zlib-devel libconfuse-devel expat-devel pcre-devel client端:yum install ganglia-gmond
3. 相關配置  修改/etc/ganglia/gmond.conf cluster {   name = "Cynric"  //這個是整個叢集的名字
 }
 dup_send_channel {  host = 127.0.0.1  // host為單播模式  mcast_join為多播模式 }
 udp_recv_channel {  port = 8649   // 如果是用單播模式則要刪除mcast_join和bind兩個選項 }
 用戶端 修改檔案/etc/ganglia/gmetad.conf data_source "Cynric" localhost   //Cynric是gmond.conf中cluster裡name的名字  localhost則需要是伺服器端的ip
 setuid_username "nobody"
4. 建立rrds目錄  mkdir -p /var/lib/ganglia/rrds  chown nobody:nobody /var/lib/ganglia/rrds  chmod a+w /var/lib/ganglia/rrds
5. 關閉SELinux不然無法訪問監控的web的頁面   vi /etc/selinux/config   SELINUX=disable   以上方法需要重啟機器
  可以在終端上直接輸入setenforce 0即可
6. 啟動相關服務   service gmond start   service gmetad start   service httpd restart
7. 瀏覽器中輸入127.0.0.1/ganglia檢驗是否成功
8. 遇到相關問題請查看http://blog.csdn.net/cybercode/article/details/6210444





centos 65 yum安裝g++失敗提示錯誤 支招

yum install gcc-c++
 
助,centos 65 minimal裝好第一次進系統,yum卻不可以用

yum的設定檔有問題吧
/etc/yum.conf檔案貼出來
/etc/yum.repos.d/下面有多少檔案?貼些出來看看
 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.