Vorlage:Rocky Setup: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(4 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==
Zeile 15: Zeile 15:
 
*nmcli con up enp0s3
 
*nmcli con up enp0s3
 
==Tools die wir haben wollen==
 
==Tools die wir haben wollen==
*dnf install vim sudo git curl tcpdump nmap wget epel-release policycoreutils-python-utils
+
*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