Moultes TIPS

Ajout /ADD certbot plugin apache !!

apt-get install python3-certbot-apache



Linux has this fun device file called "/dev/full", which is like its more famous cousin "/dev/null", but when you write to "/dev/full", instead of throwing away the data, it fails.

It acts like a file on a filesystem that has just run out of space:

$ echo "Hello World!" > /dev/full
bash: echo: write error: No space left on device
$ echo $?


This is a great little tool for testing that programs handle I/O errors correctly. It's inconvenient to create actual filesystems with no space left, or disks that actually fail, but it's really easy to ask a program to write its output to "/dev/full" and see what happens.




ERROR: systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service'

Create FILE `/etc/NetworkManager/conf.d/no-systemd-resolved.conf` with this content:


And then active it !

systemctl status systemd-resolved.service
systemctl enable systemd-resolved.service