$ info sysadmin.faq

Frequently Asked Questions

Core concepts, troubleshooting runbooks, container orchestration, and production best practices.

Why should I disable SSH password authentication?

Password authentication is vulnerable to automated botnets and brute-force dictionary attempts on port 22. Deploying ed25519 public key authentication and disabling root passwords in /etc/ssh/sshd_config provides cryptographically sound remote shell security.

What is the primary benefit of Docker containerization?

Docker encapsulates application binaries, runtime libraries, and environment dependencies into lightweight, isolated immutable layers. This eliminates configuration drift and ensures identical execution from local development to production clusters.

How should automated database backup cronjobs be structured?

Production servers require automated nightly mysqldump/pg_dump snapshots, gzip/zstd stream compression, GPG encryption, and automated upload to offsite S3 object storage with a 30-day lifecycle retention policy.

How does Prometheus compare to traditional SNMP monitoring?

Prometheus utilizes a pull-based HTTP model with a dimensional time-series data format. Node_exporter scrapes hardware, disk I/O, and network telemetry at sub-second granularity for real-time Grafana dashboarding and alertmanager dispatching.

What are the strict Linux permissions for SSH keys?

The private key must be set to chmod 600 ~/.ssh/id_ed25519 (readable only by the owner), the public key to chmod 644 ~/.ssh/id_ed25519.pub, and the ~/.ssh directory itself to chmod 700.

What is the difference between Layer 4 and Layer 7 load balancing?

Layer 4 load balancing forwards TCP/UDP traffic based on IP addresses and ports with minimal overhead. Layer 7 parses HTTP headers, SSL termination, and URL paths to route traffic intelligently to specific microservice pools.

How should MySQL innodb_buffer_pool_size be configured?

On a dedicated database node, set innodb_buffer_pool_size to approximately 70-80% of total server RAM. This allows frequently queried indexes and data pages to remain resident in physical RAM, avoiding high-latency disk I/O.

How can I contribute runbooks and server tutorials?

Sysadmins and SREs can submit tested Markdown runbooks to our editorial team via [email protected]. All submitted guides are validated in isolated container sandboxes prior to publication.