Vorlage:Rocky Setup: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „==Hostname== *hostnamectl hostname <span style="color:red">'''NS'''</span> ==Netzwerk== nmcli con mod enp0s3 ipv4.addresses <span style="color:red">'''IP/CID…“)
 
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
==Hostname==
 
==Hostname==
*hostnamectl hostname <span style="color:red">'''NS'''</span>
+
*hostnamectl hostname <span style="color:red">'''FQDN'''</span>
  
 
==Netzwerk==
 
==Netzwerk==
nmcli con mod enp0s3 ipv4.addresses <span style="color:red">'''IP/CIDR'''</span>
+
*nmcli con mod enp0s3 ipv4.addresses <span style="color:red">'''IP/CIDR'''</span>
nmcli con mod enp0s3 ipv4.gateway <span style="color:red">'''GW'''</span>
+
*nmcli con mod enp0s3 ipv4.gateway <span style="color:red">'''GW'''</span>
nmcli con mod enp0s3 ipv4.dns <span style="color:red">'''NS'''</span>
+
*nmcli con mod enp0s3 ipv4.dns <span style="color:red">'''NS'''</span>
nmcli con mod enp0s3 ipv4.method manual
+
*nmcli con mod enp0s3 ipv4.method manual
nmcli con mod enp0s3 connection.autoconnect yes
+
*nmcli con mod enp0s3 connection.autoconnect yes
nmcli con up enp0s3
+
*nmcli con up enp0s3
  
 
==Nameserver & Suchdomain==
 
==Nameserver & Suchdomain==
 
Der DNS wird bereits über nmcli gesetzt. Suchdomain ergänzen:
 
Der DNS wird bereits über nmcli gesetzt. Suchdomain ergänzen:
nmcli con mod enp0s3 ipv4.dns-search <span style="color:red">'''DOM'''</span>
+
*nmcli con mod enp0s3 ipv4.dns-search <span style="color:red">'''DOM'''</span>
nmcli con up enp0s3
+
*nmcli con up enp0s3
 +
==Tools die wir haben wollen==
 +
*dnf install vim sudo git curl tcpdump nmap wget epel-release policycoreutils-python-utils tar
 +
 
 +
== Kit Stamm-CA ziehen und in das System einbauen==
 +
*wget https://web.samogo.de/certs/ca.crt
 +
*cp ca.crt /etc/pki/ca-trust/source/anchors/
 +
*update-ca-trust extract
 +
== Zertifikat und Key holen ==
 +
* wget -nv -O /tmp/own.int.tgz https://web.samogo.de/certs/it2XX.int.tgz
 +
* tar -C /tmp -xvzf /tmp/own.int.tgz
 +
* mv /tmp/fullchain.pem /etc/ssl/own.crt
 +
* mv /tmp/privkey.pem /etc/ssl/own.key

Aktuelle Version vom 5. Juli 2026, 11:04 Uhr

Hostname

  • hostnamectl hostname FQDN

Netzwerk

  • nmcli con mod enp0s3 ipv4.addresses IP/CIDR
  • nmcli con mod enp0s3 ipv4.gateway GW
  • nmcli con mod enp0s3 ipv4.dns NS
  • nmcli con mod enp0s3 ipv4.method manual
  • nmcli con mod enp0s3 connection.autoconnect yes
  • nmcli con up enp0s3

Nameserver & Suchdomain

Der DNS wird bereits über nmcli gesetzt. Suchdomain ergänzen:

  • nmcli con mod enp0s3 ipv4.dns-search DOM
  • nmcli con up enp0s3

Tools die wir haben wollen

  • dnf install vim sudo git curl tcpdump nmap wget epel-release policycoreutils-python-utils tar

Kit Stamm-CA ziehen und in das System einbauen

Zertifikat und Key holen