Do you have a lot of docker containers and want to know which one of them is causing connections to a particular ip address? Then fear no more! I found this beauty right here.
How to find what value the variables have in .repo files on centos/alma/etc
Want to know the exact value of the variables in repo files?
How to find the correct selinux context of a file
There’s a list that shows you the expected SELinux context for files on your system.
running jellyfin in docker
What is jellyfin? Jellyfin is a home run mediacenter to playback your local media files (video, music). It’s like your own private netflix, where you decide what comes, goes and stays. You can access it through your browser, but there are also many many clients available. You can run it on your computer, or nas. …
Continue reading running jellyfin in docker
Running immich in docker (with TLS/SSL)
Fed up with the notifications from google that your disk space is getting full? Then host your own photos.google.com, but it’s called immich (image, duh). You’ll need a machine with docker installed and plenty of disk space for what you want to save. Now, apart from your photos you’ll need 3 files, .env and docker-compose.yml, …
Continue reading Running immich in docker (with TLS/SSL)
CSF is pulling the plug
A number of scripts on here use csf for blocking assholes. Unfortunately CSF will be closing down at the end of the month. As it is not yet certain what the future bring (will directadmin continue to offer it as a download/install or will it go open source), we can’t exactly plan for the future. …
Continue reading CSF is pulling the plug
Add all unblocked ip addresses from directadmin’s brute force list to CSF’s block list
This isn’t that difficult, but adding a lot of ip addresses through CSF’s command line can take a long time, especially when some/a lot of these ip addresses are already present. So this script checks /etc/csf/csf.deny for the ip addresses to be added and if it isn’t present already will add it through csf with …
Continue reading Add all unblocked ip addresses from directadmin’s brute force list to CSF’s block list
domain already exists
When you want to add a domain to a directadmin server and you get the message that it already exists but you can’t find it in directadmin, there might be some lingering files left over. This script will let you find them.
Dump all databases
Simple script with minimal settings to be set. Will dump databases and save them in a location of your choosing after cleaning backups that are deemed to old (age of your choosing). It’s been written with mariadb as primary target. Mariadb binaries complain now when called on with their mysql-counterpart names. So mysql is now …
Continue reading Dump all databases
userlogs.sh
It sometimes happens when a user on a directadmin server causes heavy load. When this user only has 1 domain it’s easy to figure out what’s going on. But sometimes there are users with a lot more domains. This script makes it easier to tail all of the sites’ acces logs in one go.