Linux Tutorials on the topic “debian”

  • Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch

    ha Author: Falko TimmeTags: , Comments: 4

    Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch This article explains how to set up a two-node load balancer in an active/passive configuration with Perlbal and heartbeat on Debian Etch. The load balancer sits between the user and two (or more) backend Apache web servers that hold the same content. Not only does the load balancer distribute the requests to the two backend Apache servers, it also checks the health of the backend servers. If one of them is down, all requests will automatically be redirected to the remaining backend server. In addition to that, the two load balancer nodes monitor each other using heartbeat, and if the master fails, the slave becomes the master, which means the users will not notice any disruption of the service. Perlbal is session-aware, which means you can use it with any web application that makes use of sessions (such as forums, shopping carts, etc.).

  • Setting Up A High-Availability Load Balancer With HAProxy/Wackamole/Spread On Debian Etch

    ha Author: Falko TimmeTags: , Comments: 0

    Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Wackamole/Spread On Debian Etch This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy, Wackamole, and Spread on Debian Etch. The load balancer sits between the user and two (or more) backend Apache web servers that hold the same content. Not only does the load balancer distribute the requests to the two backend Apache servers, it also checks the health of the backend servers. If one of them is down, all requests will automatically be redirected to the remaining backend server. In addition to that, the two load balancer nodes monitor each other using Wackamole and Spread, and if the master fails, the slave becomes the master, which means the users will not notice any disruption of the service. HAProxy is session-aware, which means you can use it with any web application that makes use of sessions (such as forums, shopping carts, etc.).

  • How To Set Up A Caching Reverse Proxy With Squid 2.6 On Debian Etch

    debian Author: Falko TimmeTags: Comments: 1

    How To Set Up A Caching Reverse Proxy With Squid 2.6 On Debian Etch This article explains how you can set up a caching reverse proxy with Squid 2.6 in front of your web server on Debian Etch. If you have a high-traffic dynamic web site that generates lots of database queries on each request, you can decrease the server load dramatically by caching your content for a few minutes or more (that depends on how often you update your content).

  • How To Rebuild The Squid 2.6 Debian Package with Support For X-Forwarded-For Headers

    debian Author: Falko TimmeTags: Comments: 0

    How To Rebuild The Squid 2.6 Debian Package with Support For X-Forwarded-For Headers This article describes how you can rebuild the Squid 2.6 package for Debian Etch with support for X-Forwarded-For headers - this feature is not enabled in the default Debian Etch Squid package. This feature is useful if you are using Squid as a reverse proxy for your web site and are using a load balancer (such as HAProxy) in front of Squid - it allows us to track the client's original IP address instead of the load balancer's IP address (which to Squid appears as the client).

  • How To Configure Apache To Use Radius For Two-Factor Authentication On Ubuntu

    apache Author: nowenTags: , , , Comments: 1

    How To Configure Apache To Use Radius For Two-Factor Authentication On Ubuntu This document describes how to add WiKID two-factor authentication to Apache 2.x using mod_auth_radius on Ubuntu 8.1. A previous article described how to add two factor authentication to apache on Fedora. Interestingly, a patch has been created to update mod_auth_radius to work with Apache 2.2+, however, it has only been updated for Debian and Ubuntu. For Fedora and other RedHat flavors of Linux, it is recommended that you use mod_auth_xradius.

  • Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch

    mysql Author: Falko TimmeTags: , , Comments: 15

    Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch This tutorial explains how you can set up MySQL master-master replication on four MySQL nodes (running on Debian Etch). The difference to a two node master-master replication is that if you have more than two nodes, the replication goes in a circle, i.e., with four nodes, the replication goes from node1 to node2, from node2 to node3, from node3 to node4, and from node4 to node1.

  • Hardening The Linux Kernel With Grsecurity (Debian)

    tux Author: EvilAngelTags: , Comments: 3

    Hardening The Linux Kernel With Grsecurity (Debian) Security is based on three characteristics: prevention, protection and detection. Grsecurity is a patch for Linux kernel that allows you to increase each of these points. This howto was performed on a Debian Lenny system. Thus some tools are Debian specific. However, tasks can be performed with other distro specific tools or even with universal tools (make).

  • Installing The Link Layer Topology Discovery (LLTD) Protocol Responder For Linux On Debian Lenny

    debian Author: cprescoTags: Comments: 13

    Installing The Link Layer Topology Discovery (LLTD) Protocol Responder For Linux On Debian Lenny This document describes how to install and configure the Link Layer Topology Discovery (LLTD) Protocol - Responder Source Code from Microsoft. The lld2d daemon allows linux systems to display in Vista's Network Map. This How-To should be easily adaptable to other distros.

  • phpsh, An Interactive Shell For PHP (Debian Etch)

    php Author: Falko TimmeTags: , Comments: 0

    phpsh, An Interactive Shell For PHP (Debian Etch) phpsh is an interactive shell for php that features readline history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. This article explains how you can install/use it on a Debian Etch system.

  • Using IPv6 On Debian Etch

    ipv6 Author: Falko TimmeTags: , Comments: 6

    Using IPv6 On Debian Etch This document describes how you can configure a Debian Etch system for IPv6 so that a) it can connect to other IPv6 hosts and b) other IPv6 hosts can connect to it. IPv6 should become more important in the future as recent estimates assume that there will be no more IPv4 addresses left by 2010 or 2011. Therefore it's time time to learn IPv6.