Kategorien
Blog Bücher

Neue Version meines Kochbuchs

Ich habe noch ein paar neue Rezepte dazugepackt und das Cover verschönert und eine neue Version meines Kochbuchs erstellt.

Die neuen Rezepte sind ein Kürbis-Risotto, ein Kürbis-Kartoffel Gericht und Kartoffel-Nudeln.

Der Druck-Service ist immer noch via epubli.

Ihr könnt es dort unter dem angegebenen Link bestellen.

Neue Version meines Kochbuchs
Kochbuch
Kategorien
Blog Instagram Software

Move to the Fediverse

I think, now it’s time to move to the Fediverse. Most of us know that all the proprietary, closed-profit applications are f***ed up.

They are feeding us content that we mostly don’t want, and their only purpose they have is, generating money for them. And for this purpose, they are using our data, that we are giving them voluntarily.

They are bombarding us with advertisements and locking us into their systems. This is the same for Facebook, Instagram, Twitter,…

Twitter crashing

And thanks to Elon Musk – a guy that I admire as a businessman, but hate for his racist opinions – who bought Twitter some time ago, triggered a lot of people – including me – to move to the Fediverse.

I think, Musk is very good at managing technical industry companies but will fail IMHO managing a social internet company.

The Fediverse is per definition focussing on non-profit and is interoperable between different applications.

Multiple changes happened recently which is why I think now it’s the right time to move.

WordPress supports the ActivityPub protocol

Now there is a new plugin for any self-hosted WordPress installation available supporting the ActivityPub protocol. As soon as you configure the plugin anybody in the Fediverse can follow either a specific author of your WordPress blog or the complete blog.

Move to the Fediverse

Pixelfed can import from Instagram

You can now import your posts from Instagram into Pixelfed, preserving all the content you have produced in the past.

Mastodon supports search

A quite new and long-awaited feature searching just for text in the toots is now available.

You wanna follow me?

To follow this blog here (and this author) please use @gerhardy2408 or the complete blog with @blog.gerhard-vogt.de

My Mastodon user is @gerhardy2408

My Pixelfed user is @gerhardy2408

More to read

https://gnulinux.ch/fediverse-serie-activitypub-bei-wordpress-einen-blog-in-ein-soziales-netzwerk-bringen

Kategorien
Blog

Tag des offenen Denkmals

Am diesjährigen Tag des offenen Denkmals waren wir bei drei Stationen.

Zuerst ging es zur Universität Hohenheim wo uns der emeritierte Professor Adolf Martin Steiner die Geschichte des einzigartigen Friedhofs der Universität näher brachte.

Er klärte uns darüber auf, wie der Begriff „Friedhof“ zustande kam, daß die Toten immer mit den Füßen zuerst auf den Gottesacker gebracht werden, und wie man sich vor Wiedergängern schützt.

Auch die verschiedensten Arten der Bestattung, mit den jeweiligen Kosten, hat er uns ausgiebigst erklärt.

Wenn er durch den Friedhof geht, kommen immer wieder Erinnerungen an die Toten hoch, und was er zusammen mit ihnen erlebt hat.

Erklärungen:

  • Friedhof kommt von Einfriedung
  • Damit der Tote nicht mehr zurück findet, wird sie/er mit den Füssen zuerst auf den Gottesacker gebracht
  • Wiedergänger (von den Toten wiederauferstandene) werden durch Absperren des Gatters daran gehindert, wieder ins Reich der Lebendigen zu kommen

Unser zweiter Stopp führte uns in das Heimatmuseum im alten Schloss. Alle Ausstellungen dort sind wirklich sehenswert.

Doch nach einiger Zeit schmerzte uns der Rücken durch das langsame gehen (dafür sind wir einfach nicht gemacht ;-)) und wir machten uns auf den Weg zu unserem dritten Denkmal an diesem Tag.

Das war die Villa Moser am Löwentor in dem Leipfriedschen Garten.

Tag des offenen Denkmals

Leider hat sich dort die Schokoladenstadt Stuttgart nicht mit Ruhm bekleckert. Durch die Kunst Installationen für die IGA ’93 wurde dem historischen Gebäude, das damals schon unter Denkmalschutz stand, aus meiner Sicht ein erheblicher Schaden zugefügt. Ich würde mich sehr freuen, wenn dort mehr Aktivitäten stattfinden würden, die die Zugänglichkeit zu dem Park und der Ruine verbessern.

Kategorien
Blog Software

How to upgrade WordPress to PHP7.4

My WordPress admin center was complaining for a long time that I should upgrade WordPress to PHP7.4.

And from experience, I knew that this will typically not go without any hiccups. Be aware of any risks performing this upgrade and consider at least having a backup available, better even using a staging environment e.g. with UpdraftClone.

So here are the steps I have performed to make WordPress run again on that (not really) new PHP version 7.4.

upgrade WordPress to PHP7.4

My WordPress was running on a Raspberry Pi4, with Raspberry Pi OS 10 (buster) Version, mariaDB 10.3.39, PHP 7.3, and Apache 2

First, you should check, if there are any indications that your WordPress plugins and theme is not working with the new PHP version.

Then bring your OS to the latest version.

# sudo apt update
# sudo apt upgrade -y

Then install the certificate and add the repository.

# sudo apt -y install lsb-release apt-transport-https ca-certificates
# sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
# echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list

Install the following packages.

# sudo apt update
# sudo apt install php7.4 php7.4-fpm php7.4-mysqli
# sudo apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip,curl,dom,imagick,mbstring,intl}

You can check if the command line interface (cli) for PHP is running the new version with:

# php -v
PHP 7.4.33 (cli) (built: Jun 9 2023 07:38:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

As we are running the Apache web server with PHP we have to configure it now with the new version.

For switching between different PHP versions on a command line interface use the following commands:

# sudo update-alternatives --set php /usr/bin/php7.4 
# sudo update-alternatives --set phar /usr/bin/phar7.4 
# sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4

You can also have multiple PHP versions on your system and switch with the following configurations between them for the Apache web server and WordPress.

# sudo a2disconf php7.3-fpm
# sudo a2dismod php7.3
# sudo a2enmod php7.4
# sudo a2enconf php7.4-fpm

We also have to replace the proxy entries in all the sites from the virtual hosts you are running with Apache (folder „sites-available“). Look for the lines:

        <FilesMatch \.php$>
                # 2.4.10+ can proxy to unix socket
                SetHandler "proxy:unix:/run/php/php7.3-fpm.sock|fcgi://localhost"
        </FilesMatch>

And set the version to php7.4-fpm.

Now it’s time to restart the Apache web server.

#  sudo service apache2 restart

Check with phpinfo() if the php configuration for Apache is working correctly. The new version 7.4 with a mysqli section should be shown.

Checkout the following references:

Kategorien
Blog

Die Zukunft in Deutschland sieht düster aus

Wenn ich mir die aktuellen Probleme in Deutschland ansehen, sieht die Zukunft in Deutschland düster aus.

Es gibt so viele Dinge, die heute nicht (mehr) funktionieren. Ich will hier mal nur ein paar Themen auflisten, die ich aktuell als herausragend ansehe, allerdings im negativen Sinne.

  1. Unser Bürgerbüro in der Gemeinde ist für 6 Monate geschlossen.
    Das Bürgerbüro Untertürkheim ist vom 17. Juli 2023 bis 31. Dezember 2023 wegen personeller Engpässe geschlossen. In dringenden Fällen können Sie sich an jedes andere Bürgerbüro im Stadtgebiet wenden.
    (Abgerufen am 07.08.2023)
  2. Ein Zug bei der U-Bahn wird mitten im Betrieb wegen Personal Mangel abgestellt.
  3. Der online Service der Deutschen Rentenversicherung ist für 3 Tage auf „Wartung“. Zuerst war der Zeitraum mit 07.08.23-31.12.23 angegeben.
Zukunft in Deutschland

Nein, dafür hab ich kein Verständnis.

Und das sind ja wirklich nur die Highlights. Vermutlich gibt es noch tausende anderer Vorfälle.

Es ist ja inzwischen hinlänglich bekannt, dass wir bei vielen Themen hinterherlaufen hinterherhinken.

  • Klima
  • Digitaler Staat
  • IT im allgemeinen
  • Gesundheitswesen
  • Grüne Energie
  • Arbeitskräfte, z.B. in den Restaurants

Und dann nehmen wir uns die Frechheit heraus, uns mit noch schlechteren Staaten zu vergleichen. Wenn das unser Ansatz ist, werden wir nie besser werden.

Tut mir leid, aber für die aktuell jungen Leute sieht es wirklich nicht gut aus. Es ist vermutlich nicht die letzte Generation, aber die erste, der es nach langer Zeit schlechter gehen wird als der vorherigen.