Sponsorised links
April 2008
Damn Small Linux is light | Le blog de Yohann CIURLIK | Spawnrider.Net :: Blog
sortie de la version 4.3 de Damn Small Linux. C’est une distribution très légère de 50Mo environ basée sur Knoppix, Debian et GNU Linux. Elle peut s’intaller sur :
* Une clé USB,
* Une carte Compact Flash via la méthode dite “Frugal Install”,
* Un mini-cd,
* Un ordinateur 486DX avec 16MB de RAM,
* 128 Mo de mémoire RAM.
Bref, une pure merveille pour les vieilles machines ou les petites configuration (les pc embarqués et les nano-ITX).
A l’intérieur, des tonnes de logiciels. Et oui, avec 50 Mo vous pourrez en faire des choses.Navigateur, client Mail, suite office légére, XMMS, client FTP, AIM, ICQ, …
ColdFusion MX: Explanation of Request Timeout and threadWaitTimeout settings
This TechNote explains what the Request timeout and threadWaitTimeout settings are and how they work. Note: Screenshots are from CFMX 6.1 Administrator but information also applies to CFMX 7.
PHP File Upload Configuration
Though PHP presents a very versatile and user friendly interface for handling file uploads, the default installation is not geared for working with files in excess of 2 Mega Bytes. This article will help you configure your PHP engine for handling such large file transfers.
Sponsorised links
March 2008
Use Server Cache Control to Improve Performance - apache web server settings for optimized caching with configuration files
Caching is the temporary storage of frequently accessed data in higher speed media (typically SRAM or RAM) for more efficient retrieval. Web caching stores frequently used objects closer to the client through browser, proxy, or server caches. By storing "fresh" objects closer to your users, you avoid round trips to the origin server, reducing bandwidth consumption, server load, and most importantly, latency. This article shows how to configure your Apache server for more efficient caching to save bandwidth and improve performance.
Caching is not just for static sites, even dynamic sites can benefit from caching. Graphics and multimedia typically don't change as frequently as (X)HTML files. Graphics that seldom change like logos, headers, and navigation can be given longer expiration times while resources that change more frequently like XHTML and XML files can be given shorter expiration times. By designing your site with caching in mind, you can target different classes of resources to give them different expiration times with only a few lines of code.
Enomalism – Trac
Enomalism Beta Program ¶
The Enomalism cloud computing platform currently in beta and is available to select Enomaly partners. Please enter tickets using the New Ticket link above. Full source code is available under Browse Source.
What is Enomalism? ¶
Enomalism is an open source web-based virtual infrastructure platform. Designed to answer the complexity of managing globally disperse virtual server environments. Enomalism helps to automate the transition to a cloud computing environment by reducing an IT organizations overall workload. The easy to use dashboard can help with issues including deployment planning, load balancing, automatic VM migration, configuration management, and capacity diagnosis.
HAVP – HTTP Antivirus Proxy » UNIX Garden
Dans cet article, nous allons étudier la mise en place d’un proxy http antivirus : HAVP (http://www.server-side.de). Chacune des pages web demandées par un client est analysée par un antivirus. L’antivirus peut être au choix Clamav, F-prot ou Kaspersky. De plus, HAVP sait parfaitement travailler avec Squid au cas où vous souhaiteriez continuer de l’utiliser.
Nous verrons premièrement comment installer l’antivirus utilisé par HAVP. Deuxièmement, comment installer HAVP et les modifications à effectuer pour le faire fonctionner. Enfin, nous verrons des exemples de configuration d’HAVP :
* Seul ;
* Seul en proxy transparent ;
* Et les deux moyens différents de l’utiliser conjointement avec Squid.
Tunnel IPSec sous Linux avec OpenSwan
Le but de ce tutoriel est de créer un tunnel IPSec entre deux réseaux privées (chez vous et chez un pote pas exemple) reliés par une connexion Internet publique. La solution proposée se base sur OpenSwan (exemple de configuration sous Ubuntu mais applicable sous n’importe quel Unix et BSD like)
February 2008
Artica for Postfix, a full Postfix Management console
You are not a Linux expert, Artica for Postfix allows you to install a full solution by one single command line:
* Postfix: Main MTA
* Kaspersky Anti-spam: powerfull Anti-spam provided by Kaspersky Inc
* Kaspersky Anti-Virus
* Bogofilter : Bayesian anti-spam
* OpenLDAP: Database for main configuration and user management
* emailrelay: little SMTP server (used as a content-filter)
* SQLite library: zeroconf sql database engine with high perfomances.
* Cyrus-imap: powerfull MDA System
* Procmail: MDA Filter
* Fetchmail: Email retreival
* DnsMasq:DNS forwarder and DHCP server
* Mailman:Mailing List manager
* Sieve: End-user mail filters
* Yorel script: Statistics of yorel
* QueueGraph: Statistics for postfix
* MailGraph: Statistics for postfix
* AWSTats and geoip plugin: Statistics set for postfix
* renattach: attachments filter
Heartbeat2 Xen cluster with drbd8 and OCFS2
The idea behind the whole set-up is to get a High availability two node Cluster with redundant data. The two identical Servers are installed with Xen hypervisor and almost same configuration as Cluster nodes. The configuration and image files of Xen virtual machines are stored on drbd device for redundancy. Drbd8 and OCFS2 allows simultaneous mounting on both nodes, which is required for live migration of xen virtual machines.
This Article describes Heartbeat2 Xen cluster Using Ubuntu (7.10) OS, drbd8 and OCFS2 (Ver. 1.39) File system. Although here Ubuntu is used it can be done in almost same way with Debian
Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Etch | HowtoForge - Linux Howtos and Tutorials
This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy 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. 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.).
From the HAProxy web site: "HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation makes its integration into existing architectures very easy and riskless, while still offering the possibility not to expose fragile web servers to the Net."
Brent Meshier » Tuning Apache & MySQL for High Traffic Availability
Here is a quick configuration guide for those running Apache & MySQL that will prepare your webserver for heavy demand. I manage a few webservers that handle 60 hits/second on average serving dynamic pages with this configuration. Using the right hardware and software you can mitigate a potential Slashdot Effect and live to tell the tale.
Configuration d'apache2 sous debian/ubuntu — la mont pagnotte familly
installer apache de base est souvent assez facile, par contre si votre site atire beaucoup de monde ou que votre configuration est un peu juste, il faut afiner tout cela au minimum afin d equilibrer charge serveur et nombres de connexion. Apres vous saurez tout sur MaxRequestsPerChild Maxclients et les autres
January 2008
Heartbeat2 Xen cluster with drbd8 and OCFS2 -- Ubuntu Geek
This Article describes Heartbeat2 Xen cluster Using Ubuntu (7.10) OS, drbd8 and OCFS2 (Ver. 1.39) File system. Although here Ubuntu is used it can be done in almost same way with Debian
Idea
The idea behind the whole set-up is to get a High availability two node Cluster with redundant data. The two identical Servers are installed with Xen hypervisor and almost same configuration as Cluster nodes. The configuration and image files of Xen virtual machines are stored on drbd device for redundancy. Drbd8 and OCFS2 allows simultaneous mounting on both nodes, which is required for live migration of xen virtual machines.
ClusterMonkey - Building A Virtual Cluster with Xen (Part One)
This guide is the first of a series in which I give you detailed step-by-step instructions on how to build a virtual cluster with Xen. The cluster thus built might not be appropriate for your case, and does reflect the author's preferences and/or needs, but if you are new to clusters or Xen, it will hopefully help you get started with both.
The goal is to start it simple and then add more complexity as we progress, so in this first guide I show you how to get do the basics:
* A Xen installation, the creation of 5 virtual machines (one to act as the master and four slaves),
* Shared storage through NFS,
* The network configuration on which to build the virtual cluster.
The network structure of this first attempt will be very simple, the master having two network cards, one to the outside world and the other one connected through a switch to the slaves.
Using multiple network cards in XEN 3.0
Xen is great. But installing more than one network card became a pain when I tried it the first time. There are some documents describing the principle but I was unable to find a real life example somewhere else. So this is a summary about how it works here now.
Using a bridge for a Dom is generally a good idea but then all packets traversing the bridge can be intercepted by any Dom that is using the same bridge. Having a single network card in a Xen landscape also means that theoretically each Dom would be able to sniff all packets traversing this single network card including packets to and from other Doms. A solution is to have more than one network card attached to Xen using a single network card for a single dom.
The scenario described here has a server with 3 network cards installed. The first card should be used to access Dom0 and some other DomNs while the second and third network card should be used to purely access Dom1 rsp. Dom2. The Dom configuration file just needs to select the appropriate bridge for each dom.
December 2007
Enomalism : XEN Virtualized Server Management Console: Home
The Enomalism Virtualized Management Dashboard (VMD) is a powerful web-based virtual server manager. Designed to answer the complexity of managing globally disperse virtual server environments. Enomalism helps to ease the transition to a virtualized environment by reducing an IT organizations overall workload. The easy to use dashboard can help with issues including deployment planning, load balancing, automatic VM migration, configuration management, and capacity diagnosis.
