Skip to content
SumGuy's Ramblings

Archives

All the articles I've archived.

2026 35
March 10
February 10
January 15
2025 76
December 7
November 16
October 13
September 12
August 17
July 10
April 1
2024 66
September 3
August 1
July 26
June 23
May 1
April 3
March 2
February 7
2023 21
September 2
July 2
April 2
March 7
February 8
  • How to install NextCloud via Docker

    Self-host Nextcloud in Docker with persistent storage and a reverse proxy — your own Google Drive without the Google.

  • Ed25519 ssh keys

    Ed25519 is faster and more secure than RSA for SSH keys — generate a key pair, add it to authorized_keys, and ditch the old RSA habits.

  • Install a php script in PHP-FPM & Caddy via Docker

    Run PHP apps with PHP-FPM and Caddy in Docker — FastCGI configuration, volume mounts, and the Caddyfile that wires it all together.

  • Install Caddy reverse proxy via Docker

    Get Caddy running as a reverse proxy in Docker — automatic HTTPS, Caddyfile config, and Docker Compose setup in under 10 minutes.

  • Access Docker socket via TCP

    Expose Docker's Unix socket over TCP so remote tools and dashboards can connect — daemon.json config for Linux and Windows.

  • How to install Docker rootless

    Install Docker in rootless mode step by step — user namespaces, subuid config, and running containers without ever touching sudo.

  • Install docker on Ubuntu/Debian

    The official, no-nonsense way to install Docker Engine on Ubuntu and Debian — repository setup, key import, and one command to verify it works.

  • Linux su with custom shell

    Use su with a specific shell to switch users without the default login shell — useful when /etc/passwd points to something unexpected.

2019 2
September 1
July 1
  • Proxmox iso upload method

    Upload ISOs to Proxmox via the web UI, command line, or direct URL download — stop fumbling with USB drives for your VMs.

2016 6
August 2
May 2
  • Why you should switch to ZShell ( zsh )

    Switch your default shell to zsh on Linux — chsh, Oh My Zsh install, and the config that makes zsh actually better than bash.

  • Alsa CLI Volume control

    Control Linux audio volume and mic boost from the terminal with ALSA's amixer — no GUI needed, no remembering cryptic card numbers.

April 1
February 1
2015 1
July 1
2014 2
November 2
2013 10
October 1
September 1
  • Bash for loops sequential counting

    Master bash for loops, while loops, and seq for sequential counting — iterate over files, ranges, and arrays without losing your mind.

July 4
  • Adding extra Swap to Linux

    Out of RAM and no time to reimage? Add swap via a file on any partition using mkswap, swapon, and fstab — done in under 5 minutes.

  • Repair & Optimize all Mysql Databases one liner

    Repair and optimize all MySQL databases at once with mysqlcheck — a one-liner that runs on every table without logging into MySQL.

  • Remove all old installed but unused kernels

    Old kernels pile up in /boot and eat disk space — safely remove unused kernels on Ubuntu and Debian with apt and purge-old-kernels.

  • Apache Fancy Indexes

    Turn Apache's plain directory listing into a styled, sortable file browser with FancyIndexes — icons, headers, and custom CSS included.

May 4
  • Linux CLI Tarball extraction

    Extract tar.gz, tar.bz2, tar.xz, and zip files from the command line — the flags, the gotchas, and extracting to a specific directory.

  • Mysql CLI basics

    Connect to MySQL from the command line, run queries, manage databases and users, import/export dumps — the basics you keep Googling.

  • Screen start issues

    GNU Screen failing to start or throwing errors? Common causes, the lock file issue, and how to clean up orphaned sessions.

  • secure copy ( SCP ) howto 102

    scp copies files over SSH — syntax for local-to-remote, remote-to-local, and host-to-host transfers with the flags that actually matter.

2012 8
October 1
September 1
  • Logrotate & Compression

    logrotate keeps your /var/log from eating the disk — configure rotation schedules, compression, and retention for any service log.

April 2
March 2
  • recursively delete all empty subdirectories

    Clean up empty directories left after moving or deleting files with find and rmdir — one-liner to recursively prune empty subdirs.

  • Directory FileCount

    Count files in a directory (recursively or not) with find, ls, and tree — quick one-liners for when du just isn't telling you enough.

February 2
  • Archive & Compression utilities

    tar, gzip, bzip2, xz, zip — demystified. When to use each compression tool, speed vs ratio trade-offs, and the flags you'll actually need.

  • Sed 101

    sed is the stream editor for making text substitutions, deletions, and insertions in files — the patterns you'll use 90% of the time.