postfix安装以及配置5

配置Mailgraph_ext
 
注意:安装以下软件之前,请确保你的系统已经安装了tcltcl-devellibartlibart-devel的相关的软件包.
 
需要安装3个包:Time::HiResFile::Tailrrdtool,其中前2个包可以去http://
Search.cpan.org, 后一个包在http://oss.oetiker.ch/rrdtool/download.en.html
安装 Time::HiRes
   #tar zxvf Time-Hires-1.9707.tar.gz
   #cd Time-Hires-1.9707
   #perl Makefile.PL
   #make
   #make tetst
   #make install
 
安装 File::Tail
   #tar zxvf File-Tail-0.99.3.tar.gz
   #cd  File-Tail-0.99.3
   #perl Makefile.PL
   #make
   #make install
 
安装rrdtiil-1.2.23
  #tar zxvf rrdtool-1.2.23.tar.gz
  #cd rrdtool-1.2.23
  #./configure  --prefix=/usr/local/rrdtool
  #make
  #make install
 
创建必要的符号链接(Extman会到这些路径下找相关的库文件)
#ln  -sv /usr/local/rrdtool/lib/perl/5.8.5/i386-linux-thread-multi/auto/RRDs/RRDs.so  /usr/lib/perl5/5.8.5/i386-linux- thread-multi
#ln �Csv /usr/local/rrdtool/lib/perl/5.8.5/RRDp.pm  /usr/lib/perl5/5.8.5/
#ln �Csv /usr/local/rrdtool/lib/perl/5.8.5/i386-linux-thread-multi/RRDs.pm
 /usr/lib/perl5/5.8.5/
 
复制mailgraph_ext/usr/local,并启动之
#cp  -r /usr/local/apache/htdocs/extman/addon/mailgraph_ext  /usr/local
#/usr/local/mailgraph_ext/mailgraph-init start
#/usr/local/mailgraph_ext/qmonitor-init start
 
添加到自动启动行列
#echo “/usr/local/mailgraph_ext/mailgraph-init start”>>/etc/rc.local
#echo “/usr/local/mailgraph_ext/qmonitor-init start”>>/etc/rc.local
 
postfix安装以及配置5_第1张图片
 

你可能感兴趣的:(职场,postfix,休闲)