postfix安装记录三图像化日志安装

图像化日志安装



十一、安装gd-2.0.35


# tar -jxvf gd-2.0.35.tar.bz2


# cd gd-2.0.35


# ./configure --with-png --with-freetype--with-jpeg --with-zlib --with-fontconfig


# make


如果GD报错:configure.ac:64: warning: macro `AM_ICONV' not found in library你就make clean一下,然后再make


如果你安装别的出现libtool没有找到,你就从/usr/bin/libtool cp 一个过来用就好了!


# make install


十二、安装Time-HiRes


# tar -zxvf Time-HiRes-1.9719.tar.gz

# cd Time-HiRes-1.9719

# perl Makefile.PL

# make

# make test

# make install


十三、安装File-Tail


# tar -zxvf File-Tail-0.99.3.tar.gz


# cd File-Tail-0.99.3

# perl Makefile.PL

# make

# make test

# make install


十四、安装rrdtool(用最新版的编译没通过)


#yum install tcl-devel

#yum install libpng

# yum install freetype

# yum installlibart_lgpl-devel


# tar -zxvf rrdtool-1.4.3.tar.gz


# cd rrdtool-1.4.3

# ./configure --prefix=/usr/local/rrdtool--enable-perl-site-install=/usr/lib/perl5/

# make

# make install


十五、复制mailgraph_ext/usr/local,并启动之


# cp -r/var/www/extsuite/extman/addon/mailgraph_ext/usr/local


# /usr/local/mailgraph_ext/mailgraph-initstart


# /usr/bin/perl -w/var/www/extsuite/extman/daemon/cmdserver -d


添加到自动启动队列


echo"/usr/local/mailgraph_ext/mailgraph-init start" >>/etc/rc.local

echo “/usr/bin/perl -w/var/www/extsuite/extman/daemon/cmdserver -d” >>/etc/rc.local




你可能感兴趣的:(postfix,amavisd,垃圾邮件过滤)