[インストールの前の準備]
※tcshだとapt-getの「*」で起こられるので、必ずbashになってから行うこと。
>sudo apt-get install gcc*
>sudo apt-get install glib*
>sudo apt-get install libstdc*
>sudo apt-get install libgcc*
>sudo apt-get install build-essential
※A
>sudo apt-get install gcc-multilib
>sudo apt-get install rpm
>sudo apt-get install ia32-libs (only needed if you install the 32bit compiler)
>sudo apt-get install openjdk-6-jre-headless
※Aのところで、
dpkg: error processing gmetad (--configure):
subprocess installed post-installation script returned error exit status 9
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
ganglia-monitor
gmetad
E: Sub-process /usr/bin/dpkg returned an error code (1)
というエラーを受けた場合の対処方法。
[対処方法]
>sudo adduser --system --ingroup ganglia --home /var/lib/ganglia ganglia
>sudo apt-add-repository ppa:mark-mims/ppa
>sudo apt-get update
>sudo apt-get install ganglia-webfrontend=3.1.7-2ubuntu4
>sudo apt-get install gmetad=3.1.7-2ubuntu4
>sudo apt-get install ganglia-monitor=3.1.7-2ubuntu4
(参照) :
https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/854866