You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/onprem/de/install_packages_redhat.asciidoc
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ xref:install_packages#[Grundsätzliches zur Installation von {CMK}]
13
13
{related-end}
14
14
15
15
16
+
[#setup_pkg_source]
16
17
== Einrichten der Paketquellen
17
18
18
19
{CMK} benötigt etliche Software-Pakete Ihrer Linux-Distribution.
@@ -43,7 +44,7 @@ Hier ein Beispiel für die Installation der EPEL-Paketquelle für die Version 10
43
44
Damit Sie EPEL auf RHEL und binärkompatiblen Distributionen nutzen können, benötigen Sie noch die Paketquelle für optionale RPMs, sofern diese nicht bereits bei der Installation des Betriebssystems eingerichtet worden ist.
44
45
Ohne diese Quelle werden Ihnen die Pakete `freeradius-utils`, `graphviz-gd` und `php-mbstring` fehlen.
45
46
46
-
Alle unterstützten Versionen von Red Hat Enterprise Linux verwenden die sogenannten PowerTools.
47
+
Alle unterstützten Versionen von Red Hat Enterprise Linux verwenden den sogenannten CodeReady Linux Builder (CRB):
47
48
Die Aktivierung nehmen Sie mit dem `subscription-manager` vor.
48
49
Für RHEL 10.x ist es zum Beispiel installierbar mit folgendem Befehl:
49
50
@@ -52,32 +53,32 @@ Für RHEL 10.x ist es zum Beispiel installierbar mit folgendem Befehl:
// Seit Version 8.x genügt hier die Aktivierung der sogenannten PowerTools mithilfe des Dandified YUM (`dnf`) in den freien binärkompatiblen Distributionen bzw. dem `subscription-manager` in RHEL.
56
-
57
-
AlmaLinux 8.x und Rocky Linux 8.x verwenden die PowerTools, ihre Aktivierung erfolgt mithilfe des Dandified YUM (`dnf`)
56
+
AlmaLinux 8.x und Rocky Linux 8.x verwenden die PowerTools, ihre Aktivierung erfolgt mithilfe des Dandified YUM (`dnf`):
Ab Version 9.x verwenden auch die freien binärkompatiblen Distributionen wie AlmaLinux und Rocky Linux statt den PowerTools den CodeReady Linux Builder (CRB):
63
+
Ab Version 9.x verwenden die freien binärkompatiblen Distributionen wie AlmaLinux und Rocky Linux statt den PowerTools auch CRB:
65
64
66
65
[{shell}]
67
66
----
68
67
{c-root} dnf config-manager --set-enabled crb
69
68
----
70
69
71
-
72
-
.Was ist der Unterschied zwischen PowerTools und CRB?
70
+
.Der Unterschied zwischen PowerTools und CRB
73
71
[%collapsible]
74
72
====
73
+
[#crb_powertools]
75
74
Der CodeReady Linux Builder (CRB) ist ein Repository, das zusätzliche Pakete für Entwickler enthält – es löst die älteren PowerTools ab.
76
75
Die PowerTools waren ein Überbleibsel aus dem CentOS-Projekt, CRB ist das modernere Äquivalent dazu.
77
76
Seit Version 8 setzt RHEL auf CRB.
78
77
Die binärkompatiblen Linux-Distributionen haben mit Version 9 nachgezogen und setzen seither ausschließlich auf CRB.
79
78
====
80
79
80
+
81
+
[#setup_selinux_firewall]
81
82
== Einrichten von SELinux und Firewall
82
83
83
84
Da RHEL und damit auch die binärkompatiblen Distributionen standardmäßig Security-Enhanced Linux (SELinux) und eine lokale Firewall mitliefern, müssen hier gegebenenfalls noch Anpassungen vorgenommen werden.
@@ -98,19 +99,21 @@ success
98
99
success
99
100
----
100
101
102
+
103
+
[#download]
101
104
== Herunterladen des passenden Pakets
102
105
103
106
// Die folgenden 3 Absätze sind identisch in install_packages_debian, install_packages_redhat und install_packages_sles
104
-
Wählen Sie zunächst die für Ihre Bedürfnisse passende xref:intro_setup#editions[{CMK}-Edition.]
107
+
Wählen Sie zunächst die für Ihre Bedürfnisse passende xref:intro_setup#editions[{CMK}-Edition].
105
108
Auf der link:https://checkmk.com/de/download[Download-Seite^] finden Sie {RE}, welche Open Source ist, und die bis 750 Services gratis nutzbare {CE}.
106
-
Wenn Sie eine Subskription besitzen, dann finden Sie die Installationspakete im link:https://portal.checkmk.com/de/[Kundenportal.^]
109
+
Wenn Sie eine Subskription besitzen, dann finden Sie die Installationspakete im link:https://portal.checkmk.com/de/[Kundenportal^].
107
110
108
111
Wir empfehlen den Einsatz der _letzten stabilen {CMK}-Version._
109
-
Falls Sie (beispielsweise als Basis für die Wiederherstellung eines Backups) eine ältere Version benötigen, finden Sie diese im link:https://checkmk.com/de/download/archive[Download-Archiv.^]
112
+
Falls Sie (beispielsweise als Basis für die Wiederherstellung eines Backups) eine ältere Version benötigen, finden Sie diese im link:https://checkmk.com/de/download/archive[Download-Archiv^].
110
113
Achten Sie darauf, dass das ausgewählte Paket exakt zur installierten Linux-Distribution und deren Version passt.
111
114
112
115
Nachdem Sie das Paket heruntergeladen haben, bringen Sie es auf das Linux-System, auf dem {CMK} installiert werden soll.
113
-
Das kann zum Beispiel über das Befehlszeilentool `scp` geschehen, welches jedes moderne System mitbringt – und auch seit Windows 10 in der PowerShell verfügbar ist.
116
+
Das kann zum Beispiel mit dem Befehlszeilentool `scp` geschehen, welches jedes moderne System mitbringt – und auch seit Windows 10 in der PowerShell verfügbar ist.
114
117
Zusätzliche Programme wie _WinSCP_ sind meist nicht erforderlich.
115
118
116
119
Das Beispiel zeigt die Übertragung eines {CRE} Pakets auf RHEL 8.x:
@@ -152,6 +155,8 @@ Sobald Sie den Schlüssel importiert haben, können Sie das Paket noch einmal ve
Copy file name to clipboardExpand all lines: src/onprem/en/install_packages_redhat.asciidoc
+31-11Lines changed: 31 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
// -*- coding: utf-8 -*-
2
+
// IGNORE CRB CodeReady
3
+
// NONASCII
2
4
include::global_attr.adoc[]
3
5
= Installation on Red Hat Enterprise Linux
4
-
:revdate: 2025-05-07
5
6
:title: Installation on Red Hat Enterprise Linux
6
7
:description: You can run {CMK} under Red Hat Enterprise Linux (RHEL) and binary compatible distributions. Read here how to install {CMK} in such environments.
7
8
@@ -12,6 +13,7 @@ xref:install_packages#[Basic information on the installation of {CMK}]
12
13
{related-end}
13
14
14
15
16
+
[#setup_pkg_source]
15
17
== Setting up the package sources
16
18
17
19
{CMK} requires a number of software packages from your Linux distribution.
@@ -22,7 +24,7 @@ With Red Hat Enterprise Linux (RHEL) and all binary compatible distributions suc
22
24
23
25
include::include_centos_clarification.asciidoc[]
24
26
25
-
You can do this with the help of an RPM package, which can be installed with the `dnf` command.
27
+
The setup as a package source is done with the help of an RPM package, which can be installed with the `dnf` command.
26
28
27
29
[cols="10,~",options="header"]
28
30
|===
@@ -32,34 +34,50 @@ You can do this with the help of an RPM package, which can be installed with the
In order to be able to use EPEL on Red Hat and binary compatible distributions, the package sources for optional RPMs are required if these haven’t already been installed during the operating system installation.
43
45
Without these sources the `freeradius-utils`, `graphviz-gd`, and `php-mbstring` packages will be missing.
44
46
45
-
As of version 8.x it will suffice to activate the so-called PowerTools with the help of Dandified YUM (`dnf`) in the free binary compatible distributions or the `subscription-manager` in RHEL respectively.
46
-
This can be done, e.g., with the following commands:
47
+
All supported versions of Red Hat Enterprise Linux use the CodeReady Linux Builder (CRB):
48
+
You can activate them using the `subscription-manager`.
49
+
For RHEL 10.x, for example, it can be installed with the following command:
CodeReady Linux Builder (CRB) is a repository that contains additional packages for developers – it replaces the older PowerTools.
74
+
PowerTools was a remnant of the CentOS project, CRB is the more modern equivalent.
75
+
RHEL has been using CRB since version 8.
76
+
The binary compatible Linux distributions followed suit with version 9 and have been using CRB exclusively ever since.
77
+
====
78
+
62
79
80
+
[#setup_selinux_firewall]
63
81
== Setup SELinux and Firewall
64
82
65
83
Since RHEL and thus also the binary compatible distributions also deliver Security-Enhanced Linux (SELinux) and a local firewall by default, adjustments may still have to be made here.
@@ -70,7 +88,7 @@ As the first step you will need to allow your web server to access the network i
70
88
{c-root} setsebool -P httpd_can_network_connect 1
71
89
----
72
90
73
-
Secondly, you release the web server and activate the change:
91
+
If you are using `firewalld`, enable the web server and activate the change:
74
92
75
93
[{shell}]
76
94
----
@@ -81,6 +99,7 @@ success
81
99
----
82
100
83
101
102
+
[#download]
84
103
== Download the appropriate packages
85
104
86
105
First choose the xref:intro_setup#editions[{CMK} edition] that suits your needs.
@@ -92,7 +111,7 @@ If you need an older version (for example, as the basis for restoring a backup),
92
111
Make sure that the package you select exactly matches the installed Linux distribution and its version.
93
112
94
113
After you have downloaded the package, bring it to the Linux system on which {CMK} is to be installed.
95
-
This can be done, for example, via the `scp` command line tool, which comes with every modern system -- and which is also available in PowerShell since Windows 10.
114
+
This can be done, for example, with the `scp` command line tool, which comes with every modern system -- and which is also available in PowerShell since Windows 10.
96
115
Additional programs such as _WinSCP_ are usually not required.
97
116
98
117
The example shows the transfer of a {CRE} package to a system running RHEL 8.x:
@@ -135,6 +154,7 @@ Once you have imported the key, you can verify the package and install it the us
135
154
----
136
155
137
156
157
+
[#test]
138
158
== Final test
139
159
140
160
After the successful installation of {CMK}, and all dependencies, you will have access to the `omd` command.
0 commit comments