HowTo: Merge Apache / Lighttpd / Nginx Server Log Files

Posted on in Categories , , last updated February 23, 2011

My ecommerce site runs using a cluster of Apache web server. The cluster is behind nginx load balancer. I want to merge backend Apache web server log files for statistics purpose. How do I mere web server log files under Linux / UNIX like operating systems using cron jobs?
Continue reading “HowTo: Merge Apache / Lighttpd / Nginx Server Log Files”

CentOS / Redhat Linux: Install Keepalived To Provide IP Failover For Web Cluster

Posted on in Categories , , last updated February 1, 2011

Keepalived provides a strong and robust health checking for LVS clusters. It implements a framework of health checking on multiple layers for server failover, and VRRPv2 stack to handle director failover. How do I install and configure Keepalived for reverse proxy server such as nginx or lighttpd?

Linux Demilitarized Zone (DMZ) Ethernet Interface Requirements and Configuration

Posted on in Categories , , , , , , , , last updated January 2, 2008

Q. Can you tell me more about Linux Demilitarized Zone and Ethernet Interface Card Requirements for typical DMZ implementation? How can a rule be set to route traffic to certain machines on a DMZ for HTTP or SMTP?

A. Demilitarized zone, used to secure an internal network from external access. You can use Linux firewall to create DMZ easily. There are many different ways to design a network with a DMZ. The basic method is to use a single Linux firewall with 3 Ethernet cards. The following simple example discusses DMZ setup and forwarding public traffic to internal servers.
Continue reading “Linux Demilitarized Zone (DMZ) Ethernet Interface Requirements and Configuration”