Debian

Varnish , un de plus

Bon toujours dans l’idée que l’on peut améliorer la vitesse d’un site, pour faire plaisir à M Google entre autre, Je me lance dans varnish . Donc Debian squeeze pour ne pas changer : Ajout du dépot de la 3.0 dans l’apt sources deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0 aptitude update, aptitude upgrade et aptitude install varnish …

Varnish , un de plus Lire la suite »

Ubuntu: How to Force a Silent Cron | The Rugged Rock of Craig

Ubuntu: How to Force a Silent Cron Posted on Tuesday, January 4, 2011 by Craig Lotter By default, cron actions that produce output generates emails that get sent to the system administrator. If we don’t particularly want this behaviour, we need to terminate our function calls with a specific character sequence, which looks as follows: …

Ubuntu: How to Force a Silent Cron | The Rugged Rock of Craig Lire la suite »

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 …

Tune apache2 for more concurrent connections – Open-Xchange Lire la suite »

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 …

Envoyer des emails avec piece jointe en ligne de commande sous Linux Lire la suite »

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 …

Rsync, tar, cp, ssh Lire la suite »

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, …

Messages d’erreurs sur PrestaShop et sécurité Lire la suite »

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 …

irockasterisk: How to set the concurrent calls limit on SIP trunk in Asterisk? Lire la suite »

Retour en haut