doc/userguide: provide more RPM doc

- Address the various RPM distributions
- User info
- Systemd info

Related issue: #5884
pull/8867/head
Jason Ish 3 years ago committed by Victor Julien
parent b3c7130749
commit b0c329da04

@ -150,28 +150,81 @@ For Debian 10 (buster), for instance, run the following as ``root``::
apt-get update apt-get update
apt-get install suricata -t buster-backports apt-get install suricata -t buster-backports
Fedora CentOS, AlmaLinux, RockyLinux, Fedora, etc
^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The following is an example of installing Suricata 6.0 on Fedora. If you wish to install 5.0 instead, change the version in *@oisf/suricata-6.0*. RPMs are provided for the latest release of *Enterprise Linux*. This
includes CentOS Linux and rebuilds such as AlmaLinux and RockyLinux.
Additionally, RPMs are provided for the latest supported versions of Fedora.
:: RPMs specifically for CentOS Stream are not provided, however the RPMs for their
related version may work fine.
dnf install dnf-plugins-core Installing From Package Repositories
dnf copr enable @oisf/suricata-6.0 """"""""""""""""""""""""""""""""""""
dnf install suricata
RHEL/CentOS 8 and 7 CentOS, RHEL, AlmaLinux, RockyLinux, etc Version 8+
^^^^^^^^^^^^^^^^^^^ '''''''''''''''''''''''''''''''''''''''''''''''''''
.. code-block:: none
dnf install epel-release dnf-plugins-core
dnf copr enable @oisf/suricata-7.0
dnf install suricata
The following is an example of installing Suricata 6.0 on CentOS. If you wish to install 5.0 instead, change the version in *@oisf/suricata-6.0*. CentOS 7
''''''''
:: .. code-block:: none
yum install epel-release yum-plugin-copr yum install epel-release yum-plugin-copr
yum copr enable @oisf/suricata-6.0 yum copr enable @oisf/suricata-7.0
yum install suricata yum install suricata
Fedora
''''''
.. code-block:: none
dnf install dnf-plugins-core
dnf copr enable @oisf/suricata-7.0
dnf install suricata
Additional Notes for RPM Installations
""""""""""""""""""""""""""""""""""""""
- Suricata is pre-configured to run as the ``suricata`` user.
- Command line parameters such as providing the interface names can be
configured in ``/etc/sysconfig/suricata``.
- Users can run ``suricata-update`` without being root provided they
are added to the ``suricata`` group.
- Directories:
- ``/etc/suricata``: Configuration directory
- ``/var/log/suricata``: Log directory
- ``/var/lib/suricata``: State directory rules, datasets.
Starting Suricata On-Boot
'''''''''''''''''''''''''
The Suricata RPMs are configured to run from Systemd.
To start Suricata::
systemctl start suricata
To stop Suricata::
systemctl stop suricata
To have Suricata start on-boot::
systemctl enable suricata
To reload rules::
systemctl reload suricata
.. _install-advanced: .. _install-advanced:
Advanced Installation Advanced Installation

Loading…
Cancel
Save