Tune apache2 for more concurrent connections – Open-Xchange

The problemBy default apache2 is configured to support 150 concurrent connections. This forces all parallel requests beyond that limit to wait. Especially if, for example, active sync clients maintain a permanent connection for push events to arrive.The solutionThis is an example configuration to provide 800 concurrent connections. Please ensure that your apache is using the […]

Postfix et Spamassassin

par julien, juillet 2007 Avez-vous déjà essayer de brancher un serveur mail sur le Net sans configurer d’antispam au préalable ? Je l’ai fait quelques fois, et bas c’est pas triste !!! On arrive vite au point ou checker sa mailbox est un supplice sans nom. La solution c’est de demander à Postfix de soumettre […]

Envoyer des emails avec piece jointe en ligne de commande sous Linux

Envoi d’un email + pièce jointeecho "Ci-joint la photo de ma voiture" | mutt -s "Ma voiture" -a voiture.jpg — toto@toto.comLa même chose sans texte d’explication :echo | mutt -s "Ma voiture" -a voiture.jpg — toto@toto.comoumutt -s "Ma voiture" -a voiture.jpg — toto@toto.com < /dev/nullEnvoi d’un email avec plusieurs pièces jointes :echo | mutt -s […]

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

Rsync, tar, cp, ssh

scp scp or secure copy is probably the easiest of all the methods, its is designed as a replacement for rcp, which was a quick copy of cp with network funcationability. scp syntax scp [-Cr] /some/file [ more … ] host.name:/destination/file -or- scp [-Cr] [[user@]host1:]file1 [ more … ] [[user@]host2:]file2 Before scp does any copying […]

Messages d’erreurs sur PrestaShop et sécurité

La sécurité du contenu est primordiale dans la publication d’un site web. Il n’en est pas moins pour PrestaShop. La politique sécuritaire est alors de n’afficher par défaut aucun message d’erreur, ou de retour d’un quelconque débogage de code, ou même de configuration de serveurs / services liés à l’hébergement web. Afficher des erreurs éventuelles, […]

Template for Generic Nagios Plugin | blog.jgriffiths.org

I love nagios it’s the perfect way to monitor linux. Monitoring command can be written in almost any language: nagios expects a exit code and a exit string and it works. I write most of my plugins in bash shell. Here is a generic plugin template: #!/bin/bash # Sanity check if [ $# -ne 2 […]

MySQL Error 23 on Linux | Chris Johnson’s Blog

If you have ever encountered a “23 error” you are most likely running MySQL on a windows machine. The error looks something like this: ERROR 23 (HY000): Out of resources when opening file ‘./somedb/sometable.MYD’ (Errcode: 24) What this error typically means is that MySQL has exceeded the limit for the number of files you can […]

irockasterisk: How to set the concurrent calls limit on SIP trunk in Asterisk?

Method2 (preferred): Looking at cons of using call-limit, I decided not to use it even though I found it to be really easy implementation. Similar goal can be achieved via the use of GROUP() and GROUP-COUNT() functions available in Asterisk Dialplan. You don’t have to make any adjustments on SIP Trunk configuration for call limit […]

PHP 5.3 : Configuration par répertoire basée sur des fichiers .ini – Pascal MARTIN (n+1).zéro

php.ini : Sections PATH et HOST La seconde nouveauté au niveau de la configuration de PHP, toujours en mode CGI, est l’ajout du support des sections PATH et HOST, utilisables dans le fichier php.ini. Section PATH Il est possible, à partir de PHP 5.3, de définir dans le fichier php.ini système des valeurs de directives […]