With a Little Help from my Friend | How to recreate root account in MySQL

Today I was trying to log in to mysql database administration on one of my hosting machines and as I was getting ‘permission denied for user rott@localhost’ I tried to fix the root account and reset its password. But I wasn’t successful and later on I realized, that the root account was deleted from the […]

Postfix with SASL-Authentication in Debian – Jonas Genannt

I think SMTP-AUTH is very important! Here is a short HowTo for Postfix with sasl authentication against shadow. First install the necessary packages: apt-get install postfix-tls libsasl2-modules sasl2-bin Open the /etc/default/saslauthd for the configuration. # This needs to be uncommented before saslauthd will be run automatically START=yes # You must specify the authentication mechanisms you […]

htdigest sous Lighttpd

Les htaccess n’existent pas sous Lighttpd, mais il y a un équivalent de taille. Vérifiez avant de commencer que le module mod_auth est bien chargé. Nous allons dans un premier temps générer (avec -c pour la première fois, comme un htaccess) un fichier contenant les identifiants pour être autoriser à consulter tel ou tel site : […]

Keeping a Log Of Daily Network Traffic for ADSL or Dedicated Remote Linux Server

Keeping a Log Of Daily Network Traffic for ADSL or Dedicated Remote Linux Server.

connaitre architecture *hardware* 32 ou 64 bits

Pour voir au niveau software, sous debian et dérivés : dpkg –print-architecture ou encore, niveau noyau : uname -m viaconnaitre architecture *hardware* 32 ou 64 bits.

HowTo : install the mail command under Debian | ItHowTo.ro

HowTo : install the mail command under Debian Nov19 2008 Leave a Comment Written by gkoo The mail command under Debian distros is a part of the mailutils package. Simply use : apt-get install mailutils and you’re done ! viaHowTo : install the mail command under Debian | ItHowTo.ro.

Compressing PHP Output « Newest Industry

output_buffering = Off output_handler = zlib.output_compression = On viaCompressing PHP Output « Newest Industry.

Tester un disque en ecriture avec DD

dd bs=1M count=2048 if=/dev/zero of=test conv=fdatasync

Emulating a high latency network connection using Linux and TC

Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link. Firstly create a network bridge that can be placed inbetween the test network and its router. To increase network latency use the following command: tc qdisc add dev eth0 root netem delay […]