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 ArticleCategory: Allgemein
How 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 ArticleGoogle Chrome doesn’t delete my cookies
Yesterday I was on a site where I accidentally logged in with a banned account. So i clicked the “2 pins” icon next to the address field and deleted the “stored data”. Then i refreshed the page but the cookies were still set, unlike on Firefox, where the cookies are actually deleted. This has got…
Read ArticleOracle are scammers and criminals
How to get free real people addresses and bank account data? Offer something “for free” and require those people interested in the free offer to give their name, address, phone number and bank account data, then suspend their accounts for made up terms of service violations and refuse to delete the data after deletion has…
Read Article