curl -fsSL https://get.docker.com | sh
docker builder prune -f; docker system prune --all --volumes -f
Here’s a cheat-sheet table comparing Ext4, XFS, Btrfs, and ZFS at a glance:
| Feature / FS | Ext4 | XFS | Btrfs | ZFS |
|---|---|---|---|---|
| Stability | Very stable, default in many distros | Very stable, enterprise-grade | Stable (except RAID5/6) | Very stable, but out-of-tree |
| Performance | Good all-around | Excellent for large files, parallel I/O | Good, but COW can slow DB/VM workloads | Good, but heavier resource usage |
| #!/bin/bash | |
| sudo apt update | |
| sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl | |
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg | |
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list | |
| sudo apt update | |
| sudo apt install -y caddy |
| ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'P@ssw0rd'; | |
| FLUSH PRIVILEGES; |