How to Check MySQL Table Sizes and Find What Is Eating Your Disk

check mysql table sizes

When a VPS disk fills up overnight, MySQL is usually the first suspect. WordPress sites, logs, and old tables grow quietly for months, then one morning the site throws a database error. The fix starts with facts, not guesses. To check MySQL table sizes, run one query against information_schema and you get a ranked list … Baca Selengkapnya

How to Self-Host Immich for Photo Backups on Your VPS

self-host immich for photo backups

Google Photos used to feel free until the storage meter started climbing and the bill followed. If you run a VPS already, you can move your photo backups home and keep the originals on hardware you control. Self-host Immich for photo backups and you get face recognition, timeline search, shared albums, and automatic uploads from … Baca Selengkapnya

How to Run Nextcloud with Redis and PostgreSQL in Docker Compose

nextcloud docker compose redis postgresql

Running Nextcloud on a single container with SQLite works for a quick test, but it starts to struggle once real files, real users, and real sync clients show up. A better setup pairs Nextcloud with Redis for caching and file locking and PostgreSQL for the database, all wired together with Docker Compose. This guide walks … Baca Selengkapnya

How to Auto-Update Docker Containers Safely with Watchtower Labels

auto-update docker containers with watchtower

Running docker compose pull && docker compose up -d by hand every week gets old fast, especially when you self-host half a dozen apps on one VPS. Learning how to auto-update Docker containers with Watchtower labels takes that chore off your plate without handing Watchtower the keys to everything. Labels let you pick which containers … Baca Selengkapnya

How to Set Up a GitLab Runner with Docker Executor on a VPS

gitlab runner docker executor

Running your own GitLab Runner Docker Executor on a VPS puts your CI pipeline on hardware you control, with no per-minute billing and no queue behind other tenants. Each job spins up a fresh container, runs, and disappears, so a broken build cannot poison the next one. This guide walks through the whole setup on … Baca Selengkapnya

How to Host Your Own Docker Images Without Docker Hub

host your own docker images

Docker Hub works well until it gets in the way. A pull hits a rate limit during a deploy, a build fails at 2 a.m. because the registry is unreachable, or an image holds something you would rather not store on someone else’s servers. When you host your own docker images, you decide where they … Baca Selengkapnya

How to Monitor Nginx Access Logs for Traffic Spikes with GoAccess

monitor nginx access logs

Your site suddenly feels slow, pages take forever to load, and you have no idea whether a post went viral or a bot is hammering your server. The answer is already sitting on your VPS: the Nginx access log records every single request. Learning to monitor nginx access logs with GoAccess turns that wall of … Baca Selengkapnya

How to Restore a Single File from a Restic Backup Without Restoring Everything

single file restore from restic

Deleting one file by accident is a miserable feeling. You have a full backup, but restoring an entire snapshot just to get one wp-config.php back is worse: a full restore can overwrite files that changed since the backup was taken, and on a busy server it takes far longer than one file is worth. A … Baca Selengkapnya