Dissecting a running Linux instance to build a Packer configuration
How to extract packages, services, users, and filesystem configuration from a running Linux instance and use it as the basis for a repeatable Packer AMI template.
Linux administration, troubleshooting and operations on production systems.
How to extract packages, services, users, and filesystem configuration from a running Linux instance and use it as the basis for a repeatable Packer AMI template.
How to build a disposable MySQL test environment using Docker or Multipass, load it with realistic datasets at three scales (sakila, employees, IMDb), and use it for version upgrade and performance tuning practice.
How to chain commands with Bash pipes, why the default error-handling behaviour is dangerous, and how to fix it with pipefail, PIPESTATUS, and a defensive script header.
AWK scripts for converting between IP addresses and decimal numbers – and why this makes a reliable source of unique server IDs for MySQL replication clusters and other distributed systems.