Run PHP with a light weight webserver | box.matto.nl

Multiple light-weight httpd server In search for a lightweight solution to run some php pages on my Debian diskless shellserver it appears there are several lightweight httpd daemons in Debian that can do php. I created some virtual machines on KVM to do some testing. Here follows a short howto to get the different httpd […]

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 […]

Variables en shell Bash

Variables en shell Bash Manipulation de variables simples var=val ou var= »a b » affectation de la variable « var » $var ou ${var} contenu de la variable « var » ${#var} longueur de la variable « var » export var ou declare -x var exportation de la variable « var » vers les shells fils set affichage de l’ensemble des variables définies dans le […]

X.Y.Z: How to debug or test cron script

How to debug or test cron script If your simple cron script (/etc/cron.daily, etc/cron.hourly etc) does not run as expected, do the following: 1. be sure to have ‘#!/bin/sh’ as the first line 2. make sure the script’s name does not contains ‘.’. for example, you should rename ‘yourscript.sh’ to ‘yourscript’. 3. use absolute path […]

Lire un RRD

rrdtool info nom du rrd, pratique pour avoir la liste des dsname qu'il contient  

How To Save Traffic With Apache2’s mod_deflate | HowtoForge – Linux Howtos and Tutorials

How To Save Traffic With Apache2’s mod_deflate Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 05/15/2006 In this tutorial I will describe how to install and configure mod_deflate on an Apache2 web server. mod_deflate allows Apache2 to compress files and deliver them to clients (e.g. browsers) that can handle compressed content […]

Chroot SSH et PTY allocation avec Debian Lenny Pour mettre en place des serveurs de backup, j’utilise un script chroot-ssh.sh qui permet la construction d’un chroot minimal pour faire tourner un serveur SSH et faire du rsync. Avec la mise-à-jour vers Lenny, l’allocation PTY réalisée par SSHD change : il ne semble plus possible de […]

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 […]

Optimiser le Gzip de son Apache pour Google | blog.utopiaz.org // Développement, Open Source et contexte Web2.0

1. Installation des modules Apache Par défaut sous Debian le module deflate est enclenché, le module headers nous serviras dans le cadre d’environnement utilisant un proxy. On enclenche donc ces deux modules au niveau d’Apache, pour cela on lance une console SHH sur notre serveur et on lance les commandes suivantes : a2enmod deflate a2enmod […]

Nagios and NConf on Ubuntu

Nagios and NConf on Ubuntu juli 23rd, 2011 by rroethof No Comments Have you been wondering about how to get Nagios and NConf setup on your Ubuntu server? Well, here is my ‘notepad’ from the last time around, and here they are, for anyone that may find them useful. Prerequisites If you didn’t check the […]