File: INSTALL

package info (click to toggle)
ipwatchd 1.2-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 160 kB
  • ctags: 59
  • sloc: ansic: 1,062; sh: 80; makefile: 78
file content (80 lines) | stat: -rw-r--r-- 2,007 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
IPwatchD requirements
---------------------

To build IPwatchD from source code you will need gcc, libpcap 
and libnet1 installed in your system.

To build IPwatchD G Notify (Notification tool for Gnome 
environment) you will also need libnotify.

On Ubuntu 8.04 it should be sufficient to install following packages:

  - build-essential - C compiler and other development tools
  - libpcap-dev     - Network packet capture library
  - libnet1-dev     - Network packet construction library

  - libnotify-dev   - Desktop notification library


Building IPwatchD
-----------------

Download IPwatchD source from sourceforge project page.

Extract code and build it:
$ gunzip ipwatchd-x.x.tar.gz
$ tar -xf ipwatchd-x.x.tar
$ cd ipwatchd-x.x/src
$ make

You can install IPwatchD as root with command:
# make install

You can uninstall IPwatchD as root with command:
# make uninstall


Building IPwatchD G Notify
--------------------------

Download IPwatchD source from sourceforge project page.

Extract code and build it:
$ gunzip ipwatchd-gnotify-x.x.tar.gz
$ tar -xf ipwatchd-gnotify-x.x.tar
$ cd ipwatchd-gnotify-x.x/src
$ make

You can install IPwatchD G Notify as root with command:
# make install

You can uninstall IPwatchD G Notify as root with command:
# make uninstall


What gets installed
-------------------

/etc/ipwatchd.conf                 - configuration file
/etc/init.d/ipwatchd               - init script
/usr/sbin/ipwatchd                 - daemon executable
/usr/sbin/ipwatchd-script          - user-defined script
/usr/share/man/man8/ipwatchd.8.gz  - manual page

/usr/sbin/ipwatchd-gnotify         - gnome notification tool


IPwatchD configuration
----------------------

Edit configuration file /etc/ipwatchd.conf with your 
favorite text editor to suite your needs.

You can run IPwatchD as root with init script:
# /etc/init.d/ipwatchd start

Or you can run it with command:
# /usr/sbin/ipwatchd -c /etc/ipwatchd.conf

For more information please read "ipwatchd" manual page.