Gestern habe ich WhatsApp installiert und meine Telefonnummer angegeben und nach wenigen Minuten wieder gelöscht, heute schon der 2. Werbeanruf.
Letsencrypt wildcard subdomains
It’s not easy to find proper search results for this topic.
You have a domain and would like to have wildcard subdomains but are not a customer of the prominent cloud providers aka your domain reseller or DNS provider isn’t supported.
Prerequisite:
We already have a *.domain.tld DNS record pointing to our server with certbot installed.
The command is
1 |
certbot certonly --manual -d *.domain.tld |
You run this command, then you have to add a TXT record to your DNS zone.
Something like
1 |
_acme-challenge.domain.tld. |
as the key.
The trailing dot (.) is required.
And the value you receive from the command as well.
Then wait until it’s updated in the DNS, you can check if it was with
1 |
dig TXT _acme-challenge.domain.tld |
.
And then you just hit ENTER in the console and it should be completed.
I’ll now add a wildcard nginx configuration for ZITADEL, which is an web based identity management software.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
server { listen 80; listen [::]:80; server_name *.domain.tld; location / { return 301 https://$host$request_uri; } } server { listen 443 ssl; listen [::]:443 ssl; http2 on; server_name *.domain.tld; access_log /var/log/nginx/domain.tld.access.log; error_log /var/log/nginx/domain.tld.error.log; ssl_certificate /etc/letsencrypt/live/domain.tld-0001/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/domain.tld-0001/privkey.pem; add_header Strict-Transport-Security "max-age=63072000" always; root /var/www/domain.tld; location / { grpc_pass grpc://localhost:12345; grpc_set_header Host $host:$server_port; } } |
MySQL 8.4+ : Set new password after new installation on CentOS Rocky Alma RHEL
MySQL 8.4 has a catch 22 situation where you can’t set a new password with mysqladmin anymore, because
1 |
'Plugin 'mysql_native_password' is not loaded' |
So if you had an automated setup script that does something like this:
1 2 3 4 5 |
# PASSWORD=$(grep 'A temporary password' /var/log/mysqld.log |awk -F: '{print $NF}' | xargs) # NEW_PASSWORD=`pwgen -s -1 -y 32` # mysqladmin -u root- p"$PASSWORD" password "$NEW_PASSWORD" mysqladmin: connect to server at 'localhost' failed error: 'Plugin 'mysql_native_password' is not loaded' |
and wanting to lower the password verification level all results in
1 |
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. |
Why always so complicated, Oracle? Why always so hostile towards the user?
Anyhow.
Solution
1 2 3 4 |
PASSWORD=$(grep 'A temporary password' /var/log/mysqld.log |awk -F: '{print $NF}' | xargs) NEW_PASSWORD="{{{password}}}" echo "ALTER USER 'root'@'localhost' IDENTIFIED BY '$NEW_PASSWORD';"|mysql -u root -p"$PASSWORD" echo "SET GLOBAL validate_password.policy=MEDIUM"|mysql -u root -p"$NEW_PASSWORD" |
Haus in Kroatien verkaufen zwischen Rijeka und Opatija bei Kastav
Wir überlegen uns, unser 2 Stöckiges Haus mit Businesshalle und großer Terasse, 2 Garagen und Grünflächen und Regenwasserauffangspeicher zu verkaufen.
Es befindet sich zwischen Rijeka und Opatija, und gehört zu Kastav.
4km bis Opatija, 18km bis Rijeka.
Und es hat einen sehr guten und schönen Blick aufs Meer.
Ein Video bei Tag
Ein Video bei Nacht
Ein Blick von der Terasse, sitzend
Und ein bischen Meer
Die Fassade ist renovierungsbedürftig.
Das Abwasser versickert irgendwo in unterirdischen Bunkern. Es gibt keine Kanalisation.
Die Busineshalle verfügt über 2 Klos und Dusche, sowie 3fasigem Starkstorm, und Büroraum.
2 Stockwerke, kein Keller.
2 Garagen.
Im Erdgeschoss befindet sich 1 Bad mit Wanne und Boiler und Handbecken und Klo. Eine zentrale Küche und 2 Zimmer mit Fenstern.
Im Obergeschoss sind 2 Klos. ein Wohnzimmer zentral und 1 Schlafzimmer und noch ein Zimmer.
Es besteht eine Verbindung zum Dach via herausziehbarer Leiter.
Das Dach wurde kürzlich neu gemacht. Es hat eine kleine Terasse mit Türe als Zugang.
Das Haus hat eine 1Gbit/s Glasfaseranbindung der Kroatischen Telekom.
Es wächst Lorbeer, Rosmarin, Thymian, wilder gründer Spargel, Aronia, Apfelbäume und Pflaumenbäume und ein paar wilder Erdbeeren.
Die Kataster Zellen sind 5092/1 und 5092/2.
Google Maps:
Falls jemand Interesse hat, oder die Businesshalle mieten will, bitte um Kommentar.
Update Januar 2025: Inzwischen gibt es ein Vorverkaufsrecht einer Person, die sich um den Kater kümmert.
Es ist auch so, falls dieses Haus mit Grundstück verkauft werden sollte, sollte der Verkaufspreis hoch genug sein um ein anderes Haus mit ähnlich tollem Ausblick kaufen zu können.
Ich habe mir einige Anbote angesehen, und die gehen bei 600.000€ los.
Remove cookie banner from shopware documentation
Shopware’s documentation site nags you with an annoying cookie banner.
This is the ublock origin Firefox addon (might not work with the new Chrome browser) filter to remove that cookie banner.
1 2 |
docs.shopware.com###usercentrics-root docs.shopware.com##body:remove-class(overflowHidden) |
Shopware people, don’t set cookies on a documentation site, for real.