Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Keepalived On Debian Etch

October 27th, 2007


View original post


Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Keepalived On Debian Etch

This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy
and keepalived 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 keepalived, 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.).

Read more…

View source post

Installing ehcp (Easy Hosting Control Panel) On Any Debian Or Apt-Get Based Distro, Including Ubuntu

October 27th, 2007


View original post


Installing ehcp (Easy Hosting Control Panel) On Any Debian Or Apt-Get Based Distro, Including Ubuntu

In this tutorial I will show you howto install ehcp on any debian based distro, or any distro that has apt-get support. ehcp stands for Easy Hosting Control Panel. It may be used by anyone
wanting to host multiple domains in his dedicated/vps server. It is a
hosting control panel under development.

Read more…

View source post

Setting Up Master-Master Replication With MySQL 5 On Debian Etch

October 27th, 2007


View original post


Setting Up Master-Master Replication With MySQL 5 On Debian Etch

Since version 5, MySQL comes with built-in support for master-master
replication, solving the problem that can happen with self-generated
keys. In former MySQL versions, the problem with master-master
replication was that conflicts arose immediately if node A and node B
both inserted an auto-incrementing key on the same table. The
advantages of master-master replication over the traditional
master-slave replication are that you don’t have to modify your
applications to make write accesses only to the master, and that it is
easier to provide high-availability because if the master fails, you
still have the other master.

Read more…

View source post

Have Your Own (Chrooted) Debian LAMP Server While Running The Perfect Ubuntu Desktop

October 27th, 2007


View original post


Have Your Own (Chrooted) Debian LAMP Server While Running The Perfect Ubuntu Desktop

This is a brief description about the steps to be taken to setup a
Debian based Webserver (Debian Sarge alias Debian 3.1) that will run
chrooted under Ubuntu 7.04.

Read more…

View source post

How To Install A Complete LEMP (Linux - EngineX (Nginx HTTP SERVER) - Mysql - PHP) Server (Not LAMP…) On Ubuntu/Debian

October 27th, 2007


View original post


How To Install A Complete LEMP (Linux - EngineX (Nginx HTTP SERVER) - Mysql - PHP) Server (Not LAMP…) On Ubuntu/Debian

This HowTo will describe the setup of an efficient http server and mail server for small or medium configurations (as low as 96 mb). Why LEMP instead of LAMP? NGINX is a great replacement for Apache with very low memory footprint and great stability.

Read more…

View source post

PHP Access To An MSSQL Database From Debian Etch With ODBC And FreeTDS

October 27th, 2007


View original post


PHP Access To An MSSQL Database From Debian Etch With ODBC And FreeTDS

This assumes you already have Apache2 and PHP5 set up properly on
your system. My efforts to get this connection working were compiled
from information found at www.unixodbc.org and www.freetds.org.
These steps worked for me with an Apache2 web server with php5 running
on Debian Etch stable in October of 2007. The SQL server is running
Microsoft SQL 2005 on a Windows 2003 Server OS.

Read more…

View source post

Using ATA Over Ethernet On Debian Etch

October 27th, 2007


View original post


Using ATA Over Ethernet On Debian Etch

Imagine you have a machine with all of its disk full and another
with unused gigabytes, and you don’t want to move the data from one to
the other. Why not using
the second’s disk on the first, you can do it with iSCSI but you can do
it with
ATA over
Ethernet (AoE) too. It’s the second method I’ll explain in this
article. All of this was made with two computers running Debian Etch.

Read more…

View source post

Installing LedgerSMB (Open Source Accounting Application) On Debian Etch

October 27th, 2007


View original post


Installing LedgerSMB (Open Source Accounting Application) On Debian Etch

LedgerSMB is
a free (licensed under the GPL), web based double entry accounting
system written in Perl which uses PostgreSQL for data storage. It is
intended for small and medium businesses (SMB), and it can be used
easily through a regular web browser like Firefox. This tutorial
explains how to install LedgerSMB on a Debian Etch system.

Read more…

View source post

Enhanced Logging With rsyslog On Debian Etch And phpLogcon For Viewing

October 27th, 2007


View original post


Enhanced Logging With rsyslog On Debian Etch And phpLogcon For Viewing

Well everybody knows the issues of
reading and searching in log files. If you have more than one machine
it even gets worse. This tutorial describes how to install and
configure rsyslog on Debian Etch, but it can be adapted to other
distributions.

Read more…

View source post

How To Set Up VMware Tools On Various Linux Distributions

October 27th, 2007


View original post


How To Set Up VMware Tools On Various Linux Distributions

This document explains how to set up the VMware Tools in the
following guest operating systems: Ubuntu 7.04, Fedora 7, PCLinuxOS
2007 and Debian Etch. Installing VMware Tools in your guest operating
systems will help maximize performance, provide mouse synchronization
and copy & paste functionality. This article also shows a way of
making VMware Tools start automatically when you start a guest
operating system.

Read more…

View source post