首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    AWStats简介

    安装 [url]http://sourceforge.net/projects/awstats/[/url] 下载安装包后: GNU/Linux:tar zxf awstats-version.tgz awstats的脚本和静态文件缺省都在wwwroot目录下:将cgi-bin目录下的文件都部署到 cgi-bin/目录下:/home/apache/cgi-bin/awstats/ mv awstats-version/wwwroot/cgi-bin /path/to/apache/cgi-bin/awstats 把图标等文件目录复制到WEB的HTML文件发布目录下,例如:/home/apache/htdocs/ 下发布 更多的批量更新脚本等在tools 目录下,可以一并放到cgi-bin/awstats/ 目录下 升级国内主要 搜索引擎和蜘蛛定义,安装GeoIP的应用库:C [url]http://www.maxmind.com/download/geoip/api/c/[/url] 解包,编译安装 perl -MCPAN -e ‘install “Geo::IP”‘ 或者使用纯Perl包 perl -MCPAN -e ‘install “Geo::IP::PurePerl”‘ 下载GeoIP/GeoIPCityLite包:解包并部署到awstats目录下:

    03

    Cacti插件安装之NTOP

    一,安装ntop 在官网获得最新源码包 wget http://cdnetworks-kr-2.dl.sourceforge.net/project/ntop/ntop/ntop-4.0.1/ntop-4.0.1.tar.gz 安装环境如下 Quick Instructions ================== 1. Get and install mandatory packages/tools       These instructions assume your system is already provided with       the normal source compile tools.  Most are gnu packages, available       through http://www.gnu.org or your favorite prebuilt package source.       Using their RedHat package names, these are:          - glibc, glibc-devel, gcc, cpp          - Some version of awk          - libtool (1.4+)                Note that there are reports of success with libtool 1.3.x under                FreeBSD so the script allows this.          - m4          - autoconf (2.53+)          - automake (1.6+)          - gdbm, gdbm-devel          - libpcap (http://www.tcpdump.org)          - librrdtool 1b. Optional packages          - openssl, openssl-devel (http://www.openssl.org)          - zlib, zlib-devel 2. Build ntop    - cd ntop    - ./autogen.sh    - make    - make install 如果./autoen.sh后make时报错过不去 错误一 checking for GeoIP_record_by_ipnum in -lGeoIP... no Please install GeoIP (http://www.maxmind.com/) 解决方法: wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz tar xzvf it ./configure it make it make install it 错误二 If you run into problems, you can ALWAYS recreate the generated files    via this procedure:       rm -f acinclude.m4 aclocal.m4 Makefile.in config.h.in configure Makefile       find current versions of libtool, config.guess and config.sub and cp       them into your working directory.       cat acinclude.m4.ntop libtool.m4.in > acinclude.m4       aclocal       autoheader       autoconf       automake --gnu --copy --add-missing    and then:       ./configure ...       make       make install    as usual. 二,安装后调试 1,设置ntop # chown -R nobody /usr/local/var/ntop 安全 # ntop -A设置密码 # ntop -i eth0 -d -l echo " ntop -i eth0 -d -l " >>/etc/rc.local >& /dev/null开机启动 http://ip:3000测试 2,配置文件中加入插件 在cacti官网上下载ntop插件 wget http://docs.cact

    02
    领券