Load Testing and Benchmarking With Siege

Siege is a fantastic utility for helping with Linux server management by exposing problems before they go into production. It’s open source software (GPLv2 or later) and easy to get started with. Siege is packaged for Debian and Ubuntu, but it doesn’t look to be packaged for Fedora and openSUSE (at least in the default […]

Debian Linux: Set a Serial Console

Debian Linux: Set a Serial Console by Vivek Gite on January 22, 2011 · 2 comments How do I set up a serial console on Debian Linux HP server for troubleshooting and login purpose? To setup a serial console you need to edit the following files under Debian Linux: /boot/grub/menu.lst or /etc/default/grub (recommended for grub2) […]

QuepasaSHV4 « Pad « netfrag.org

A – search for rootkits B – more detailed investigation C – more trails D – remove it! E – refresh system F – Todo G – Infos Start with these tools: chkrootkit rkhunter A – search for rootkits chkrootkit: Checking `ifconfig’… INFECTED Checking `pstree’… INFECTED Searching for t0rn’s v8 defaults… Possible t0rn v8 \(or […]

Debian User Forums • View topic – live-build basics: Make your own live-cd or usb-hdd

live-build basics: Make your own live-cd or usb-hdd Postby fsmithred » February 17th, 2011, 5:04 am Discussion: viewtopic.php?f=24&t=190 You can build your own live-cd or usb-hdd in debian with live-build, which used to be called live-helper. If you’ve done this before, this will be easy, but note that some of the commands and options have […]

Simple Script to Build Linux .deb Package Using make-kpkg, distcc, and ccache

Run this script in the top level linux kernel source directory tree: #!/bin/sh export DISTCC_HOSTS="localhost 192.168.1.1 192.168.1.10" export CCACHE_PREFIX="distcc" export PATH="/usr/lib/ccache:$PATH" export CONCURRENCY_LEVEL=10 BUILD_NICE="nice -19" BUILD_TIME="/usr/bin/time" BUILD_MAKE="make-kpkg –rootcmd fakeroot –append-to-version -mykernel-$(hostname) –revision $(date +'%Y%m%d%H%M')" BUILD_CLEAN="clean" BUILD_TARGET="kernel_image kernel_headers modules_image" $BUILD_NICE $BUILD_TIME $BUILD_MAKE $BUILD_CLEAN && $BUILD_NICE $BUILD_TIME $BUILD_MAKE $BUILD_TARGET viaSimple Script to Build Linux .deb Package Using […]

monter dossier d’un hote openvz sur un ve

Sous openvz l’on a besoin par moment de monter un dossier de l’hote sur les vps pour par exemple un dossier de sauvegarde ou de template pour des applications . Dans mon cas avec des ve debian voici la syntaxe que j’ai utilisé, creation d’un fichier /etc/vz/conf/vps.mount  #!/bin/bash source /etc/vz/vz.conf source ${VE_CONFFILE} mount –bind -n […]

Protection asterisk avec fail2ban « Admin6

Protection asterisk avec fail2ban Dans un précédent article j’ai présenté comment protéger son serveur des attaques bruteforce avec l’aide de fail2ban. Comme décrit dans cet article de nos jours, il est très important de se protéger de ce type d’attaque et c’est pourquoi dans ce billet je vais vous montrer comment protéger un serveur asterisk […]

Installation de Asterisk 1.4 sous Debian Etch | Sébastien Couture

Installation de Asterisk 1.4 sous Debian Etch Accueil Published by sebastien on mai 31st, 2008 in VoIP, Asterisk Ce tutoriel relate l’installation du logiciel de téléphonie PBX libre Asterisk, ainsi que les pilotes d’interfaces téléphoniques Zaptel; plus particulièrement le pilote ztdummy qui nous permet d’avoir une source de synchronisation temporelle (timing) pour les conférences (meetme) […]

Change Hostname Permanently on Debian or Ubuntu « AdminUser.wOrdpress.cOm

Change Hostname Permanently on Debian or Ubuntu Posted February 10, 2008 by SiiN in debian, ubuntu. Tagged: debian, Linux, ubuntu. 4 Comments Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/hostname.sh We can edit the file /etc/hostname and […]

Faire une debian miniature – Linux Attitude

Tentons d’installer une debian miniature. Voyons jusqu’à quelle taille nous pouvons descendre. Commençons par le commencement : $ debootstrap etch /toto Voila on commence déjà à 140Mo. Supprimons quelques trucs inutiles $ chroot /toto $ export LANG=C $ dpkg –get-selections | more $ apt-get remove –purge cron logrotate aptitude tasksel tasksel-data dmidecode laptop-detect $ rm […]