forked from polcak/pcf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
54 lines (37 loc) · 1.5 KB
/
INSTALL
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
INSTALL
-------
It is neccessary to have these dependencies:
libpcap (+libpcap-dev)
libxml2
It is possible to compile and install the program using these three commands:
make - compiles pcf and log_reader (Compiler supporting C++0x is necessary)
make install - installs the program to the bin/ (../bin) directory. You can
change the desired directory by setting the INSTALL_DIR
appropriately, e.g. make install INSTALL_DIR=/opt/pcf
make clean - removes binary files from src/ directory
UNINSTALL
---------
To uninstall pcf run (in src/ directory):
make uninstall
Binary files stored in bin/ directory are removed. Data saved in other
directories and configuration files are not removed.
WARNING! Following install procedure will replace the configuration file with
the one stored in src/ directory.
RUN TIME DEPENDENCIES
---------------------
In order to generate graphs correctly you need these programs:
Gnuplot
Ghostscript
WEB INTERFACE
-------------
In order to run web interface you have to configure your web server. PHP
module is necessary to run the web interface.
The root directory is www/, graphs are stored in www/graph. Ensure that
www/data/database.xml, www/data/javascript/database.xml, and
www/data/database.xml are writeable by WWW server in order to save clock skew of
recognized computers.
DOCUMENTATION
-------------
Documentation can be automatically created by doxygen:
make doc - creates documentation in doc/ directory
By default HTML and LaTeX documentation is created.