Vorlage:Rocky Setup: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
==Hostname==
 
==Hostname==
*hostnamectl hostname <span style="color:red">'''FQDN'''</span>
+
*hostnamectl set-hostname <span style="color:red">'''FQDN'''</span>
  
 
==Netzwerk==
 
==Netzwerk==

Version vom 20. Juli 2026, 06:27 Uhr

Hostname

  • hostnamectl set-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