rrdtool

现在尝试以下ganlia的安装。

 

首先在配置了yum源的机器上安装一些依赖包(自己安装源文件编译也可,只是好像依赖包数量较多,手动安装会比较麻烦)

 

yum install ntp vim-enhanced gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel ncurses-devel zlib-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel libXpm-devel gettext-devel  pam-devel apr

yum install -y rrdtool perl-rrdtool rrdtool-devel 

 

这样依赖包就安装好了。

 

然后wget   http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz

 

./configure  --prefix=/usr/local/src/rrdtool 

make && make install

 

进入到/usr/local/src/rrdtoo目录下,看到有几个文件夹,bin include lib lib64 share

安装成功。

 

./configure --prefix=/usr/local/src/ganglia --with-librrd=/usr/local/src/rrdtool --with-libapr=/usr/local/src/apr --with-libexpat=/usr/local/src/expat \

 

--with-libconfuse=/usr/local/src/confuse --with-libpcre=/usr/local/src/pcre --with-gmetad --enable-gexec --enable-status --sysconfdir=/etc/ganglia

 

./configure --prefix=/usr/local/src/apache2 --enable-mods-shared=all --enable-modules=rewrite --enable-modules=all --enable-http --enable-ssl --with-apr=/usr/local/src/apr --with-pcre=/usr/local/src/pcre

 安装php时的参数

./configure --prefix=/usr/local/src/php --with-config-file-path=/usr/local/src/php/etc --with-apxs2=/usr/local/src/apache2/bin/apxs --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear

你可能感兴趣的:(tool)