Anpassen des Rocky Templates: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 1: Zeile 1:
 
{{Vorlage:Rocky Setup}}
 
{{Vorlage:Rocky Setup}}
 
==Hostname==
 
*hostnamectl hostname <span style="color:red">'''NS'''</span>
 
 
==Netzwerk==
 
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.dns <span style="color:red">'''NS'''</span>
 
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 <span style="color:red">'''DOM'''</span>
 
nmcli con up enp0s3
 
  
  

Aktuelle Version vom 4. Juli 2026, 15:54 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


Setup Script


Reboot

  • systemctl reboot

JumpHost

Auf dem KIT Host anfügen
  • vim ~/.ssh/config
Host SHORT
 Hostname IP
 ProxyJump kit@fw
PubKey Übertragung
  • ssh-copy-id SHORT

Danach könnt ihr euch mit ssh SHORT passswortlos einloggen