php 5.4 sous debian 8 ( jessie )

Parfois on a le besoin de rester sous d’ancienne version de php, sans pour autant ne pas profiter d’une version plus récente de debian donc : 1- Ajout des clé suivantes : wget dotdeb.org/dotdeb.gpg apt-key add dotdeb.gpg 2- Ajout dans sources.list : deb http://dotdeb.infogerance-linux.fr/ wheezy all deb http://debian.infogerance-linux.fr wheezy main 3- Création du fichier php54.pref […]

Onduleur XP 500VA Infosec

Debian Lenny – nut / Onduleur – Z3 Zenergy 700 VA (INFOSEC) Publié le Février 23, 2011 Configuration de nut pour l’onduleur Z3 Zenergy 700 – USB de INFOSEC System : Gnu/Linux Debian 5 – Lenny kernel : 2.6.26-2-486 Nut : 2.2.2-6.5 Vous avez acquis un onduleur. Malheureusement, celui-ci est partiellement supporté par nut (voir […]

blog.keesmeijs.nl » Blog Archive » IPv6 met een SpeedTouch 516/546 (firmware v6)

IPv6 met een SpeedTouch 516/546 (firmware v6) Heb je net een mooie SixXS IPV6-in-IPv4 tunnel aangevraagd, werkt het niet (of alleen maar uitgaand)… Zo werkt het wel (in dit voorbeeld is de IPv6 router 192.168.4.4): :expr add name=ipv6 type=serv proto=41 :firewall rule add chain=forward_host_service name=SixXS serv=ipv6 state=enabled action=accept :nat tmpladd intf=Internet type=nat outside_addr=0.0.0.1 inside_addr=192.168.4.4 protocol=6to4 […]

2skies.com :: basic http authentication with lighttpd

Password protection can limit access to your website or a specific sub-directory. lighttpd.conf Make sure you enable mod_access and mod_auth in your lighttpd.conf: server.modules += ( « mod_access » ) server.modules += ( « mod_auth » ) htpasswd #htpasswd -c ~/lighttpd/foo-auth.xt username Running this command will prompt for this user’s new password to store in the txt file. Combining […]

» Blocking Asterisk hacking/scanning attempts with fail2ban

Warning – if you follow these instructions fail2ban will, by default, be protecting you against other scans such as ssh attempts. This means though that if you get your IP blocked you will not be able to connect to your server from that IP. Ensure that you whitelist your IP by following the instructions at […]

APC + petit PC

<span class="html">Want to avoid segmentation with  apc.shm_segments?If your linux server limits the shared memory block  size and you're forced to use apc.shm_segments instead, change the  setting by using (here is 512M but change it as you like): # sysctl -w kernel.shmmax=536870912 (but if you want the change to be permanent after a restart you would have to add […]