Skip to content

Commit 8ef9374

Browse files
committed
Updating installation instructions
Signed-off-by: Scott R. Shinn <[email protected]>
1 parent 4ea4163 commit 8ef9374

File tree

3 files changed

+35
-66
lines changed

3 files changed

+35
-66
lines changed

about.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,12 @@ for each release. You can find out more about Atomicorp product and support offe
8686
their sales team at [email protected] or visiting their products listing page at:
8787
`<https://atomicorp.com/product-listing/>`_.
8888

89-
**Wazuh**
90-
91-
Wazuh provides `support and professional services <http://www.wazuh.com/professional-services/>`_ to Wazuh OSSEC users. The services include training, deployment assistance, health-checks, tuning and commercial support. You can reach Wazuh team at: [email protected].
92-
93-
Wazuh also contributes to the OSSEC project maintaining `installers <http://ossec.wazuh.com>`_ and providing an Open Source `ruleset <http://www.wazuh.com/ossec-ruleset/>`_ to improve OSSEC detection and log analysis capabilities. Wazuh has developed its own modules for OSSEC integration with Log management systems like Splunk or `Elasticsearch <http://wazuh.com/elk-stack/>`_. Their website includes documentation explaining how to use OSSEC to get in compliance with `PCI-DSS <http://www.wazuh.com/pci-dss>`_, and to monitor Amazon AWS environments.
94-
9589
OSSEC Team
9690
~~~~~~~~~~
9791

9892
Currently the core OSSEC Team consists of the following developers and committers:
9993

10094

101-
10295
**Scott R. Shinn** – OSSEC Development Manager – scott (at) atomicorp.com
10396

10497
**Dan Parriott** – Community support, docs, rules, testing – ddpbsd (at) gmail.com

docs/manual/installation/installation-package.rst

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,13 @@ And for an agent run:
3434
Deb Installation
3535
----------------
3636

37-
OSSEC's deb packages are available in the Wazuh repository.
37+
OSSEC's DEB packages are made available by `Atomicorp <http://www.atomicorp.com>`_.
3838

39-
Install the apt-get repository key:
39+
Run the Repo installer:
4040

4141
.. code-block:: console
4242
43-
# apt-key adv --fetch-keys http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key
44-
45-
Add the repository for Debian (available distributions are Sid, Jessie and Wheezy):
46-
47-
.. code-block:: console
48-
49-
# echo 'deb http://ossec.wazuh.com/repos/apt/debian wheezy main' >> /etc/apt/sources.list
50-
51-
Or add the repository for Ubuntu (available distributions are Precise, Trusty and Utopic):
52-
53-
.. code-block:: console
54-
55-
# echo 'deb http://ossec.wazuh.com/repos/apt/ubuntu precise main' >> /etc/apt/sources.list
43+
# wget -q -O - https://updates.atomicorp.com/installers/atomic | sudo bash
5644
5745
Update the repository:
5846

docs/manual/installation/installation-requirements.rst

Lines changed: 32 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _install_req:
22

3-
Installations requirements
3+
Installation requirements
44
==========================
55

66
For UNIX systems, OSSEC only requires gnu make, gcc, and libc.
@@ -51,82 +51,70 @@ To use the included version of zlib, simply set `ZLIB_SYSTEM` to `no`:
5151
# cd ossec-hids-*
5252
# ZLIB_SYSTEM=no ./install.sh
5353
54-
Ubuntu
54+
RedHat / Centos / Fedora / Amazon Linux
5555
------
5656

57-
At a minimum, the following packages should be installed:
57+
Step 1) At a minimum, the following packages should be installed:
5858

5959
.. code-block:: console
6060
61-
apt-get install build-essential make zlib1g-dev libpcre2-dev
62-
63-
On Ubuntu you will need the *build-essential* package in order to
64-
compile and install OSSEC.
61+
yum install zlib-devel pcre2-devel make gcc zlib-devel pcre2-devel sqlite-devel openssl-devel
6562
66-
To install the package run the following command.
63+
Step 2) For optional database support add thepackage mysql-devel and/or postgresql-devel packages
6764

6865
.. code-block:: console
6966
70-
# apt-get install build-essential zlib1g-dev
71-
72-
To use the system's pcre2 libraries, install the libpcre2 development package:
73-
74-
.. code-block:: console
67+
yum install mysql-devel postgresql-devel
7568
76-
# apt-get install libpcre2-dev
7769
78-
If database support is needed *mysql-dev* or *postgresql-dev* should be
79-
installed. Run the following command to install these packages.
80-
81-
.. code-block:: console
82-
83-
# apt-get install mysql-dev postgresql-dev
84-
85-
To use the SQLite features, the `libsqlite3-dev` package is necessary.
86-
87-
.. versionadded:: 3.0
70+
Step 3) Run the installation script
8871

8972
.. code-block:: console
9073
91-
# apt-get install libsqlite3-dev
74+
./install.sh
9275
9376
94-
RedHat
77+
78+
Ubuntu / Debian
9579
------
9680

9781
At a minimum, the following packages should be installed:
9882

9983
.. code-block:: console
10084
101-
yum install zlib-devel pcre2-devel make gcc
85+
apt-get install build-essential make zlib1g-dev libpcre2-dev
10286
103-
RedHat should have most of the packages needed by default. The zlib development package
104-
should be installed:
87+
On Ubuntu you will need the *build-essential* package in order to
88+
compile and install OSSEC.
89+
90+
To install the package run the following command.
10591

10692
.. code-block:: console
10793
108-
# yum install zlib-devel
94+
apt-get install build-essential zlib1g-dev
10995
110-
To use the system's pcre2 libraries, add the pcre2 development package:
96+
To use the system's pcre2 libraries, install the libpcre2 development package:
11197

11298
.. code-block:: console
11399
114-
# yum install pcre2-devel
100+
apt-get install libpcre2-dev
115101
116-
If database support is needed the package mysql-devel and/or postgresql-devel will
117-
need to be installed.
102+
If database support is needed *mysql-dev* or *postgresql-dev* should be
103+
installed. Run the following command to install these packages.
118104

119-
.. code-block:: console
105+
.. code-block:: console
120106
121-
# yum install mysql-devel postgresql-devel
107+
apt-get install mysql-dev postgresql-dev
122108
123-
To use the SQLite features, the `sqlite-devel` package is necessary.
109+
To use the SQLite features, the `libsqlite3-dev` package is necessary.
124110

125111
.. versionadded:: 3.0
126112

127113
.. code-block:: console
128114
129-
# yum install sqlite-devel
115+
apt-get install libsqlite3-dev
116+
117+
130118
131119
OpenSuse
132120
--------
@@ -135,20 +123,20 @@ The zlib development package should be installed:
135123

136124
.. code-block:: console
137125
138-
# zypper install zlib-devel
126+
zypper install zlib-devel
139127
140128
To use the system's pcre2 libraries, add the pcre2 development package:
141129

142130
.. code-block:: console
143131
144-
# zypper install pcre2-devel
132+
zypper install pcre2-devel
145133
146134
If database support is needed the package mysql-devel and/or postgresql-devel will
147135
need to be installed.
148136

149137
.. code-block:: console
150138
151-
# zypper install postgresql-devel mysql-devel
139+
zypper install postgresql-devel mysql-devel
152140
153141
FreeBSD
154142
-------
@@ -183,8 +171,8 @@ It only offers **security/ossec-hids**, so:
183171

184172
.. code-block:: console
185173
186-
# cd /usr/ports/security/ossec-hids
187-
# make
174+
cd /usr/ports/security/ossec-hids
175+
make
188176
189177
Just like the previous example with FreeBSD, if you want to install it all (not just the
190178
dependencies) you must run ``make install`` instead. Another option would be using
@@ -219,6 +207,6 @@ This can also be avoided by using bash to run ``install.sh``:
219207

220208
.. code-block:: console
221209
222-
# bash ./install.sh
210+
bash ./install.sh
223211
224212

0 commit comments

Comments
 (0)