Mafyuh's Blog https://mafyuh.com/ Recent content on Mafyuh's Blog Hugo -- gohugo.io en Fri, 15 Mar 2024 00:13:40 +0000 How to create a Solana Token (SPL) from CLI with metadata https://mafyuh.com/posts/spl-token-cli/ Fri, 15 Mar 2024 00:13:40 +0000 https://mafyuh.com/posts/spl-token-cli/ I wanted to create an SPL token and after looking online I couldn’t find an updated guide. I mainly just found Keyglowmax (SCAM). So I thought I would learn and share. There are much easier ways to create these tokens but they cost $ and spending more $ than needed is no fun. They also have you connect your wallet which is enough of a worry. This guide costs as little SOL as possible as everything is transacted directly on-chain. Docker Compose Arr Stack Guide https://mafyuh.com/posts/docker-arr-stack-guide/ Fri, 23 Feb 2024 00:13:40 +0000 https://mafyuh.com/posts/docker-arr-stack-guide/ This guide is for someone who is looking to setup an Arr Stack for media organization and downloading. This guide requires no remote path mappings, follows Trash-Guides recommendations and every command needed is copy-pasteable. The VM’s in this guide are hosted on Proxmox 8.1.4, but you can use any Ubuntu environment (WSL-2, VirtualBox, etc.) Arr VM Specs: 2 core host 8GB RAM 100GB Storage Downloader VM Specs: 2 core host 4GB RAM 250GB Storage (can download up to this limit at a time, be careful when mass downloading or give plenty of space) Prerequisites Ubuntu 22. About https://mafyuh.com/about/ Thu, 22 Feb 2024 08:00:00 +0000 https://mafyuh.com/about/ Hello! 👋 I’m Matt Reeves, a DevOps and GitOps enthusiast with a passion for self-hosting. Before diving into the world of DevOps and GitOps, I honed my skills as an advanced electronics repair technician, tackling complex challenges with multimeters, oscilloscopes, and soldering irons. From troubleshooting intricate circuits to mastering surface-mount technology (SMT), I thrived on solving problems and learning what’s possible in electronics. While I continue to stay up-to-date with hardware, my focus has shifted more towards the software side of things. Contact https://mafyuh.com/contact/ Thu, 22 Feb 2024 08:00:00 +0000 https://mafyuh.com/contact/ Got questions, feedback, or just want to say hi? Feel free to reach out to me using the contact information below: Email: admin[at]mafyuh[dot]com Discord Resume If you’re interested in my professional experience, you can download my resume below: Download Resume Selfhosted Game Servers https://mafyuh.com/posts/selfhosted-game-servers/ Thu, 22 Feb 2024 00:13:40 +0000 https://mafyuh.com/posts/selfhosted-game-servers/ Something I only got into recently is hosting video game servers for games that support servers. Maybe it’s just something about having another server, cause these are totally not needed. But they are pretty easy to setup thanks to the open-source community. Sons of the Forest I wanted to play sons one day and when I looked into multiplayer I seen there were options for servers. This sparked me Googling and finding this repo. Resize Ubuntu VM Disk in Proxmox https://mafyuh.com/posts/resize-ubuntu-vm-disk/ Tue, 06 Feb 2024 02:58:07 +0000 https://mafyuh.com/posts/resize-ubuntu-vm-disk/ 1st step: Increase/resize disk from GUI console 2nd step: Extend physical drive partition and check free space with: sudo growpart /dev/sda 3 sudo pvdisplay sudo pvresize /dev/sda3 sudo pvdisplay 3rd step: Extend Logical volume sudo lvdisplay sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv sudo lvdisplay 4th step: Resize Filesystem sudo resize2fs /dev/ubuntu-vg/ubuntu-lv sudo fdisk -l Proton Mail - SimpleLogin authentik Social Login Setup https://mafyuh.com/posts/proton-mail-authentik-social-login-setup/ Sun, 12 Nov 2023 16:20:00 +0000 https://mafyuh.com/posts/proton-mail-authentik-social-login-setup/ This is just a quick guide on how to authenticate your authentik users with Proton using SimpleLogin OIDC. To accomplish this, first create a SimpleLogin acct by logging in with Proton. Once thats done go to https://app.simplelogin.io/developer and create a website. Give it your authentik URL. Then go to Oauth Settings and copy your client ID and secret for next step. add your authentik URL in redirect URL like this https://auth. How To Automate Jellyfin Issue Handling https://mafyuh.com/posts/how-to-automate-jellyfin-issue-handling/ Sat, 11 Nov 2023 16:20:00 +0000 https://mafyuh.com/posts/how-to-automate-jellyfin-issue-handling/ I wanted a way to automate when users tell me a video on my Jellyfin server has an issue. After alot of trial and error, ChatGPT, Bard and I came up with this automation. Requirements My only requirements when making this was that it was free and self-hostable. Not even any NPM extensions are required in AP. Actual Software requirements are: Sonarr Radarr Overseerr/Jellyseerr Optional SMTP server or ability to send SMTP messages (can also use discord) ActivePieces or any other automation platform that supports TS. How to authenticate Guacamole via authentik with Cloudflare and Nginx Proxy Manager https://mafyuh.com/posts/how-to-authenticate-guacamole-authentik-nginxproxymanager/ Sun, 29 Oct 2023 16:20:00 +0000 https://mafyuh.com/posts/how-to-authenticate-guacamole-authentik-nginxproxymanager/ authentik’s docs have a guide already for Guacamole. You can find that here. Follow all the instructions there, (especially the part where you create a user in Guacamole with the USERNAME of your email. not just filling in the email), but if you are using Cloudflare as our DNS you may run into problems. Such as infinite redirect loop. Error 403 Forbidden While it was looping, I checked my Guacamole docker container logs in Portainer, and found the 403 Forbidden error. How to authenticate Zammad via SAML with Nginx Proxy Manager https://mafyuh.com/posts/how-to-authenticate-zammad-via-saml-with-nginx-proxy-manager/ Sun, 29 Oct 2023 16:20:00 +0000 https://mafyuh.com/posts/how-to-authenticate-zammad-via-saml-with-nginx-proxy-manager/ If you are getting error messages like: 422: the change you wanted was rejected. message from saml: actioncontroller::invalidauthenticitytoken Just make sure you set these in your Nginx Proxy Manager hosts Advanced field: location / { proxy_pass http://zammad:8080; # Replace proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Host $host; } I spent way too long trying to figure this out, reading through Github issues, breaking my SAML provider and Zammad configs, starting over, when the whole time it was just good old nginx header issues. Jellyfin Help https://mafyuh.com/jellyfin-help/ Wed, 11 Oct 2023 00:13:40 +0000 https://mafyuh.com/jellyfin-help/ If you are new to Jellyfin or Self-Hosted media in general, this will be a resource to help you get started. 💡 All of the software that makes up this setup are free and open-source. If you have any integrity concerns you can review all of the code on your own. All of the media and Jellyfin are located in-home. Requests, Sign-Up’s, Links and Server Status are all located in Oracle Cloud. How To Authenticate KASM via authentik https://mafyuh.com/posts/how-to-authenticate-kasm-via-authentik/ Sat, 30 Sep 2023 16:20:00 +0000 https://mafyuh.com/posts/how-to-authenticate-kasm-via-authentik/ You could do this with OpenID as well but this method is using SAML. This guide assumes you already have running instances of Kasm Workspaces and authentik. The official authentik docs dont have a Kasm Integration listed at the time. So I thought I would help out anyone who is trying to integrate these services via SAML. authentik’s SAML docs can be found here. Setting up Kasm In the Kasm Workspaces admin, click Access Management - Authentication - SAML and create a new configuration. How to Show More Options By Default in Windows 11 https://mafyuh.com/posts/how-to-show-more-options-by-default-in-windows-11/ Tue, 05 Sep 2023 23:45:25 +0000 https://mafyuh.com/posts/how-to-show-more-options-by-default-in-windows-11/ To ‘Show more options’ by default in File Explorer, open Command Prompt as Administrator, then type or paste the following command: reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f and hit Enter. Network Traffic Map https://mafyuh.com/posts/network-traffic-map/ Thu, 31 Aug 2023 16:20:00 +0000 https://mafyuh.com/posts/network-traffic-map/ This is just a visual representations of how my current setup flows. I have some of the docker-compose files that make up this infra on my Gitea Software https://mafyuh.com/posts/software/ Sat, 26 Aug 2023 00:13:40 +0000 https://mafyuh.com/posts/software/ Just a straight forward list of pretty much everything that makes up my homelab. Or systems I’ve ran in the past. Operating Systems Ubuntu 23.04 Ubuntu 22.04 (primary on most systems) CentOS/Fedora 38 (only when Ubuntu doesnt play nice) Debian 11 Proxmox 8 Windows 10/11 TrueNAS Scale (virtualized) CasaOS (zimaboard) pfSense Applications/Containers Nginx Proxy Manager Nginx Apache2 Traefik Authentik Portainer Yacht AdGuardHome Pihole Wazuh Zabbix Uptime Kuma Ghost (this blog) Wordpress Hydroxide (proton mail bridge) Calibre Smokeping Openspeedtest Grafana Prometheus InfluxDB PostgresSQL MySQL Watchtower Apache Guacamole Ansible Terraform Packer Vaultwarden Kasm Workspaces Jellyfin Plex Twingate Tailscale Headscale Wireguard LinkStack N8N Gotify Nextcloud Immich AI Hardware https://mafyuh.com/posts/hardware/ Fri, 25 Aug 2023 00:13:40 +0000 https://mafyuh.com/posts/hardware/ Most of my infrastructure is hosted on my in-lab Proxmox server, along with a few new machines for dedicated services. Here are some of the specs of some of the in-lab machines. Proxmox Server CPU: Intel Core i7-9700K GPU: Nvidia GeForce GTX 1660 6GB RAM: 64GB DDR4 3000Mhz NVME SSD’s for storage 4x 4TB HDD’s (passthrough to NAS) Gaming PC CPU: Intel Core i7-13700K GPU: Nvidia GeForce RTX 3080 RAM: 64GB DDR5 6000 Mhz SSD: Samsung 980 Pro 2TB Mobo: MPG Z790 EDGE WIFI Windows 11 Pro Main PC used for everything.