ubuntu:20-04_server_install
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| ubuntu:20-04_server_install [2021/10/03 13:07] – [Handwerkszeug installieren] aptitude Sebastian Hetzel | ubuntu:20-04_server_install [2021/10/03 15:21] (aktuell) – [IPv6 abschalten] IPv6 statisch (alternativ) Sebastian Hetzel | ||
|---|---|---|---|
| Zeile 8: | Zeile 8: | ||
| * die Locale auf de_de | * die Locale auf de_de | ||
| * das Keyboard-Layout auf " | * das Keyboard-Layout auf " | ||
| + | * Hostname | ||
| ===== Handwerkszeug installieren ===== | ===== Handwerkszeug installieren ===== | ||
| Zeile 57: | Zeile 58: | ||
| NTP service: active | NTP service: active | ||
| RTC in local TZ: no | RTC in local TZ: no | ||
| + | </ | ||
| + | |||
| + | ===== NTP Client ===== | ||
| + | |||
| + | <file | / | ||
| + | # This file is part of systemd. | ||
| + | # | ||
| + | # systemd is free software; you can redistribute it and/or modify it | ||
| + | # under the terms of the GNU Lesser General Public License as published by | ||
| + | # the Free Software Foundation; either version 2.1 of the License, or | ||
| + | # (at your option) any later version. | ||
| + | # | ||
| + | # Entries in this file show the compile time defaults. | ||
| + | # You can change settings by editing this file. | ||
| + | # Defaults can be restored by simply deleting this file. | ||
| + | # | ||
| + | # See timesyncd.conf(5) for details. | ||
| + | |||
| + | [Time] | ||
| + | NTP=ptbtime1.ptb.de | ||
| + | FallbackNTP=ptbtime3.ptb.de ptbtime2.ptb.de | ||
| + | </ | ||
| + | |||
| + | Momentane Systemzeit ansehen: | ||
| + | |||
| + | < | ||
| + | timedatectl | ||
| + | </ | ||
| + | < | ||
| + | Local time: So 2018-11-25 11:26:59 CET | ||
| + | Universal time: So 2018-11-25 10:26:59 UTC | ||
| + | RTC time: So 2018-11-25 10:27:00 | ||
| + | Time zone: Europe/ | ||
| + | | ||
| + | systemd-timesyncd.service active: yes | ||
| + | RTC in local TZ: no | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | systemctl restart | ||
| + | systemctl status | ||
| + | ● systemd-timesyncd.service - Network Time Synchronization | ||
| + | | ||
| + | | ||
| + | Docs: man: | ||
| + | Main PID: 16475 (systemd-timesyn) | ||
| + | | ||
| + | Tasks: 2 (limit: 2319) | ||
| + | | ||
| + | | ||
| + | |||
| + | Nov 25 11:29:00 backup systemd[1]: Starting Network Time Synchronization... | ||
| + | Nov 25 11:29:00 backup systemd[1]: Started Network Time Synchronization. | ||
| + | Nov 25 11:29:01 backup systemd-timesyncd[16475]: | ||
| </ | </ | ||
| ===== Reaktivierung von ifupdown ===== | ===== Reaktivierung von ifupdown ===== | ||
| Zeile 113: | Zeile 168: | ||
| </ | </ | ||
| + | ===== IPv6 statisch (alternativ) ===== | ||
| + | |||
| + | <file | / | ||
| + | net.ipv6.conf.default.accept_ra=0 | ||
| + | net.ipv6.conf.default.autoconf=0 | ||
| + | net.ipv6.conf.all.accept_ra=0 | ||
| + | net.ipv6.conf.all.autoconf=0 | ||
| + | </ | ||
| + | |||
| + | <file | / | ||
| + | iface ens3 inet6 static | ||
| + | address 2001: | ||
| + | netmask 64 | ||
| + | gateway 2001: | ||
| + | dns-nameservers 2620:fe::fe 2606: | ||
| + | </ | ||
| ===== Firewall ===== | ===== Firewall ===== | ||
ubuntu/20-04_server_install.1633259226.txt.gz · Zuletzt geändert: von Sebastian Hetzel
