Dies ist eine alte Version des Dokuments!
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
Kernel 4.15.x hängt mit "x86 booting SMP configuration"
Fix: Default EInstellung in der VM Konfig. für Paravirtualisation auf "default" setzen
Älteren Kernel booten
/etc/default/grub
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true GRUB_TIMEOUT_STYLE=menu GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT=_ckgedit_QUOTckgedit> GRUB_CMDLINE_LINUX=_ckgedit_QUOTckgedit>
Default Wert ist GRUB_DEFAULT=0
===== 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
16.04
unattended upgrades
Doku in https://wiki.debian.org/UnattendedUpgrades und https://help.ubuntu.com/lts/serverguide/automatic-updates.html Zurücksetzen der config files\ ''apt-get -o Dpkg::Options::="–force-confmiss" install –reinstall
REDIS Server
Nach do-release-upgrade fehlt der REDIS Server. Neu installieren gemäss https://www.techandme.se/install-redis-cache-on-ubuntu-server-with-php-7-and-owncloud/ und https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04 curl und php-zip
16.04: VM geht nicht mit 3D, kein Login möglich, weder mit nouveau noch nvidia.
16.04: nachinstallieren von NVIDIA Treiber wie in http://www.webupd8.org/2016/06/how-to-install-latest-nvidia-drivers-in.html Shorewall
Nach dem Update startet Shorewall 5.x nicht mehr automatisch beim Boot. Siehe https://bugs.launchpad.net/ubuntu/+source/shorewall/+bug/1511869
Abhilfe: Einbau eines Service Files in systemd, /etc/systemd/system/shorewall.service:
[Unit] Documentation=man:shorewall Description=Configure the IPv4 firewall at boot time DefaultDependencies=no After=local-fs.target systemd-sysctl.service Before=network-pre.target shutdown.target Wants=network-pre.target Conflicts=shutdown.target [Service] Type=oneshot RemainAfterExit=yes TimeoutSec=30 Restart=no IgnoreSIGPIPE=no KillMode=none ExecStart=/etc/init.d/shorewall start ExecStop=/etc/init.d/shorewall stop ExecReload=/sbin/shorewall $OPTIONS restart $RESTARTOPTIONS [Install] WantedBy=network-online.target
Danach systemctl enable shorewall.service