source: drbl-biocluster/drbl-ganglia.sh @ 192

Last change on this file since 192 was 165, checked in by jazz, 14 years ago
  • Property svn:executable set to *
File size: 695 bytes
Line 
1#!/bin/bash
2
3########
4# 安裝 Ganglia 叢集監控系統
5########
6if [ ! -f /usr/sbin/gmond ] || [ ! -f /usr/sbin/gmetad ]; then
7  echo "Installing Ganglia ...."
8  sudo apt-get install gmetad ganglia-monitor
9  sudo apt-get install rrdtool librrds-perl librrd-dev apache2 libapache2-mod-php5 php5-gd apache2-mpm-prefork apache2-utils apache2.2-common libapr1 libaprutil1 libmysqlclient15off libpq5 mysql-common openssl-blacklist ssl-cert
10  echo "deb http://free.nchc.org.tw/debian testing main" > testing.list
11  sudo mv testing.list /etc/apt/sources.list.d/
12  sudo apt-get update
13  sudo apt-get install ganglia-webfrontend
14  sudo rm /etc/apt/sources.list.d/testing.list
15  sudo apt-get update
16fi
Note: See TracBrowser for help on using the repository browser.