Wasser zu trinken, nachdem man einen Apfel oder mehrere Äpfel gegessen hat ist, noch wie vor, nicht ok und führt im schlechtesten Fall zu Durchfall. Man googlet ja oft verschiedene Dinge und AI, die Google und andere einsetzen, ist bekannt dafür zu lügen. Aber es ist nicht die AI, die in diesem Fall lügt, sondern…
Read ArticleMonth: April 2024
2 machines with bridge devices and same mac problem
You’re using systemd, maybe you have cockpit installed and are creating a bridge on each host because you need them for libvirt virtual machines. One machine is your old workstation and you copied the filesystem to the new machine. But when you create a bridge you local machine suddenly receives the same IP your old…
Read ArticleHow to run gitea securely with snapcraft’s gitea snap on CentOS/Rocky/Alma etc
Install gitea snap
|
1 |
snap install gitea --channel=latest/stable |
Add user
|
1 |
useradd -r -s /bin/bash -d /home/git git |
systemctl edit snap.gitea.web.service
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
[Unit] After=mysqld.service AssertPathIsDirectory=/home/git AssertPathIsReadWrite=/home/git [Service] User=git Group=git Environment="GITEA_WORK_DIR=/home/git" "GITEA_CUSTOM=/home/git/custom" WorkingDirectory=/home/git ExecStart= ExecStart=/usr/bin/snap run gitea.web --config /home/git/app.ini Restart=always |
In app.ini
|
1 2 3 4 5 |
; ; Port number to be exposed in clone URL SSH_PORT = 22 ; ; ; ; The port number the builtin SSH server should listen on SSH_LISTEN_PORT = 2222 |
add firewall forward rule
|
1 |
firewall-cmd --permanent --add-forward-port=port=22:proto=tcp:toport=2222 --zone=public |
[solved] cannot install the best update candidate for package gdal36-libs-3.6.4-5PGDG.rhel9.x86_64
WTF do I have to do to get this bug fixed? There are a bunch of search results, in the end leading to this dead end, bureaucracy bullshit ticket: https://trac.osgeo.org/postgis/ticket/5664#ticket pramsey says, “Please report build issues to the builder, as they won’t get fixed here.” Typical bureaucratic bullshit. Yes, crb is enabled. Yes, epel is…
Read Article