CentOS installation configuration ganglia 1. Download the ganglia source package and unzip the [python] wget http://sourceforge.net/projects/ganglia/files/ganglia%20monitoring%20core/3.1.1%20%28Wien%29/ganglia-3.1.1.tar.gz/download? Use_mirror = jaist tar-zxvf ganglia-3.1.1.tar.gz 2. install ganglia (install gmetad and gmond) cd ganglia-3.1.1 and install gmetad on the machine that requires web frontend. The configure parameter is [python]. /configure -- with-gmetad -- enable-gexec gmetad depends on the g ++, rrdtool-devel, apr-devel, libconfuse, and libexpat packages. Install the preceding dependency packages first: [python] yum install gcc-c ++ yum install rrdtool-devel yum install apr-devel yum solution after libconfuse and libexpat fail to be installed: install libconfuse: [python] wget http: // dow Nload.savannah.gnu.org/releases/confuse/confuse-2.7.tar.gz tar zxvf confuse-2.6.tar.gz. /configure CFLAGS =-fPIC -- disable-nls -- prefix =/usr/local/confuse make install 64bit The machine needs to copy the Dynamic Link Library: [python] mkdir-p/usr/local/confuse/lib64 cp-a-f/usr/local/confuse/lib/*/usr/local/confuse/lib64/install libexpat: [python] wget http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz? Use_mirror = cdnetworks-kr-2 tar zxvf expat-2.0.1.tar.gz. /configure -- prefix =/usr/local/expat make install 64bit The machine needs to copy the Dynamic Link Library: [python] mkdir/usr/local/expat/lib64 cp-a/usr/local/expat/lib/*/usr/local/expat/lib64/after installing the dependency package, run. /configure command: [python]. /configure -- with-gmetad -- enable-gexec -- with-libconfuse =/usr/local/confuse -- with-libexpat =/usr/local/expat when the interface appears, ganglia is successfully installed.: follow the prompts to make ganglia: [python] make install. During the make process, something similar to "mod_python.c: 48: 20: error: Python. h: No such file or directory "error. You need to install python: [python] yum install python-devel to install python before making. on the server side, configure gmetad to create the rrdtool data directory: [python] mkdir-p/var/lib/ganglia/rrds mkdir-p/var/lib/ganglia/dwoo chown-R apache: apache/var/lib/ganglia Modify/etc/ganglia/gmetad. conf file: [python] vim/etc/ganglia/gmetad. conf data_source "suc" localhost setuid_username "apache" NOTE: If the data_source and setuid_username in the configuration file are commented "#", remove the Comment [python] cp gmetad/gmetad. init/etc/init. d/gmetad mkdir/etc/ganglia cp gmetad/gmetad. conf/etc/ganglia/cp-f gmetad/usr/sbin/gmetad chkconfig -- add gmetad start gmetad service: [python] service gmetad start if "Starting GANGLIA gmetad: [OK] "indicates that gmetad is running normally. Use telnet localhost 8651 to verify that gmetad is normal. 4. configure gmond [python] cp-f gmond/gmond on the local client. init/etc/init. d/gmond cp-f gmond/usr/sbin/gmond chkconfig -- add gmond -- default_config>/etc/ganglia/gmond. conf Modify/etc/ganglia/gmond. conf configuration file: [python] cluster {name = "suc" // and gmetad. the conf configuration file corresponds to the owner = "apache" // and gmetad. the conf configuration file corresponds to latlong = "unspecified" url = "unspecified"} to start the gmond service: [python] service gmond start if "Starting GANGLIA gmond: [OK] "indicates that gmond runs normally. Use telnet localhost 8649 to verify that gmond is normal. configure web [python] yum install php-common php-cli php-gd httpd mkdir/var/www/html/ganglia cp-a-f web/*/var/on the server side/ www/html/ganglia restart the http service: [python] service httpd restart 6. open a browser to view the ganlia web interface information. [python] http: // localhost:/ganglia indicates that ganglia has been fully installed successfully: experiment environment: centOS6.0 x86_64 [python] <pre name = "code" class = "cpp"> <pre name = "code" class = "cpp"> <p> </ pre> </pre>