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 […]
Terminal auto-lock with zsh and vlock | wroot
I’m always concerned about leaving terminal sessions open. I’ve used for many and many years the $TMOUT environment variable to close my sessions if idle for N seconds. Just by exporting the TMOUT variable to the number of desired timeout seconds will close your shell (Bash, Ksh, Zsh and some others). The following example will […]
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.
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 […]