Linux Tutorials on the topic “debian”

  • Setting Up A Debian Packages Proxy With apt-cacher

    Author: olivierolejniczakTags: Comments: 2

    Setting Up A Debian Packages Proxy With apt-cacher There are many ways to install a Debian Linux but the most common is certainly to use the net-install 160MB CDROM. You can download it from http://www.debian.org/CD/netinst/. Booting up your PC from this CD, you will be capable of setting-up a basic Linux system; downloading updates, extra softwares and language support directly from the Internet. But using this method of installation on more than one PC in your LAN results in a massive waste of your precious bandwidth. Therefore, maybe you should consider using a cloning utility like “Sysimager”. But, as it is most likely that every computer will be slightly different one from another one, you should consider setting up a Debian Package Proxy as a long term solution.

  • Installing Openfire 3.3.3 & Spark 2.5.7 On Debian 4.0 Etch

    Author: kdclaverTags: Comments: 2

    Installing Openfire 3.3.3 & Spark 2.5.7 On Debian 4.0 Etch This artivle explains how to install and use Openfire and Spark. Openfire (previously known as Wildfire Server) is a Jabber/XMPP server, and Spark is a Jabber/XMPP client; both are written in Java. Spark is an open source, cross-platform instant messaging client optimized for businesses and organizations.

  • How To Set Up A Loadbalanced High-Availability Apache Cluster

    Author: Falko TimmeTags: , , Comments: 22

    How To Set Up A Loadbalanced High-Availability Apache Cluster This tutorial shows how to set up a two-node Apache web server cluster that provides high-availability. In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another "Single Point Of Failure", we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.

  • Apache: Creating A Session-Aware Loadbalancer Using mod_proxy_balancer (Debian Etch)

    Author: Falko TimmeTags: , , Comments: 3

    Apache: Creating A Session-Aware Loadbalancer Using mod_proxy_balancer (Debian Etch) Since Apache 2.1, a new module called mod_proxy_balancer is available which lets you turn a system that has Apache installed into a loadbalancer. This loadbalancer retrieves requested pages from two or more backend webservers and delivers them to the user's computer. Users get the impression that they deal with just one server (the loadbalancer) when in fact there are multiple systems behind the loadbalancer that process the users' requests. By using a loadbalancer, you can lower the load average on your webservers. One important feature of mod_proxy_balancer is that it can keep track of sessions which means that a single user always deals with the same backend webserver. Most websites are database-driven nowadays with user logins etc., and you'd get weird results if a user logs in on one backend webserver, and then his next request goes to another backend webserver, meaning he'd get logged out again. You can avoid this by using mod_proxy_balancer's session-awareness.

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

    debian Author: Falko TimmeTags: , , Comments: 6

    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.

  • Merging Multiple Apache Access Logs Into One Overall Access Log

    Author: Falko TimmeTags: , , , Comments: 3

    Merging Multiple Apache Access Logs Into One Overall Access Log Let's assume you have a web application that runs of a cluster of Apache nodes. Each node generates its own Apache access log from which you can generate page view statistics with tools such as Webalizer or AWStats. Obviously you do not want to have page view statistics for each Apache node, but overall page view statistics. To achieve this, we must merge the access logs from each node into one overall access log that we can then feed into Webalizer or AWstats. There is a Perl script called logresolvemerge.pl (part of the AWStats package) that can do this for us.

  • Full Mail Server Solution w/ Virtual Domains & Users (Debian Etch, Postfix, Mysql, Dovecot, DSpam, ClamAV, Postgrey, RBL)

    Author: VecterTags: , , , , Comments: 5

    Full Mail Server Solution w/ Virtual Domains & Users (Debian Etch, Postfix, MySQL, DoveCot, DSpam, ClamAV, Postgrey, RBL) This guide describes how to set up a full email solution in Debian Linux (all code is from Debian Etch).  I was asked to design a secure, scalable, portable solution for a small company.  While the guide references many 'servers', the company only had 4 physical machines, Xen was used to virtualize the entire solution.  That particular aspect of the system is not discussed in this guide, although I will try to get it into the next revision.

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

    Author: the_g_bombTags: , , , , Comments: 0

    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.

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

    Author: kkimmellTags: , , Comments: 7

    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.

  • Installing LedgerSMB (Open Source Accounting Application) On Debian Etch

    Author: Falko TimmeTags: Comments: 1

    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.