public marks

PUBLIC MARKS from camel with tag configuration

November 2008

Execute commands simultaneously on multiple servers Using PSSH/Cluster SSH/Multixterm -- Ubuntu Geek

If you have multiple servers with similar or identical configurations (such as nodes in a cluster), it’s often difficult to make sure the contents and configuration of those servers are identical. It’s even more difficult when you need to make configuration modifications from the command line, knowing you’ll have to execute the exact same command on a large number of systems . In this tutorial we will see some tools to execute one command on multiple remote servers using ssh.First you need to make sure you have ssh installed in your machine or you can install using the following command

DLFP: Groupware OBM et Webmail MiniG, paquets Debian

(via)
Il y a quelques temps déjà, un nouveau site web pour OBM (www.obm.org) a été mis en ligne, afin de présenter ce logiciel qui permet à ses utilisateurs de stocker, organiser et partager rendez-vous, contacts, courriels, liens, documents et des modules complémentaires de type gestion de projet/planning. Ce fut pour nous une volonté de faire partager ce projet pour lequel la communication n'était pas à son maximum. Depuis nous l'enrichissons afin de partager nos connaissances et de faire de ce Groupware une véritable alternative aux solutions propriétaires. L'un des avantages d'OBM est l'utilisation d'autres logiciels libres pour assurer les différents services d'un goupware (Cyrus, Apache, Postfix...). Cependant, pour les non-initiés, cet avantage se transforme souvent en plusieurs semaines de galère pour réussir à installer un OBM complet. OBM nécessite une certaine expertise dans beaucoup de services associés à OBM (Cyrus, Postfix, MySQL ou PostgreSQL, Java/Tomcat...). Il y a plus de 6 mois, nous avons travaillé avec des développeurs Ubuntu (et nous continuons toujours) pour publier dans Ubuntu Hardy (et maintenant Intrepid) une version packagée d'OBM. Nous nous sommes vite rendu compte qu'inclure un tel logiciel dans une distribution est pour l'instant infaisable. Pouvoir remplacer un fichier de configuration d'un service par celui dont a besoin OBM, n'est pas simplement faisable, voire impossible pour certains services. C'est pour cela que dans Ubuntu il n'y a que la partie "web" qui est pour l'instant intégrée. Nous avons quand même développé tous les autres paquets des services qui gravitent autour d'OBM. Nous espérons intégrer au fur et à mesure tous les paquets d'OBM, quand cela sera possible. Nous sommes donc heureux de vous annoncer la mise en place d'un dépôt Debian (Etch) pour une installation complète et vraiment complète d'OBM. La version disponible est la dernière version stable, la 2.1.11. Il faut souligner que ces paquets sont conçus pour un serveur dédié à OBM. Nous espérerons que grâce à ces paquets vous serez nombreux à installer et utiliser OBM : deb http://deb.obm.org etch obm À vos claviers ! Il est temps d'installer un OBM, en quelques minutes ! Voir ci-dessous pour faire vos retours et tester aussi MiniG, une version alpha d'un nouveau webmail.

Qmail Howto | Nasim Mansurov

(via)
Full Qmail Installation and Configuration Guide or Qmail Vmailmgr Tcpserver RBL SpamAssassin Relay-CTRL Qmail-Scanner Courier IMAP Guide POP3S SMTPS

’Scripts Shell sous Linux’ chez ENI (TOOLinux)

(via)
’Scripts Shell sous Linux’ chez ENI 10 novembre 2008 dans Livres Ce livre sur les scripts shell présente la mise en œuvre de projets dans un environnement industriel. Les 5 projets détaillés couvrent la plupart des besoins en scripts rencontrés en entreprise. Ils ont été conçus et présentés de telle sorte que leur adaptation à des besoins spécifiques sera aisée pour le lecteur. Les thèmes couverts traitent de la gestion des comptes utilisateurs, des sauvegardes de fichiers, des sauvegardes systèmes, de la gestion des disques, des communications entre serveurs, des mécanismes de surveillance et des scripts de démarrage. Ces projets abordent des approches différentes de la programmation en shell, tels que les gros projets qui utilisent plusieurs scripts avec des fichiers de configuration et de journalisation, ou le script unique complet et autonome. Des concepts de base sont détaillés comme les menus interactifs, la crontab, des fichiers systèmes, la sécurité SSH et les clés. Les scripts shell traités dans le livre sont en téléchargement sur cette page. A noter que le livre numérique est offert par l’éditeur pour l’achat du livre imprimé jusqu’au 31 décembre 2008. "Scripts Shell sous Linux : Mise en œuvre de 5 projets", de Théo SCHOMAKER et Jean-Marc BARANGER", ENI Editions. 37 euros. ISBN : 978-2-7460-4617-7

Check Your Mysql Server Performance with MySQLTuner -- Debian Admin

by 1 other
MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved. It’s key to remember that MySQLTuner is a script which can assist you with your server, but it is not the solution to a badly performing MySQL server. The best performance gains come from a thorough review of the queries sent to the server, and an evaluation of the MySQL server itself. A qualified developer in your application’s programming or scripting language should be able to work with a MySQL database administrator to find improvements for your server. Once the server and application are optimized well, you may need to consider hardware upgrades to the physical server itself. This is a really useful tool for helping to optimize MySQL performance.Understanding the various my.cnf variables and how they affect performance can seem really complicated but this tool takes some of the pain away and makes it easier to understand the effects of each variable.It is especially useful to be able to see the global memory usage, memory usage per thread and the maximum possible memory usage - that is really valuable information that is otherwise complex to calculate.

October 2008

Howto: ISP-style Email Server with Debian-Etch and Postfix 2.3

(via)
The configuration described here is not very complicated but still needs to be done carefully. You are expected to have at least basic knowledge of: * MySQL (creating a database, granting access to users, basic SQL queries) * SMTP (what it is and what a basic SMTP dialog looks like) * POP3, IMAP (what they do and what the differences are) * basic Postfix configuration (understand the default settings in your main.cf, have read through the basic configuration document and know that your mail log file is at /var/log/mail.log) * Debian/Linux (general system administration, using a text editor, reading log files)

cleverbox - clever-age.org - Open Source Software - Trac

by 1 other
The cleverbox provides an interactive command line shell dedicated to the deployment and maintenance of trac and subversion instances. It can handle multiple configuration profiles, enabling the deployment of differently flavored type of project (trac configuration and permissions, apache configuration templates, etc). Project's main objective is to make your life as simple as possible. Thus, it comes with easy installation, easy upgrades and a comprehensive documentation.

September 2008

August 2008

Managing Xen using the xm Command-line Tool - Techotopia

In previous chapters we have covered the steps necessary to install and configure Xen and Xen based guest operating systems. This chapter is dedicated to explaining the xm tool, and how it can be used to manage guest operating systems from the command-line. If you prefer to use the graphical virt-manager tool to administer your Xen configuration see Managing and Monitoring Fedora based Xen Guest Systems. Contents * 1 xm Command-line vs xm Shell * 2 Listing Guest System Status * 3 Starting a Xen Guest System * 4 Connecting to a Running Xen Guest System * 5 Shutting Down a Guest System * 6 Pausing and Resuming a Guest System * 7 Suspending and Resuming a Guest OS * 8 Saving and Restoring Xen Guest Systems * 9 Rebooting a Guest System * 10 Configuring the Memory Assigned to a Xen Guest OS * 11 Migrating a Domain to a Different Host

Running Vhosts Under Separate UIDs/GIDs With Apache2 mpm-peruser On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by 1 other (via)
This article explains how you can install and configure apache2-mpm-peruser on a Debian Etch server. apache2-mpm-peruser is an MPM (Multi-Processing Module) for the Apache 2 web server, very similar to apache2-mpm-itk, but faster (almost as fast as apache2-mpm-prefork). mpm-peruser allows you to run each of your vhosts under a separate UID and GID - in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. It is based on metuxmpm, a working implementation of the perchild MPM. The result is a sane and secure web server environment for your users, without kludges like PHP's safe_mode.

Utiliser Mozilla Weave sur son propre serveur | Spalistik

Si vous utilisez régulièrement plusieurs machines différentes pour accéder à Internet, Mozilla Weave est l’extension Firefox faite pour vous, car elle vous permet de synchroniser la configuration de Firefox sur ces différentes machines. Mais l’inconvénient majeur de Weave est le fait que les données de synchronisation sont par défaut stockées sur les serveurs de Mozilla, ca qui peut poser des problèmes de sécurité et de confidentialité, en particulier pour les entreprises. Heureusement la fondation a prévu le coup en offrant la possibilité d’utiliser son propre serveur en tant que centre de synchronisation de Weave, permettant ainsi de s’affranchir de Mozilla pour l’utilisation du service. Voyons comment mettre en place un tel serveur.

About Opsview | opsview.org

by 1 other
Opsview is enterprise network and application monitoring software designed for scalability, flexibility and ease of use. Opsview has been in development since 2003 and is released under the GNU GPL license. Current version is 2.12. Opsview is a fully integrated monitoring tool that incorporates popular Open Source software including Nagios, Net-SNMP and RRDtool. The Catalyst web framework provides an extensible monitoring and configuration user interface. Opsview software is supported on Linux (Debian, CentOS, RHEL and Ubuntu) and Solaris 10. It will monitor all common operating systems including Windows. Opsview extends the capabilities of Nagios in the following ways: * Distributed monitoring with high availability and fail-over * Much improved SNMP support with trap processing with rules engine * API supporting automation of Opsview configuration * Data warehouse for storage of historical performance and event data * Opsview Reports customisable reporting * Powerful configuration and management UI * Extended monitoring UI * Extensible architecture based on Catalyst Web Framework and Altinity middleware software

June 2008

Apache2 mod_fastcgi suexec on debian etch - Chty blog

I know it's difficult to find good documentation to configure apache2 with mod_fastcgi and suexec to make php websites works. This configuration works well with Debian Etch (4.0). Here an example of configuration.

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, …

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.

March 2008

Use Server Cache Control to Improve Performance - apache web server settings for optimized caching with configuration files

by 3 others
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

by 1 other
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

by 1 other
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

by 1 other
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

by 1 other
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

(via)
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

camel's TAGS related to tag configuration

admin +   administration +   anti spam +   antivirus +   apache +   apache2 +   api +   application +   applications +   availability +   bacula +   balancing +   blog +   build +   cache +   cgi +   cluster +   code +   control +   database +   debian +   deployement +   documentation +   dom +   email +   enomalism +   environment +   fastcgi +   file +   firefox +   form +   framework +   gestion +   gpl +   groupware +   guide +   howto +   http +   image +   install +   installation +   ipsec +   isp +   linux +   livre +   load +   log +   macro +   mail +   management +   migration +   monitoring +   mysql +   nagios +   navigation +   network +   ntp +   obm +   office +   openvz +   optimisation +   optimize +   performance +   php +   postfix +   programming +   projet +   proxy +   qmail +   rails +   ruby +   sauvegarde +   script +   secure +   securité +   server +   serveur +   shell +   site +   software +   soho +   ssh +   subversion +   svn +   trac +   tunnel +   tutorial +   tutoriel +   ubc +   ubuntu +   useful +   virtualisation +   vpn +   weave +   web +   wiki +   xen +   xhtml +   xm +   xml +