Anpassen des Debian Templates: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „==Hostname== *hostnamectl hostname '''NS''' ==Netzwerk== *vim /etc/network/interfaces # This file describes the network interfaces available on your system…“) |
|||
| (16 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
==Hostname== | ==Hostname== | ||
| − | *hostnamectl hostname ''' | + | *hostnamectl set-hostname <span style="color:red">'''FQDN'''</span> |
==Netzwerk== | ==Netzwerk== | ||
| − | * | + | *nano /etc/network/interfaces |
# This file describes the network interfaces available on your system | # This file describes the network interfaces available on your system | ||
| Zeile 17: | Zeile 17: | ||
auto enp0s3 | auto enp0s3 | ||
iface enp0s3 inet static | iface enp0s3 inet static | ||
| − | address '''IP/CIDR''' | + | address <span style="color:red">'''IP/CIDR'''</span> |
| − | gateway '''GW''' | + | gateway <span style="color:red">'''GW'''</span> |
| − | + | dns-nameservers <span style="color:red">'''NS'''</span> | |
| − | = | + | dns-search <span style="color:red">'''DOM'''</span> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Reboot== | ==Reboot== | ||
*systemctl reboot | *systemctl reboot | ||
Aktuelle Version vom 2. Juni 2026, 12:26 Uhr
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