HowtoForge provides user-friendly Linux tutorials.

  • Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Ubuntu 7.10 (Gutsy Gibbon)

    ubuntu Author: Falko TimmeTags: , Comments: 1

    This document describes how to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.

  • Creating A Local Yum Repository (CentOS)

    Author: thimTags: Comments: 21

    Creating A Local Yum Repository (CentOS) Sometimes it can be handy to set up your own repository to prevent from downloading the remote repository over and over again. This tutorial shows how to create a CentOS mirror for your local network. If you have to install multiple systems in your local network then all needed packages can be downloaded over the fast LAN connection, thus saving your internet bandwidth.

  • The Perfect Desktop - gOS 1.0.1

    linux Author: Falko TimmeTags: , Comments: 0

    The Perfect Desktop - gOS 1.0.1 This tutorial shows how you can set up a gOS 1.0.1 desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge. gOS is a lightweight Linux distribution, based on Ubuntu 7.10, that comes with Google Apps and some other Web 2.0 applications; it uses the Enlightenment 17 window manager instead of GNOME or KDE.

  • How To Make Desktop Applications Start Automatically After Login (GNOME)

    Author: Falko TimmeTags: Comments: 4

    How To Make Desktop Applications Start Automatically After Login (GNOME) You probably know this: you power on your machine, and immediately after you've logged in you manually start your two or three favourite applications. Why not have the system start these applications for you automatically? This short guide shows how to accomplish this under GNOME.

  • 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.

  • How To Set Up Database Replication In MySQL

    Author: Falko TimmeTags: , Comments: 61

    How To Set Up Database Replication In MySQL This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync. This is not a backup policy because an accidentally issued DELETE command will also be carried out on the slave; but replication can help protect against hardware failures though.

  • How To Set Up A Load-Balanced MySQL Cluster

    Author: Falko TimmeTags: , Comments: 23

    How To Set Up A Load-Balanced MySQL Cluster This tutorial shows how to configure a MySQL 5 cluster with three nodes: two storage nodes and one management node. This cluster is load-balanced by a high-availability load balancer that in fact has two nodes that use the Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster).

  • How To Back Up MySQL Databases Without Interrupting MySQL

    Author: Falko TimmeTags: , , Comments: 10

    How To Back Up MySQL Databases Without Interrupting MySQL This article describes how you can back up MySQL databases without interrupting the MySQL service. Normally, when you want to create a MySQL backup, you either have to stop MySQL or issue a read lock on your MySQL tables in order to get a correct backup; if you don't do it this way, you can end up with an inconsistent backup. To get consistent backups without interrupting MySQL, I use a little trick: I replicate my MySQL database to a second MySQL server, and on the second MySQL server I use a cron job that creates regular backups of the replicated database.

  • 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.