Anpassen des Debian Templates

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Hostname

  • hostnamectl set-hostname FQDN

Netzwerk

  • nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet static 
 address IP/CIDR
 gateway GW
 dns-nameservers NS
 dns-search DOM

Reboot

  • systemctl reboot