System & Network Admin

System & Network Admin

1911 bookmarks
Custom sorting
Flake.nix Phoenix & PostgreSQL - Learning Resources / Guides/Tuts/Tips/Info - Elixir Programming Language Forum
Flake.nix Phoenix & PostgreSQL - Learning Resources / Guides/Tuts/Tips/Info - Elixir Programming Language Forum
I’ll post this here, It might help someone in the future. Feedback is greatly appreciated. I use it with direnv on NixOS, It should work with nix on Linux or macOS. custom commands: pg-stop, pg-start, … flake.nix { description = "General Elixir Project Flake"; #source: 20221130; https://github.com/toraritte/shell.nixes/blob/f9af46639a9bb5fb22705ebdfd25783866e22c0f/elixir-phoenix-postgres/shell.nix #source: 20221130; https://github.com/webuhu/elixir_nix_example inputs = { nixpkg...
·elixirforum.com·
Flake.nix Phoenix & PostgreSQL - Learning Resources / Guides/Tuts/Tips/Info - Elixir Programming Language Forum
V2: reverse proxy to UNIX socket? - Help - Caddy Community
V2: reverse proxy to UNIX socket? - Help - Caddy Community
1. My Caddy version (V2 beta 14): 2. How I run Caddy: I use the systemd service template mentioned in the documentation. My Caddyfile looks like this: samvanderkris.xyz, www.samvanderkris.xyz { reverse_proxy * unix:/run/gunicorn.sock root /static /home/sam/samvanderkris header / Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" } a. System environment: Ubuntu server 19.10, caddy is running as a systemd service. The reverse proxy is supposed to...
·caddy.community·
V2: reverse proxy to UNIX socket? - Help - Caddy Community
Linux Handbook
Linux Handbook
An independent, reader-supported publication focusing on Linux Command Line, Server, Self-hosting, DevOps and Cloud Learning
·linuxhandbook.com·
Linux Handbook
Using If Else in Bash Scripts [Examples]
Using If Else in Bash Scripts [Examples]
In this chapter of bash beginner series, you'll learn about using if-else, nested if else and case statements in bash scripts.
·linuxhandbook.com·
Using If Else in Bash Scripts [Examples]
How can I mount a Raspberry Pi Linux distro image?
How can I mount a Raspberry Pi Linux distro image?
Normal filesystem images can be easily mounted: mount system.img /mnt Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get: mount: unknown filesys...
·raspberrypi.stackexchange.com·
How can I mount a Raspberry Pi Linux distro image?
How to Build Multi-Arch Docker Image on NixOS
How to Build Multi-Arch Docker Image on NixOS
With the release of Apple silicon, the adoption of ARM-based CPUs is surging. Many developers are facing a new challenge: compiling their software for ARM-based CPUs. And it’s not just about the binar
·tech.aufomm.com·
How to Build Multi-Arch Docker Image on NixOS
Linux: Low-level Data Copying with dd
Linux: Low-level Data Copying with dd
When you need low-level Linux data copying, there's one tool that never fails: the dd command. Here's how to use dd.
·thenewstack.io·
Linux: Low-level Data Copying with dd
Setting Up an Elixir Development Environment
Setting Up an Elixir Development Environment
Getting your development environment setup with Elixir doesn't have to be hard. Here's a quick guide to getting started.
·brittonbroderick.com·
Setting Up an Elixir Development Environment
Docker containers: Your runtime for old & new apps
Docker containers: Your runtime for old & new apps
You'll often see Docker described as the runtime for modern apps using microservice architectures. Here's how to use containers as the runtime for all of your applications.
·allhandsontech.com·
Docker containers: Your runtime for old & new apps
Syncthing
Syncthing
·syncthing.net·
Syncthing
How To Install Distrobox on Debian 12
How To Install Distrobox on Debian 12
Learn to install Distrobox on Debian 12 with ease. Click for a step-by-step guide and enhance your Linux experience today!
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh
·idroot.us·
How To Install Distrobox on Debian 12
Run exiftool across multiple spefici file types
Run exiftool across multiple spefici file types
is there a way to use exiftool command on all files with specific extensions inside a folder? E.g. exiftool -overwrite_original -all= *.jpg *.png *.jpeg The problem of the command above is that it
·stackoverflow.com·
Run exiftool across multiple spefici file types
Linux: Secure Yourself With GnuPG on Linux
Linux: Secure Yourself With GnuPG on Linux
With a versatile key management system and access to several public key directories, GPG is a must-have for security-minded Linux users.
·thenewstack.io·
Linux: Secure Yourself With GnuPG on Linux
How To Manage Linux Log Services
How To Manage Linux Log Services
This article explains the rsyslog logging service and compares it to the newer journald system. It uses practical command examples to manage the services and update configuration files.
·thenewstack.io·
How To Manage Linux Log Services
Linux: Mount Remote Directories With SSHFS
Linux: Mount Remote Directories With SSHFS
SSHFS mounts remote directories to a local machine using secure encryption, with a connection that is far more secure than your standard FTP.
·thenewstack.io·
Linux: Mount Remote Directories With SSHFS
Extract Video Metadata in Python - CodeSpeedy
Extract Video Metadata in Python - CodeSpeedy
In this tutorial, you will learn how to extract the metadata of a video file in Python. Two methods of extracting the metadata are here.
·codespeedy.com·
Extract Video Metadata in Python - CodeSpeedy
BSD Jumpstart
BSD Jumpstart
A comprehensive guide to NetBSD, FreeBSD, OpenBSD, and DragonFlyBSD
·bsdjumpstart.org·
BSD Jumpstart
Use Caddy for local HTTPS (TLS) between front-end reverse proxy and LAN hosts - Wiki - Caddy Community
Use Caddy for local HTTPS (TLS) between front-end reverse proxy and LAN hosts - Wiki - Caddy Community
TL;DL This Wiki explains how to enable https connections between hosts in a LAN with automatically renewed certificates. Just scroll down and go over the example Caddyfiles. They hopefully have enough comment to understand the idea 😉 Introduction If you have successfully followed the Wiki Using Caddy as a reverse proxy in a home network by @Matt, you have setup a reverse proxy that provides a TLS encrypted connection from the internet to that reverse proxy. This is mandatory and you should...
·caddy.community·
Use Caddy for local HTTPS (TLS) between front-end reverse proxy and LAN hosts - Wiki - Caddy Community
Create LXC Templates [Chuck Nemeth]
Create LXC Templates [Chuck Nemeth]
Create LXC Templates Every time inspiration struck or I saw a blog post with something I wanted to try, it was frustrating and time consuming to get the base operating system set up to the way I like it before proceeding with the project. Now I just update the template each point release or when I add something substantial to my dotfiles so it's ready to go whenever I need to spin up a fresh container.
·wiki.chucknemeth.com·
Create LXC Templates [Chuck Nemeth]