Console Login

#CentOS 6

All articles tagged with CentOS 6

#CentOS 6

Memcached or Redis for Caching and Sessions: A 2014 Reference

When to use Memcached or Redis 2.8 for caching and PHP sessions on CentOS 6. Covers persistence, eviction, AOF fsync stalls, and a split-instance setup.

Server Log Analysis with AWStats on CentOS 6 and Apache

How to build reports from raw Apache or Nginx access logs with AWStats on CentOS 6: log format, config, cron, protected access, and limits.

Postfix on CentOS 6: Mail Delivery with PTR, SPF and DKIM

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.

HAProxy 1.4 and Keepalived on CentOS 6: Redundant Load Balancing

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.

OpenVZ failcnt: Diagnosing Memory Denials on a Shared-Kernel VPS

How to tell when an OpenVZ container is being refused resources: read user_beancounters, interpret failcnt, and shrink MySQL and Apache to fit the limits.

OpenVPN 2.2 gateway on CentOS 6: PKI, NAT and firewall fixes

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.

Diagnosing MySQL I/O Bottlenecks on Linux: Scheduler, Mounts, InnoDB

How to confirm that MySQL 5.5 is stuck on disk I/O, and how to tune the I/O scheduler, ext4 mount options and InnoDB settings for flash or fast virtual storage.

Private Git Hosting with Gitolite on CentOS 6

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.

MySQL 5.5 I/O Tuning: InnoDB, Flush Settings, Scheduler, Swap

Cut disk waits on a MySQL 5.5 server on CentOS 6: convert tables to InnoDB, size the buffer pool and logs, set the flush policy, I/O scheduler and swappiness.

MySQL 5.5 vs PostgreSQL 9.1: Choosing and Replicating Safely

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…