All articles tagged with SysAdmin
A reference for lowering a cloud bill: measure first, right-size, use Spot for interruptible work, schedule capacity, compare regions, and track egress.
How to move a large live PostgreSQL or MySQL database to a new server with streaming replication and a short write freeze, including the pitfalls in commonβ¦
How to remove common latency and connection-error causes in an Nginx or Kong API gateway: file limits, upstream keepalive, backlog, port range, logging and TLS.
How to build reports from raw Apache or Nginx access logs with AWStats on CentOS 6: log format, config, cron, protected access, and limits.
A reference setup for Postfix on CentOS 6 (2012): fix mail rejected or sent to spam with matching DNS, restricted SMTP, TLS submission with SASL, SPF and DKIM.
Put HAProxy 1.4 in front of web nodes on CentOS 6, tune the kernel and use Keepalived VRRP so the balancer itself is no single point of failure.
Build an OpenVPN 2.2 gateway on CentOS 6 with a private CA, and fix the usual failures: missing TUN device, no forwarding or NAT, and iptables rule order.
How to run a private, key-only Git server with Gitolite 2.x on CentOS 6, with access rules kept in a Git repository. Covers latency, I/O, and backups.
Why asynchronous replication can lose committed transactions, and how MySQL 5.5 semisync and PostgreSQL 9.1 synchronous replication address it on a CentOS 6β¦
A 2010-era baseline for CentOS 5 and Ubuntu 10.04: key-only SSH, a default-drop iptables policy, sysctl network settings and fewer listening services.
Why plain FTP exposes credentials, and how to lock users into a directory with OpenSSH ChrootDirectory and internal-sftp on CentOS 5.
Why Apache prefork wastes RAM on static files and slow clients, and how a lighttpd front end plus tuned MaxClients and keep-alive fixes it on CentOS 5.
A 2009 reference for VPS users on container-based hosting: why "Cannot allocate memory" appears while free shows RAM, and how to read and fix it.
Why services in an OpenVZ container fail with allocation errors while free memory looks fine, and how to find and raise the exhausted User Beancounter limit.
How to remove the single points of failure from a small web cluster in 2009: two HAProxy nodes sharing a VRRP address in front of two or more web nodes.