005/006: mount /dev/sdb at /var/lib/postgresql + install PostgreSQL 17 on it

This commit is contained in:
wan
2026-08-31 16:11:37 +09:00
parent 9284569222
commit 873d254009
3 changed files with 84 additions and 1 deletions
+2 -1
View File
@@ -45,9 +45,10 @@ For a private repo you need an auth strategy:
| 002 | disable-networkd-dispatcher| reclaim ~27MB RAM |
| 003 | purge-exim4 | reclaim ~21MB RAM (package removed) |
| 004 | purge-haveged | reclaim ~8MB RAM (package removed) |
| 005 | mount-pgdata | /dev/sdb (20G) -> /var/lib/postgresql, fstab |
| 006 | install-postgres | PG 17 cluster on the dedicated disk |
## Roadmap
- `005-install-postgres` - install PostgreSQL + create cluster
- `010-tune-postgres` - 1GB tuning (shared_buffers=128MB, work_mem=4MB,
max_connections=30, ...)