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.
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
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.
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...
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.
HomeLab 4: Install and configure Nginx Proxy Manager with SSL Wildcard Certs | Claudiu's Blog
1. Forward HTTPS traffic to Ubuntu machine First we need to redirecting the communication addressed to the public IP address to the static IP of our host Ubuntu machine. In my case, that address is the 192.
This article explains the role of command-line package managers, examines the package manager options for various distributions and demonstrates how to manage software with some of the most common tools.
Mount share only if connected to Tailscale - Linux - Tailscale
Sorry for the delayed response, hope it helps. Documenting anyway as it might help others as well. The idea is to have a systemd target (tailscale-online.target) that we ensure is enabled if and only if tailscale is up and vice versa. To do that write and enable tailscale-dispatcher.timer: [Unit] Description=Checks for tailscale state and syncs with `tailscale-online.target` BindsTo=tailscaled.service After=tailscaled.service [Timer] OnBootSec=0 OnUnitInactiveSec=10 AccuracySec=1 [Install]...
I installed NixOS on a
Raspberry Pi 3B. Here’s a write-up on the process, the problems I
encountered and what I learned. Let me tell you: the Pi’s boot process
is weird. Also it’s too slow to even evaluate my NixOS config so I had
to build and deploy it remotely, and some other fun stuff.
How do I run a Bash script in an Alpine Docker container?
I have a directory containing only two files, Dockerfile and sayhello.sh:
.
├── Dockerfile
└── sayhello.sh
The Dockerfile reads
FROM alpine
COPY sayhello.sh sayhello.sh
CMD ["sayhello.sh"...
tcpdump is the world’s premier network analysis tool—combining both power and simplicity into a single command-line interface. This guide will show
Tcpdump write pcap to remote server with file rotation
I'm trying to run tcpdump on linux machine, which needs to write pcap on the remote server with file rotation every 10 seconds.
tcpdump -s0 -i eth0 -G 10 -w - | ssh {remote_ip} "cat > capture_%...