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…“) |
|||
| Zeile 1: | Zeile 1: | ||
==Hostname== | ==Hostname== | ||
| − | *hostnamectl hostname '''NS''' | + | *hostnamectl hostname <span style="color:red">'''NS'''</span> |
==Netzwerk== | ==Netzwerk== | ||
| 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> |
==Namerserver== | ==Namerserver== | ||
*vim /etc/resolv.conf | *vim /etc/resolv.conf | ||
| − | nameserver '''NS''' | + | nameserver <span style="color:red">'''NS'''</span> |
| − | search '''DOM''' | + | search <span style="color:red">'''DOM'''</span> |
==Hosts== | ==Hosts== | ||
*vim /etc/hosts | *vim /etc/hosts | ||
127.0.0.1 localhost | 127.0.0.1 localhost | ||
| − | 127.0.1.1 '''FQDN''' '''NS''' | + | 127.0.1.1 <span style="color:red">'''FQDN'''</span> <span style="color:red">'''NS'''</span> |
# The following lines are desirable for IPv6 capable hosts | # The following lines are desirable for IPv6 capable hosts | ||
Version vom 28. März 2026, 08:53 Uhr
Hostname
- hostnamectl hostname NS
Netzwerk
- vim /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
Namerserver
- vim /etc/resolv.conf
nameserver NS search DOM
Hosts
- vim /etc/hosts
127.0.0.1 localhost 127.0.1.1 FQDN NS # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Reboot
- systemctl reboot