obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git] / INSTALL
1 OSSEC v3.3.0
2 Copyright (C) 2019 Trend Micro Inc.
3
4
5 = Information about OSSEC =
6
7 Visit http://www.ossec.net
8
9
10 = Recommended Installation =
11
12 OSSEC installation is very simple. It can be done in the
13 fast way (using the script install.sh with the default values)
14 or in the customized way (by hand or by changing the default values
15 in the install.sh script). I REALLY recommend EVERYONE to use the
16 FAST WAY! Only developers or experienced people should use the
17 other methods.
18
19 Fast way steps:
20
21 1- Run the script ./install.sh. It will guide you through the 
22    installation process.
23
24 2- The script will create everything in /var/ossec and try to
25    create the initialization script in your system (/etc/rc.local
26    or /etc/rc.d/init.d/ossec). If the init script is not created,
27    make sure to follow the instructions from the install.sh to make
28    OSSEC HIDS start during the boot. To start it by hand, just run
29    /var/ossec/bin/ossec-control start
30
31 3- If you are running it on multiple clients, make sure to install
32    the server first. Use the manage_agents tool
33    to create the right encryption keys.
34
35 4- Enjoy.
36
37
38 = Installation and Running (99.99% should read ABOVE) =
39
40
41 By Hand Installation steps:
42
43 1- Create the necessary directories (by default /var/ossec).
44 2- Move the necessary files to the ossec directory.
45 3- Compile everything.
46 4- Move the binaries to the default directory.
47 5- Create the necessary users.
48 6- Set the right permissions to the files.
49
50
51 This 5 steps are done in the Makefile (see make server).
52
53 The Makefile read the options from the LOCATION file. Change
54 whatever you need from there.
55
56 To compile everything by yourself:
57
58         % make clean
59         % make all (step 3)
60         % su
61         # make server (will do steps 1,2,4 and 6 above)
62
63 *Before running make server, make sure to have the necessary users created.
64 The Makefile will not do that.
65
66 #EOF