Things I wish I knew before using CentOS (7)

This is an ongoing, updated post of things I wish I knew beforehand.
CentOS is a solid base for any server, as it requires minimum maintenance and is very conservative when it comes to updated versions.
This post will be a mess at first, but continue to grow and evolve.

Current systemd for CentOS7
https://copr.fedorainfracloud.org/coprs/jsynacek/systemd-backports-for-centos-7/
or
https://github.com/facebookincubator/rpm-backports

Up to date and legacy PHP versions
https://rpms.remirepo.net/
https://blog.remirepo.net/pages/Config-en

Current LTS or mainline kernel
http://elrepo.org/

More up to date qemu

libvirt manual migration

Following scenario:

You have 2 servers. No shared storage.
You would like to move VMs from Server A to Server B.

If you want a clean filesystem there will be downtime.
Downtime will take as long as it needs to copy the image from one server to the other.

Step 1:

Shutdown the instance running on the source server.
e.g.

Step 2:

Copy the image, usually located in /var/lib/libvirt/images/ , from source to destination.
e.g.

Step 3:

Dumo the configuration xml of your vm and copy it to the destination server
e.g.

This will copy domain.name.xml to the home directory of the destination server, in this case /root/ (implied by the : after the server name)

Step 4:

Import the copied xml domain configuration on the destination server.
The MAC address probably changed, depending on your data center’s setup you’d need to edit the xml file accordingly.
The domain import command is

Step 5:
Finish it up.
Change network configuration from inside the guest.
You will need to login via spice console.
It’s best to use the great tool “Virtual Machine Manager” for this job.
Remember to keep your VM’s root password ready.

Widevine’s “NO FEES” claim is a lie

If you browse over to widevine dot com you’ll see a

No Fees

Widevine supports the use of standards-based royalty-free solutions for encryption, adaptive streaming, transport and player software without licensing fees or required participation in the CWIP training program.

This is now the 3rd time I wrote them, and received no response.

Thanks to piracy we’ve lost over 50% ad revenue. Widevine, a Google/Alphabet company doesn’t care that people steal our work and put in on Youtube, where we have to spend unnecessary time to go through their annoying copyright claim process and deal with the negative fallout, including the reputation hit when you take down a video.
The amount of email spam when you file a copyright complaint is exceeds all limits. It’s not only annoying but also time-consuming. And sometimes people claim they have the right of “fair use” when they take 100% of our content and add it to their video. No it’s not fair use if you take 100% of our content and put it in your video. That is called theft.

Idee zur Stromgewinnung

Ich habe heute zum ersten mal sowas gesehen:

Ein Wasserhahnaufsatz mit verschiedenen LED Lichtern. Auf sowas muss man erstmal kommen.
Das funktioniert so das dadurch das Wasser durchfliesst Strom erzeugt wird und mit diesem Strom wird eine LED betrieben.
Was wäre wenn jeder Wasserhahn verbunden wäre mit einem Akku der diesen Strom speichert. Nehmen wir ein 6 Familien Haus, oder mehr. Da würde schon was zusammenkommen.

Warum bekommt ein Asylant eine 850€ Wohnung gezahlt?

Meine Mutter war vorgestern in der (Innen-)Stadt. Dort traf sie auf einen Afrikaner, der sie fragte ob das Thermometer, welches er in der Hand hält für Innen oder Außen sei.
Sie erklärte ihm wie ein Thermometer funktioniert…
Sie kamen ins Gespräch und sie fragte wie lange er schon hier sei. “2 Jahre” antwortete er.
Spricht schon fließend Deutsch. Ob er Kinder habe. Ja, 2 Stück, sind beide hier.
Er wohnt in einer 850€ Wohnung, arbeitet nicht.
Ich verdiene nicht mal soviel zur Zeit.
Das Arbeitsamt zahle seine Wohnung.
Bei sowas geht mir die Hutschnur hoch.
Ich leb hier in dieser Gammelwohnung an lauter Straße, fühle mich wie im Gefängnis, mit dünnen Wänden.
Ich lebe hier weil die Wohnung + Mietnebenkosten ca. 450€ kostet im Monat.
Und der ist 2 Jahre hier und lebt in einer 850€ Wohnung, arbeitet NICHTS, weis nichtmal wie zum Geier man ein Thermometer liest.
SO nen Hals.
Ich wundere mich kein Stück wieso die AfD Zulauf hat.