Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2001
    Location
    the Netherlands
    Posts
    542

    Webalizer Raq550 pkg

    There's been talk about this before, but did anyone find a package or a methode yet to install webalizer on a raq550?

    Any simpel alternatives?

    Thanks

  2. #2
    Join Date
    Feb 2002
    Location
    The Netherlands
    Posts
    308
    install it manually ??

    Always better and much more flexible.
    http://www.HaVa.nl
    Reliable hosting and Colocation

  3. #3
    Join Date
    Jan 2001
    Location
    the Netherlands
    Posts
    542
    i could give that a try but am afraid i mess up.
    Have you installed Webalizer on a 550 before?

    Additionally, on a Raq4/3 one could pico Ftp.pm to change the initial directory for FTP user to /web, i could not find the appropriate file on the 550 to try the same.
    Anyone any suggestions?

    Thanks in advance.

  4. #4
    Join Date
    Feb 2002
    Location
    The Netherlands
    Posts
    308
    is the raq5 running PROFTPD ??
    http://www.HaVa.nl
    Reliable hosting and Colocation

  5. #5
    Join Date
    Jan 2001
    Location
    the Netherlands
    Posts
    542
    I think it does:

    [admin admin]$ locate proftpd
    /var/run/proftpd
    /var/run/proftpd/proftpd-inetd
    /etc/logrotate.d/proftpd
    /etc/proftpd.conf
    /usr/sbin/in.proftpd
    /usr/sbin/proftpd
    /usr/doc/proftpd-1.2.4
    /usr/doc/proftpd-1.2.4/API
    /usr/doc/proftpd-1.2.4/Changes-1.2.0pre3
    /usr/doc/proftpd-1.2.4/Configuration.html
    /usr/doc/proftpd-1.2.4/FAQ-config.html
    /usr/doc/proftpd-1.2.4/GetConf
    /usr/doc/proftpd-1.2.4/PFTEST.conf.in
    /usr/doc/proftpd-1.2.4/PFTEST.group
    /usr/doc/proftpd-1.2.4/PFTEST.install
    /usr/doc/proftpd-1.2.4/PFTEST.passwd
    /usr/doc/proftpd-1.2.4/PFTEST.shadow
    /usr/doc/proftpd-1.2.4/README
    /usr/doc/proftpd-1.2.4/README.AIX
    /usr/doc/proftpd-1.2.4/README.FreeBSD
    /usr/doc/proftpd-1.2.4/README.LDAP
    /usr/doc/proftpd-1.2.4/README.PAM
    /usr/doc/proftpd-1.2.4/README.Solaris2.5x
    /usr/doc/proftpd-1.2.4/README.Unixware
    /usr/doc/proftpd-1.2.4/README.linux-privs
    /usr/doc/proftpd-1.2.4/README.mod_sql
    /usr/doc/proftpd-1.2.4/README.mod_wrap
    /usr/doc/proftpd-1.2.4/README.modules
    /usr/doc/proftpd-1.2.4/README.ports
    /usr/doc/proftpd-1.2.4/README.ratio
    /usr/doc/proftpd-1.2.4/ShowUndocumented
    /usr/doc/proftpd-1.2.4/Undocumented.txt
    /usr/doc/proftpd-1.2.4/anonymous.conf
    /usr/doc/proftpd-1.2.4/basic.conf
    /usr/doc/proftpd-1.2.4/complex-virtual.conf
    /usr/doc/proftpd-1.2.4/development.notes
    /usr/doc/proftpd-1.2.4/license.txt
    /usr/doc/proftpd-1.2.4/mod_sample.c
    /usr/doc/proftpd-1.2.4/rfc
    /usr/doc/proftpd-1.2.4/rfc/draft-bonachea-sftp-00.txt
    /usr/doc/proftpd-1.2.4/rfc/draft-ietf-ftpext-mlst-12.txt
    /usr/doc/proftpd-1.2.4/rfc/draft-ietf-ftpext-sec-consider-02.txt
    /usr/doc/proftpd-1.2.4/rfc/rfc0959.txt
    /usr/doc/proftpd-1.2.4/rfc/rfc2228.txt
    /usr/doc/proftpd-1.2.4/virtual.conf
    /usr/doc/proftpd-1.2.4/xferstats.holger-preiss
    /usr/man/man8/proftpd.8.gz
    I looked at virtual.conf and basic.conf, but did not find the proper section. Should i just add
    DefaultChdir ../..web site-adm
    Somewhere?

  6. #6
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    17
    manually installed and had it running for 3 days now on a raq550 and seems to be going ok. Was reasonably simple. Will post method if its needed.
    Asking is the answer

  7. #7
    Join Date
    Jan 2001
    Location
    the Netherlands
    Posts
    542
    Hi Wormie,

    That would be much appriciated, not only by me, but i think also by a lot of others.

    Thanks in advance.

  8. #8
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    17
    Someone might be able to amend and improve it a little. I'm still learning too but it works. Here goes.

    Step by step webalizer install and setup on a RaQ550.
    su to root
    mkdir html #don't ask me why? call it whatever.
    cd html
    cp /where/u/ftp'ed/the/file/webalizer-2.01.10-scr.tar .
    tar -xvpf webalizer-2.01.10-src.tar
    mv webalizer-2.01.10 webalizer
    cd webalizer
    ./configure
    make
    make install
    #Thats webalizer taken care of. Now to configure the whole thing.

    cd /etc/httpd/conf/vhosts
    ls
    #pico each site file you want stats for, and add
    #the following line under <VirtualHost 123.456.789.0>
    #replacing domain1 with the virtual site name.
    CustomLog /var/log/httpd/www.domain1.com-access_log combined
    #Exit, save and restart httpd to bring changes into effect.
    /etc/init.d/httpd restart

    Then for each domain there has to be a folder created where
    you want each virtual hosts stats sent.
    e.g. www.domain1.com/webstats

    Locate webalizer.conf, if it exists, and move it to /html/
    I had a sample.conf file located in the webalizer directory
    and moved it to /html/ then renamed it to sample.conf.orig

    cd /html
    pico sample.conf.orig
    #Included notes are very helpful and explain all option but i'll go
    through what is neccessary to get it going.
    Uncomment and edit the following names and numbers of the first site you want stats for.

    LogFile /var/log/httpd/www.domain1.com-access_log
    OutputDir /home/.sites/123/site321/web/webstats
    HistoryName webalizer.hist
    ReportTitle Usage Statistics for
    HostName www.domain1.com
    HTMLExtention html
    Quiet yes
    #There are a lot more options best left for you to decide but thats the bones.
    Save the file as www.domain1.com.conf

    Create, edit and save a custom file for each virtual site in '/html' with .conf extention.
    Finally, run this command daily or whenever. I run it from a cron on the hour.

    for i in /html/*conf; do webalizer -c $i; done

    Then go to www.domain1.com/webstats and ................

    For each new site all you gotta do is:
    add the CustomLog thingy to /etc/httpd/conf/vhosts/site## and restart
    add a directory to store the stats. e.g www.domain123.com/webstats
    and add a www.domain123.com.conf with specific setings to /html/

    Hope this helps. I know its a hassle if there are heaps of sites on the server
    but a good script could automate it a bit.
    Last edited by wormie; 09-24-2002 at 03:16 AM.
    Asking is the answer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •