mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Merge pull request #5632 from Icinga/feature/docs-getting-started-selinux
Docs: Mention SELinux in Getting Started chapter
This commit is contained in:
commit
0ca9a1a5b3
@ -343,7 +343,7 @@ Examples:
|
|||||||
If you're stuck with configuration errors, you can manually invoke the
|
If you're stuck with configuration errors, you can manually invoke the
|
||||||
[configuration validation](11-cli-commands.md#config-validation).
|
[configuration validation](11-cli-commands.md#config-validation).
|
||||||
|
|
||||||
### FreeBSD
|
### FreeBSD <a id="running-icinga2-freebsd"></a>
|
||||||
|
|
||||||
On FreeBSD you need to enable icinga2 in your rc.conf
|
On FreeBSD you need to enable icinga2 in your rc.conf
|
||||||
|
|
||||||
@ -351,6 +351,31 @@ On FreeBSD you need to enable icinga2 in your rc.conf
|
|||||||
|
|
||||||
# service icinga2 restart
|
# service icinga2 restart
|
||||||
|
|
||||||
|
|
||||||
|
### SELinux <a id="running-icinga2-selinux"></a>
|
||||||
|
|
||||||
|
SELinux is a mandatory access control (MAC) system on Linux which adds
|
||||||
|
a fine-grained permission system for access to all system resources such
|
||||||
|
as files, devices, networks and inter-process communication.
|
||||||
|
|
||||||
|
Icinga 2 provides its own SELinux policy. `icinga2-selinux` is a policy package
|
||||||
|
for Red Hat Enterprise Linux 7 and derivatives. The package runs the targeted policy
|
||||||
|
which confines Icinga 2 including enabled features and running commands.
|
||||||
|
|
||||||
|
RHEL/CentOS 7:
|
||||||
|
|
||||||
|
```
|
||||||
|
yum install icinga2-selinux
|
||||||
|
```
|
||||||
|
|
||||||
|
Fedora:
|
||||||
|
|
||||||
|
```
|
||||||
|
dnf install icinga2-selinux
|
||||||
|
```
|
||||||
|
|
||||||
|
Read more about SELinux in [this chapter](22-selinux.md#selinux).
|
||||||
|
|
||||||
## Configuration Syntax Highlighting <a id="configuration-syntax-highlighting"></a>
|
## Configuration Syntax Highlighting <a id="configuration-syntax-highlighting"></a>
|
||||||
|
|
||||||
Icinga 2 ships configuration examples for syntax highlighting using the `vim` and `nano` editors.
|
Icinga 2 ships configuration examples for syntax highlighting using the `vim` and `nano` editors.
|
||||||
@ -379,7 +404,7 @@ SLES/openSUSE:
|
|||||||
|
|
||||||
Alpine Linux:
|
Alpine Linux:
|
||||||
|
|
||||||
# apk add icinga2-vim
|
# apk add icinga2-vim
|
||||||
|
|
||||||
Ensure that syntax highlighting is enabled e.g. by editing the user's `vimrc`
|
Ensure that syntax highlighting is enabled e.g. by editing the user's `vimrc`
|
||||||
configuration file:
|
configuration file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user