Debian Codegraph @

INSTALL

raw
1 Isoqlog 2.2.x INSTALL
2
3 - Installation
4
5 1. ./configure
6 If you would like to use default options just type 'configure'
7 To see more options type 'configure --help'
8
9 2. make
10 Compiling...
11 3. make install
12 Installing...
13 4. make clean
14 Removing objects files...
15
16 copy images and library directory that under htmltemp directory to isoqlog output directory
17 5. cp -pr /usr/local/share/isoqlog/htmltemp/images /usr/local/share/isoqlog/htmltemp/library isoqlogoutputdir/
18
19 6. You can run isoqlog more than once in a day, though you must run at least once before 00:00
20 (i.e. 23:58) to get current day's statistics.
21
22 7. If you're using postfix, sendmail or qmail-syslog, it is strongly suggested you rotate
23 your log files to get the data healthier.
24
25 # crontab -e
26
27 58 * * * * /usr/local/bin/isoqlog 1>/dev/null 2>/dev/null
28 this will run isoqlog every hour at 58. minute
29
30 That's all
31 IMPORTANT NOTE: If you type make and get an error like:
32 Makefile line:XXX need an operator, you better use gmake, not make.
33
34 - Files
35 When you untar package, you should see following files and directories:
36
37 Makefile -> You know what is this.
38 configure -> Prepares your system for custom installations.
39 isoqlog.conf -> Configuration file. (more isoqlog.conf)
40 isoqlog.domains -> Domains
41 htmltemp -> Contains HTML output templates. Edit them if you would like.
42
43 - After installation
44
45 Don't forget! If you configure your system with 'configure --prefix=install_dir'
46 edit isoqlog.conf and change prefix variables. Also change others.
47
48 NOTE:
49 An important thing to note here is that; keep the size of your log file large.
50 if you're using qmail with multilog, you can set this in the qmail-send/log/run
51 file with the s (size) parameter like this: (all in one line)
52 #!/bin/sh
53 exec /usr/local/bin/setuidgid \
54 qmaill /usr/local/bin/multilog t s5000000 \
55 /var/log/qmail
56
57 if you're using syslog, change the rotate size.
58
59
60 PROBLEMS
61
62 If you have trouble with GNU style configuration/installation please try Makefile.std
63
64 cp Makefile.std Makefile
65 make
66 make install
67
68 Sat Feb 26 17:27:47 EET 2005