Posted in Dev Exploitation Linux

Puppet CA/puppetmasterd cert renewal

While we’re still converting our puppet controlled infra to Ansible, we still have some nodes “controlled” by puppet, as converting some roles isn’t something that can be done in just one or two days. Add to that other items in your backlog that all have priority set to #1 and then time is flying, until you realize this for your existing legacy puppet environment (assuming false FQDN here, but you’ll get the idea):

So, as long as your PKI setup for puppet is still valid, you can act in advance, resign/extend CA and puppetmasterd and distribute newer CA certs to agents, and go forward with other items in your backlog, while still converting from puppet to Ansible (at least for us)

Continue Reading... Puppet CA/puppetmasterd cert renewal
Posted in Linux

Linux Performance Tools: CPU and Memory

3.2. Linux Performance Tools: CPU and Memory Here begins our discussion of performance tools that enable you to extract the memory performance information described previously.

Continue Reading... Linux Performance Tools: CPU and Memory
Posted in Exploitation

15 Practical Grep Command Examples In Linux / UNIX

You should get a grip on the Linux grep command. This is part of the on-going 15 Examples series, where 15 detailed examples will be provided for a specific command or functionality.  Earlier we discussed 15 practical examples for Linux find command,  Linux command line history and mysqladmin command. In this article let us review 15 practical examples of Linux grep command that will be very useful to both newbies and experts.

Continue Reading... 15 Practical Grep Command Examples In Linux / UNIX
Posted in Exploitation Linux

sed Tutorial

sed tutorial � sed introduction � sed examples #1 � sed commands � regular expressions � more sed examples intro home – top of the page – email sed – Stream EDitor – works as a filter processing input line by line. Sed reads one line at a time, chops off the terminating newline, puts what is left into the pattern space (buffer) where the sed script can process it (often using regular expressions), then if there anything to print – sed appends a newline and prints out the result (usually to stdout).

Continue Reading... sed Tutorial
Posted in Linux

Distribution Linux ProxMox : la virtualisation libre et facile

À de nombreuses reprises dans ces colonnes, vous ont été présentés des logiciels libres de virtualisation de PC (Qemu, VirtualBox, Xen…) ou commerciaux (Vmware, Xen…) . Nous allons découvrir la distribution Proxmox au travers de 7 articles.

Continue Reading... Distribution Linux ProxMox : la virtualisation libre et facile
Posted in Desktop Linux

Keepass 2 for Linux

Running KeePass under Mono (Linux, Mac OS X, BSD, …) In addition to Windows, KeePass 2.x runs fine under Mono, i.e. Linux, Mac OS X, BSD, etc. In order to run KeePass, follow these steps:

Continue Reading... Keepass 2 for Linux
Posted in Keyboard Linux Xorg

VirtualBox Linux Guest customization

VirtualBox is a virtual pc emulator like vmware. It has many of the features vmware has, as well as some of its own. It is in constant development and new features are implemented all the time. eg. version 2.2 introduced OpenGL 3D acceleration support for Linux and Solaris guests. It has a nice GUI interface (Qt and/or SDL) or command line tools for managing virtual machines. Headless operation is also supported. Running iTunes under VirtualBox is the only way (currently) to sync iPod Touch/iPhone firmware 3.0+.

Continue Reading... VirtualBox Linux Guest customization
Posted in Linux

Utilisation de Hdparm

Hdparm hdparm est l’utilitaire par excellence sous Linux pour régler les paramètres des disques durs IDE.

Continue Reading... Utilisation de Hdparm
Posted in Linux

Les Conteneurs Linux

Petite révolution dans la demeure, je vais encore chambouler notre architecture domestique. En effet, puisqu’aujourd’hui je travaille exclusivement dans mon garage (le vieux rêve que voilà -;), je n’ai plus le courage d’éteindre la bête de course qui me sert de poste de travail. Du coup, le petit serveur miniITX a perdu sa raison d’être et l’envie m’a pris de la virtualiser sur la grosse bête. Quoi de plus logique au fond, tant qu’à consommer des watts, autant que cela soit le plus rentable possible.

Continue Reading... Les Conteneurs Linux
Posted in backup Linux

Moving Backuppc Data Dir

Tech Recipe for Backuppc I will explain briefly how to move the Backuppc __TOP_DIR__ to another disk. The main reason of this long data processing is the performance improvement. I’ve tried several Filesystems and different under layer block device ( RAID5, RAID10) alwaysover LVM. For the moment the best seems to be RAID10 with 32K chunksize and a reiserfs filesystem mounted with (notail,noatime) options. The backup speed is not that much faster than on ext3 filesystem, but the main advantage of Reiserfs is that compare to ext3 the disk usage is reduced from 34G in ext3 to 27G in Reiserfs. The next step will be to test Btrfs performance but for that I first need to migrate from kernel 2.6.18 to 2.6.28 or higher 😉 So let start the recipe

Continue Reading... Moving Backuppc Data Dir