sudo chmod 777 /var/lib/ganglia 没有用
修改配置文件/etc/httpd/conf.d/ganglia.conf
## Ganglia monitoring system php web frontend#Alias /ganglia /usr/share/ganglia<Location /ganglia>Order deny,allowDeny from allAllow from all#Allow from 127.0.0.1#Allow from ::1# Allow </Location>
sudo vim /etc/httpd/conf.d/ganglia.conf
## Ganglia monitoring system php web frontend#Alias /ganglia /usr/share/ganglia#<Location /ganglia># Require local# Require ip 10.1.2.3# Require host #</Location><Location /ganglia>#Order deny,allow# Deny from all# Allow from all# Allow from 127.0.0.1# Allow from ::1# Allow from .Require all granted</Location>
重启httpd
sudo service httpd restart