Install Ganglia and centosganglia on Centos 6.5 yum
Reprint please explain the source: http://blog.csdn.net/cywosp/article/details/39701141
Note: The following operations are only performed on one machine:
1. install php supportYum install php-common php-cli php-gb php
2. Install ganglia and Its Related ComponentsServer: yum install rrdtool-devel ganglia-web ganglia-gmetad ganglia-gmond-python httpd apr-devel zlib-devel libconfuse-devel expat-devel pcre-devel client: yum install ganglia-gmond
3. Related ConfigurationModify/etc/ganglia/gmond. conf cluster {name = "Cynric" // This is the name of the entire cluster.
}
Dup_send_channel {host = 127.0.0.1 // host is unicast mode mcast_join multicast mode}
Udp_recv_channel {port = 8649 // If the unicast mode is used, delete the mcast_join and bind options}
The client modifies the file/etc/ganglia/gmetad. conf data_source "Cynric" localhost // Cynric is the name of localhost in the cluster in gmond. conf, which must be the ip address of the server.
Setuid_username "nobody"
4. Create the rrds directoryMkdir-p/var/lib/ganglia/rrds chown nobody: nobody/var/lib/ganglia/rrds chmod a + w/var/lib/ganglia/rrds
5. Disable SELinux or you will not be able to access the monitored web page.Vi/etc/selinux/config SELINUX = disable the above method needs to restart the machine
You can enter setenforce 0 on the terminal.
6. Start Related ServicesService gmond start service gmetad start service httpd restart
7. enter 127.0.0.1/ganglia in the browser to check whether the request is successful.
8. If you encounter problems, please view http://blog.csdn.net/cybercode/article/details/6210444
Centos 65 yum installation g ++ failure prompt error tips
Yum install gcc-c ++
Help, centos 65 minimal installed into the system for the first time, but yum cannot be used
Is there a problem with the yum configuration file?
Post the/etc/yum. conf file
/Etc/yum. repos. d/How many files are there? Paste it to see