Global

Versionsinformation

root@devel:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

18.04

Packet Export Import

Export

''dpkg --get-selections> packages.lst''

Import

''dpkg --merge-avail <(apt-cache dumpavail)
dpkg --clear-selections
dpkg --set-selections <packages.lst
apt-get dselect-upgrade''

cloud-init

abschalten per dpkg-reconfigure cloud-init

netplan

Beispiel yaml für proxmox VM:

network:
version: 2
renderer: networkd
ethernets:
ens18:
dhcp4: no
addresses: [138.201.52.38/26]
gateway4: 138.201.52.41
nameservers:
addresses: [213.133.98.98,213.133.99.99,213.133.100.100]
routes:
- to: 0.0.0.0/0
via: 138.201.52.41
on-link: true

dnsmasq startet nicht wegen Konflikt mit systemd-resolvd

https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved

Lösung: systemd-resolvd über /etc/systemd/resolved.conf abschalten:

''# disabled 15.10.18 thr DNSStubListener=no

OpenVPN Meldung "CRL has expired"

easyrsa: crl neu erzeugen, rüberkopieren. Siehe https://www.jobishmathew.me/openvpn-crl-has-expired/

unattended upgrades

iptables

https://www.64-bit.de/dokumentationen/netzwerk/iptables/DE-IPTABLES-HOWTO-3.html

20.04 LTS ipv6 abschalten

in /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1

Danach sysctl -p