299 items | 24 visits
Trucs et astuces dans le monde du logiciel libre
Updated on Nov 20, 13
Created on Jan 03, 11
Category: Computers & Internet
URL:
"Si comme moi vous êtes amené à installer/ré-installer régulièrement des PC sous GNU/Linux, un certain nombres d'actions post installation sont à effectuer (installation de logiciel, configuration desktop...)."
"Install a basic FreeBSD system\n\nInstall a basic FreeBSD system on a distant server. I use this to install FreeBSD on servers that can only boot a Linux rescue system. This sytem loads on ram when booted, so it is possible to install freely. You can even install on ZFS root !"
Documentation sur le paramétrage de Gnome et la personnalisation des menus.\nGConf est un système employé par l'environnement graphique GNOME sous Linux pour stocker les données de configuration du bureau dans une base de données. Cette dernière emploie pa
Script shell permettant d'automatiser, en ligne de commande, la création d'un screencast (une vidéo de votre écran) avec des outils libres disponibles sur les distributions GNU/Linux (notamment GStreamer).
If you're like me, you want to monitor and graph every little piece of your server. Until recently, I've been relying on a simple PHP script to display APC statistics. Although the tool worked well, I wanted to integrate the statistics into Munin, as most
The .xz file format\nThe .xz file format is a container format for compressed streams. There are no archiving capabilities, that is, the .xz format can hold only a single file just like the .gz and .bz2 file formats used by gzip and bzip2, respectively.Com
paquet deb., deployer son appli sous ubuntu
"Is an audio recording and editing program which is very well suited to record a single voice, a band, an ensemble, a whole orchestra or any other source of music! "
"Administrer un seul serveur est une tâche assez simple. Administrer un parc de serveurs est déjà beaucoup plus difficile et la tâche devient carrément complexe quand les systèmes sont hétérogènes (ce qui sera toujours le cas au bout de quelques années au moins). Imaginez que vous vouliez changer l'IP de vos serveurs DNS, il faudra vous connecter sur chaque serveur pour modifier le fichier /etc/resolv.conf. Il en est de même pour vérifier les droits de certains fichiers critiques, pour s'assurer qu'un programme est lancé sur tels serveurs voire pour diffuser un patch sur tous vos serveurs AIX 5.1.
Pour répondre à ces problèmes qui ont occupé et occupent toujours des bataillons d'administrateurs système[1], il existe plusieurs pistes allant de l'utilisation d'outils de provisioning du commerce (chers et pas toujours très efficaces) au développement d'outils ad-hoc ciselés à la main par l'administrateur local aux solutions plus ou moins complètes (PIKT, cfengine, LCFG, pica, etc.), en passant par l'utilisation de briques communes agencées ensemble par des scripts (cvs, rsync, ssh et consorts). Chaque administrateur et chaque centre informatique s'est fait sa philosophie et a implanté sa solution.
Dans cet article, nous allons découvrir ensemble un des outils les plus connus du domaine, à savoir cfengine. Nous allons d'abord parcourir ensemble le langage et la grammaire de cfengine pour ensuite voir quelques exemples réels de scripts cfengine et enfin aborder une partie méthodologie."
"Les outils de type Cfengine, Puppet ou Chef reposent sur un certain nombre de concepts communs. Précisons à toutes fins utiles que le cœur de cible de ces outils est le monde des serveurs dits « ouverts » et qu'ils vont manipuler des terminologies proches d'UNIX (systèmes de fichiers, points de montage, paquets, cron, permissions UNIX…). À noter que la version payante de Cfengine permet notamment de gérer les machines Windows.\n\nCes outils tendent à définir un état de configuration (système, applicative) dans lequel on souhaite voir nos machines. On est donc assez proche de la gestion de parc mais pas très loin du déploiement automatisé. Les agents déployés sur les machines cibles vont prendre une configuration de référence sur un dépôt central et opérer les tâches d'administration pour atteindre cette cible. Cfengine, dans sa version 3, parle par exemple de promesse pour définir les actions qu'il va entreprendre (il s'engage à ce qu'un fichier soit présent, et avec les bons droits, à ce qu'un paquet soit installé…)."
In Cfengine, creator Mark Burgess pioneered the idea of using a configuration description language to describe desired state on heterogeneous Unix and Unix-like systems. This language included “classes” or built-in if/then tests to control when and where the configuration should apply.
In Cfengine 2, Mark introduced ideas of convergence to a desired state and self-healing (computer immunology).
"Internet use is growing and new services are appearing hourly. The number of servers (both physical and virtual) is becoming uncountable. Automation of system administration is a must to handle the deluge; else swarms of sysadmins would be needed to handle all these systems.
Other drivers for automating system administration:
*
In companies with multiple sysadmins working the old way, in interactive root sessions, there is a potential for sysadmins making changes at the same time to step on each other’s toes (and on the config!);
*
system administration is a relatively new profession, without a standard curriculum, so practitioners have different philosophies and practices. Going from organization to organization, it is a challenge for a new sysadmin to learn:
o
how is the system setup,
o
why was it setup that way,
o
how it needs to be setup to keep operating,
o
how to set it up that way again in case of disaster or normal growth.
Automating system administration addresses all the above and makes new things possible.
For example, a CM tool can respond faster than a human sysadmin to a deviation from configuration policy to remedy it or it may automatically instantiate, configure and bring online a new virtual server instance if an old one dies."
"This is a step by step tutorial on how to install the server component of Puppet (puppetmaster) on one machine, and the Puppet client (puppetd) on another. We then perform a simple test to make sure Puppet is working properly. "
"This Linux Puppet tutorial will help you install Puppet for the first time and start managing your servers."
"Cfengine, or the configuration engine is an agent/software robot and a high level policy language for building expert systems to administrate and configure large computer networks. Cfengine uses the idea of classes and a primitive intelligence to define and automate the configuration and maintenance of system state, for small to huge configurations. Cfengine is designed to be a part of a computer immune system, and can be thought of as a gaming agent. "
"Mark Burgess gives a presentation on the new version of Cfengine (www.cfengine.org), Cfengine 3. He outlines the new possibilities offered by this version and compares fundamental concepts with other existing solutions. This presentation was kindly hosted by Octo Technology."
"Cfengine, developed by Mark Burgess at Oslo University College, is one of the most powerful system administration tools available today. In a useful deviation from most scripting tools, cfengine allows you to describe the desired state of a system rather than what you should do to a system. Cfengine itself takes care of testing compliance with that state and will do its best to correct any misconfigurations. It also includes powerful classing capabilities that allow you to group hosts into classes and create different states on each class of host. Like all tools, it has its drawbacks, but overall it should be considered the most important and most capable tool in the sysadmin toolbox today."
299 items | 24 visits
Trucs et astuces dans le monde du logiciel libre
Updated on Nov 20, 13
Created on Jan 03, 11
Category: Computers & Internet
URL: