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 Articlemm_answer_keyallowed: publickey authentication test: ED25519 key is not allowed
Debian 12. After a long time I’ve installed Debian 12 in a VM again. I used ssh-copy-id to copy the key files to the VM. When I tried logging in, I still had to supply my password. What was going on? Well, I’ll spare you the mindfuck and give you the solution. It wasn’t the…
Read ArticleMastodon ohne Gendern und mit 5000 statt 500 Zeichenbeschränkung
Mich stĂśrt bei Mastodon diese Cancel Culture und auch und vor allem das Gendern. Das ist einfach eine schreckliche, unleserliche, politisch motivierte Verunstaltung der Sprache. Deshalb habe ich per Hand die Sprachdateien geändert. AuĂerdem gefällt mir nicht das man nur auf 500 Zeichen beschränkt sein soll bei der Länge der Posts. Darum habe ich die…
Read Article