devlug.de is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
A Bug Squashing Party is organized in Montréal, Canada, by Debian Québec on 28-29 March, to facilitate the release of the next stable version of Debian (Debian 13 - Trixie), fixing as many Release Critical bugs as possible https://wiki.debian.org/BSP/2025/03/ca/Montreal #debian #trixie
Meet Debian at SCaLE 22x (Southern California Linux Expo 2025), the largest community-run open-source and free software conference in North America, on March 6-9, 2025 in Pasadena, CA, USA. Once again Dima Kogan and other Debian enthusiasts will be representing Debian with a booth. Use the "DEB" promo code to get a discount. Come by and say hi! https://www.socallinuxexpo.org/scale/22x/exhibitors?page=1 #debian
Status Update for February 25: https://honk.sigxcpu.org/con/Free_Software_Activities_February_2025.html
🐛, 📱 and mostly maintenance
I already wrote about caching here
Now I extended what I cache a bit.
This was because after enabling Option to proxy media I've seen access to the file paths /x/ and /y/ in addition to the path were snac stores the media that I include in my own posts ( /s/ ).
There are two locations to proxy media, depending if you requests the media via the mastodonapi or via the web. (/x/ and /y/), oh and I added the nodeinfo2 path too, because I've noticed it was queried all the time by a lot of instances and it gives me pleasure to see something cached handed out in the access logs 🙂 (I guess it is actaully irrelevant for the system resources).
This is the updated setup:
Enable the relevant modules:
a2enmod expires cache cache_disk
Be sure "htcacheclean" is running to clean up old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service or whatever)
Then add to the snac Virtualhost config:
<LocationMatch "^/social/[^/]+/[xys]/|^/social/nodeinfo_2_0">This will use the disk cache to cache everything under the /s/, /x/ and /y/ Path, as well as for /$username/nodeinfo20, utilizing the mod_expires to generate the appropriate cache headers (for lazy ones like me), In this case caching it for 1 day.
CacheEnable disk
Header set Cache-Control "max-age=86400, public" "expr=%{REQUEST_STATUS} == 200"
ExpiresActive On
ExpiresDefault "access plus 86400 seconds"
</LocationMatch>
The Header that I set here, on the condition of Status code 200, is needed for the path /y/, because snac defaults to set no-cache
on that location and the modexpires will honor that if we don't override it. I set it to the same Cache-Control value as modexpores woud. (mod_expires will additionally calculate the date and put that in the expires
header. (hence the name I guess 😀 )
#Fediverse #Hosting #ITNotes #apache2 #httpd #Ownyourdata #Server #Snac #Snac2 #Tipsandtricks #Tutorial #Debian #caching
Debian 15 will be codenamed duke. Visit https://wiki.debian.org/DebianReleases for the names of past and future Debian releases #debian #duke
The Debian Release Team is keeping pace: the first trixie freeze step (transition and toolchain freeze) is coming next month! https://lists.debian.org/debian-devel-announce/2025/01/msg00004.html #debian #trixie
We have a #DebConf25 logo, thanks to Juliana Camargo and all other participants! https://bits.debian.org/2025/02/debconf25-logo-contest-results.html #debian
@debian: Yeah sure, but #Debian stopped supporting the i386 architecture recently claiming again and again that there's no more new 32bit x86 hardware to buy despite this was never true: https://www.vortex86.com/ produces 32-bit only x86 CPUs and SoC for at least a decade now. 😢😠
Proxmox, provider of powerful, yet easy-to-use Open Source server software based on Debian is the newest Platinum Sponsor of #DebConf25 https://bits.debian.org/2025/02/proxmox-platinum-debconf25.html #debian
I've never done any caching etc before so it was a nice adventure to learn something new. The documentation helped and in the end it wasn't very hard. I learned a bit about some http headers and regex on the way too.
Basically it works like this:
Enable the relevant modules:
a2enmod expires cache cache_disk
Be sure "htcacheclean" is running to clean up old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service)
Then add to the snac virtualhost config:
CacheRoot /var/cache/apache2/mod_cache_diskThis will use the disk cache to cache everything under the /s/ Path, same as the original ngnix tutorial, Utilizing the mod_expires to generate the appropriate cache headers (for lazy ones like me), In this case caching it for 30 days.
CacheQuickHandler off
CacheLock on
#Optional while testing stuff;
CacheDetailHeader on
#My Instance ist not at the root, but under "/social"; so this needs to be adapted:
<LocationMatch "^/social/[^/]+/s">
CacheEnable disk
ExpiresActive On
ExpiresDefault "access plus 30 days"
</LocationMatch>
Thanks for the initial tutorial @itnotes@snac.it-notes.dragas.net
Edit:
Oh and don't hesitate to tell me what I did stupid while setting this up, maybe in nicer words, if it is. And also I can't get the markdown Code formatting working apparently. Well. Sorry for all the edits.
#Fediverse #Hosting #ITNotes #Networking #apache2 #httpd #Ownyourdata #Server #Snac #Snac2 #Social #Tipsandtricks #Tutorial #Web #Debian
looking for a new colleague in my team:
https://go.uvt.nl/22644 "Linux IT Infrastructure Engineer" , Debian GNU/Linux , Tilburg .nl , 0.8 or 1.0 FTE , remote work partly possible. #getfedihired #debian #fedijob #tilburg #tilburgu
@darrennevares I think "normies" should not be encouraged to move to XMPP yet. It's still very much "geeks only", IMHO, as there's still some inconsistent key XEP support across all the best XMPP clients.
I appreciate how #LinuxMint made a bold bet on #Matrix in all their default installs, and now #Ubuntu is following suit. That will help iron out subtle, lingering problems and footguns Matrix still has, holding it back from mass adoption.
Likewise, if some bigger distros decided to patronize #XMPP, say #Debian (say, including an XMPP client in all default installs, as part of a first-boot "Welcome Center" experience to get support from an XMPP chatroom), that too would eventually help iron out the similar subtle problems and footguns of XMPP.
@daniel the two worst "footguns" I encountered when setting up #Prosody 0.12.3 in #Debian 12 were - you're not going to like this - enabling TLS, not STARTTLS (ruins upload.sampledomain.com capability), and trying to use SRV records (made an honest attempt, couldn't get it to fly).
These "footguns" wasted two brutally unenjoyable days of my life, until I scaled back these progressive wishes.
Meet @debian at @fosdem2025 next weekend! We will be at building K level 1. https://wiki.debian.org/DebianEvents/be/2025/FOSDEM #debian #fosdem #fosdem2025
The Debian Publicity Team will no longer post on X/Twitter. We took this decision since we feel X doesn't reflect Debian shared values as stated in our social contract, code of conduct and diversity statement. X evolved into a place where people we care about don't feel safe. You are very much invited to follow us on https://bits.debian.org , on https://micronews.debian.org/ , or any media as listed on https://wiki.debian.org/Teams/Publicity/otherSN #debian
On the path to becoming a Debian Maintainer?
Start building these 10 habits to guarantee your success
👉 https://optimizedbyotto.com/post/debian-maintainer-habits/