public marks

PUBLIC MARKS with tags tutorial & debian

November 2008

Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by camel & 1 other (via)
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 (which is explained here) 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. 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.

June 2008

How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 | HowtoForge - Linux Howtos and Tutorials

by camel
This tutorial is based on Falko Timme's tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an 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). In this document I use Debian Etch 4.0 for all nodes. Therefore the setup might differ a bit for other distributions. The two data nodes were x64 to use all of the 8GB RAM. Servers were compiled from source so you should be able to make it running on any platform. The MySQL version I use in this setup is 5.1.24-rc. It's a release candidate, but I wanted to use 5.1 to take advantage of Memory-Disk Based tables. Beginning with MySQL 5.1.6, it is possible to store the non-indexed columns of NDB tables on disk, rather than in RAM as with previous versions of MySQL Cluster.

April 2008

February 2008

Installer et configurer OpenVPN sur Debian 4.0 Etch

by lecyborg
OpenVPN est un logiciel permettant de créer des réseaux privés virtuels sans utiliser des technologies telles que PPtP (Microsoft) ou IPSec. Il est de plus disponibles sur de nombreux systèmes d'exploitation (Microsoft Windows, GNU / Linux, MacOS X, ...). C'est une solution simple pour gérer un réseau privé virtuel composé de machines hétéroclites dans un environnement n'autorisant pas IPSec.

Howto Install Sun Java on Debian Etch

by lecyborg
This small guide shows how to install the original Sun Java 2 Platform Standard Edition 5.0 JRE (Java Runtime Environment) and JDK (Java Developer Kit) on Debian 4.0 Etch

How-To: Monitoring a Server with Munin

by lecyborg
Munin is a simple to configure tool that make real nice graph about your server status. It can actually deal with almost any aspect of your server (load average, network cards status, CPU usage, memory usage, postfix, exim4, mysql ...) without spending much time in configuring it. Munin produce MRTG likes graph so you can easily see how your server health is going.

Installing Lighttpd With PHP5 And MySQL Support On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by camel & 1 other
Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Debian Etch server with PHP5 support (through FastCGI) and MySQL support.

Reduce Apache's Load With lighttpd On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by camel
Lighttpd, sometimes pronounced "Lighty", is a lightweight HTTP server that can help alleviate Apache's load by serving static content. Since Lighttpd uses less resources per request than Apache, it generally serves most static content faster than Apache. This tutorial shows how to install Lighttpd behind Apache via Apache´s proxy module.

January 2008

Make SSH connections with PHP

by lecyborg & 3 others
Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up. In this article I'm going to assume that: * You're running Debian / Ubuntu If not, you will have to substitute the package manager aptitude with whatever your distribution provides * You're running PHP 5 If not, just replace php5 with php4 everywhere * You have basic knowledge of PHP & server administration * You already have PHP installed

December 2007

Convertir système debian en Raid1

by lecyborg
Our intention is not to build a fail-safe system nor a HA-Linux. We are just using RAID-1 mirrored disks to make sure that the system can be restored easily if 1 disk crashes. The following has been tested only twice (hey, we've got other things to do). It did work for us, it might work for you. It might also make your rats go berserk or just blow your mind.

Xen Cluster Management With Ganeti On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by camel & 1 other
Ganeti is a cluster virtualization management system based on Xen. In this tutorial I will explain how to create one virtual Xen machine (called an instance) on a cluster of two physical nodes, and how to manage and failover this instance between the two physical nodes.

documentation:convert_vmware_image_to_xen [contrib.lynuxsolutions.com]

by camel
This tutorial explains how to convert a VMWARE image of a Debian Etch to a XEN image on a Debian Sid dom0 using XEN 3.0.3.

November 2007

RAID1 on Debian Sarge

by lecyborg
A RAID device is a Redundant Array of Independent Disks. The concept was developed in 1987 at UC Berkeley and involves the creation of a virtual disk from multiple small disks in order to deliver improved performance and reliability. There are many flavors of RAID and lots of variations in how to implement it. We detail here a specific instance we use: software RAID1 using IDE disks on a Dell PowerEdge box running Debian "sarge" loaded with grub, managed by mdadm, using the ext3 journaling file system.

How to convert your debian partition to a software raid 1 on the fly

by lecyborg
The system is equipped with 2 similar hard disks (they do not have to be the same but it helps if they are at least similar). The first disk is attached to the primary IDE as master, it will be referenced as /dev/hda. The second disk is attached to the secondary IDE also as master, it will be referenced as /dev/hdc.

Network traffic analyzer for Your Ubuntu System

by lecyborg
Darkstat is a network statistics gatherer.Effectively, it’s a packet sniffer which runs as a background process on a cable/DSL router, gathers all sorts of useless but interesting statistics,and serves them over HTTP.

October 2007

Xen from Backports on Debian Sarge

by lecyborg
There is a great howto about installing Xen on Debian Unstable. It is really easy to do and it runs fine. Nevertheless, on production servers, that's not an optimal solution. Debian Unstable has too many updates and things change too often. On production machines, a Xen host system should be stable, secure and should not need much attention. That is where Sarge comes in. If you pull the Xen packages from backports and install them on Debian stable you've got the best of both worlds. Let's do so!

Problems with incrementing eth0; changing mac address, udev, xen and etch

by lecyborg
Lastly on one of the domU's, I had recently upgraded it to Etch. It was rebooted previously and did work. However after going back to Xen with Backports, its network didnt work.

Xen 3 for Debian

by lecyborg & 3 others
Since several years, I build my own network at home, running 2 to 7 machines at the same time (gateway, firewall, workstation, devstation, servers...). In my flat, it produce a lot of noise, take too many space and consume electricty. I decided to stop that, and to run my all network into a single machine, using virtual machine. The technology that convinced me is Xen.

Create DomU

by lecyborg
Creating a Virtual Server - domU There are 3 options of what to run DomU on: 1. File Based Image 2. LVM Based 3. Physical Partition 1. A file based image is the quickest to setup, however has poor/terrible IO performance. The virtual server is limited to the initial size of the image created also. The file based Image can however be easily mounted in a rescue system, and easily backed-up. 2. LVM for domU is the industry standard. After the initial setup of LVM, as described here, it is a dream to manage. LVM partitions can be resized afterwards!!! Due to this "resizing" capability and flexibility, its use for Xen Virtual Servers is ideal. They also have much better IO performance than file-based. I dont know about mounting these partitions however in a rescue system. Something to try out... -). 3. Physical Partitions have the best IO, but are difficult to alter and inflexible.

September 2007

Disk Based Backups With Amanda On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by camel
This document describes how to set up Amanda (The Advanced Maryland Automatic Network Disk Archiver) on Debian Etch. For this tutorial I chose Ubuntu v7.04 as a backup-client. The resulting system provides a flexible backup-system with many features. It will be able to back up multiple hosts via network to various devices. I chose the disk based backup for this howto.

Chrooted SSH/SFTP Tutorial (Debian Etch) | HowtoForge - Linux Howtos and Tutorials

by camel
This tutorial describes two ways how to give users chrooted SSH access. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to break out of. The users will also be able to use SFTP in their chroot jails.

August 2007

Virtual Machine Replication & Failover with VMWare Server & Debian Etch (4.0) | HowtoForge - Linux Howtos and Tutorials

by camel
This tutorial provides step-by-step instructions about how to create a highly available VMware Server environment on a Debian Etch system. With this tutorial, you will be able to create Virtual Machines that will be available on multiple systems with failover/failback capabilities.

May 2007

Forum :: Voir le sujet - Installation complète d'un serveur dédié sur Sarge

by camel (via)
voici un tutorial sur l'installation au grand complet d'un serveur sur une distribution sarge, j'ai repiqué par-ci et par-là des informations et j'ai tout regroupé dans un tutorial qui est fonctionnel car je l'ai testé sur un serveur dédié OVH et Dédibox et même en local.

PUBLIC TAGS related to tag tutorial

ajax +   alire +   apache +   blog +   development +   django +   doctest +   dreamhost +   expert +   facebook +   french +   fulltext +   geodjango +   gillesfabio +   howto +   installation +   mac +   middleware +   openid +   os-x +   osx +   performance +   postgresql +   programming +   python +   resources +   search +   tdd +   template +   templates +   web +   webserver +  

Active users

camel
last mark : 20/11/2008 16:02

kemar
last mark : 15/04/2008 12:05

lecyborg
last mark : 15/02/2008 14:08

_Oni_
last mark : 23/08/2007 15:39