Benutzer-Werkzeuge

Webseiten-Werkzeuge


ubuntu:20-04_server_install

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
ubuntu:20-04_server_install [2021/04/19 16:46] – [Handwerkszeug installieren] ergänzt Sebastian Hetzelubuntu: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 "German QWERTZ"   * das Keyboard-Layout auf "German QWERTZ"
 +  * Hostname
  
 ===== Handwerkszeug installieren ===== ===== Handwerkszeug installieren =====
 +
 +**aptitude**
 +<code>
 +# apt-get install aptitude
 +</code>
  
 **VIMnox** **VIMnox**
Zeile 52: Zeile 58:
               NTP service: active               NTP service: active
           RTC in local TZ: no           RTC in local TZ: no
 +</code>
 +
 +===== NTP Client =====
 +
 +<file | /etc/systemd/timesyncd.conf>
 +#  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
 +</file>
 +
 +Momentane Systemzeit ansehen:
 +
 +<code>
 +timedatectl
 +</code>
 +<code>
 +                      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/Berlin (CET, +0100)
 +       System clock synchronized: yes
 +systemd-timesyncd.service active: yes
 +                 RTC in local TZ: no
 +</code>
 +
 +<code>
 +systemctl restart  systemd-timesyncd
 +systemctl status  systemd-timesyncd
 +● systemd-timesyncd.service - Network Time Synchronization
 +   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
 +   Active: active (running) since Sun 2018-11-25 11:29:00 CET; 1s ago
 +     Docs: man:systemd-timesyncd.service(8)
 + Main PID: 16475 (systemd-timesyn)
 +   Status: "Synchronized to time server 192.53.103.108:123 (ptbtime1.ptb.de)."
 +    Tasks: 2 (limit: 2319)
 +   CGroup: /system.slice/systemd-timesyncd.service
 +           └─16475 /lib/systemd/systemd-timesyncd
 +
 +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]: Synchronized to time server 192.53.103.108:123 (ptbtime1.ptb.de).
 </code> </code>
 ===== Reaktivierung von ifupdown ===== ===== Reaktivierung von ifupdown =====
Zeile 98: Zeile 158:
 <code>reboot</code> <code>reboot</code>
  
 +===== IPv6 abschalten =====
 +
 +<file | /etc/sysctl.conf>
 +[...]
 +#disable ipv6
 +net.ipv6.conf.all.disable_ipv6 = 1
 +net.ipv6.conf.default.disable_ipv6 = 1
 +net.ipv6.conf.lo.disable_ipv6 = 1
 +</file>
 +
 +===== IPv6 statisch (alternativ) =====
 +
 +<file | /etc/sysctl.d/50-IPv6.conf>
 +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>
 +
 +<file | /etc/network/interfaces>
 +iface ens3 inet6 static
 +        address 2001:0DB8:0068:9cb9::3
 +        netmask 64
 +        gateway 2001:0DB8:0068:9cb9::1
 +        dns-nameservers 2620:fe::fe 2606:4700:4700::1111
 +</file>
 ===== Firewall ===== ===== Firewall =====
  
ubuntu/20-04_server_install.1618843605.txt.gz · Zuletzt geändert: von Sebastian Hetzel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki