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 Read more about php 5.4 sous debian 8 ( jessie )[…]

Self signed certificate, fast and easy | my repository

Use certtool instead of openssl. It is less flexible but much more user friendly.1. Installation:Certtool is part of GnuTLS. On debian-based distributions you have to install the gnutls-bin package.2. Create a private key:# certtool -p –outfile server.key.pem3. Generate the self signed certificate:# certtool -s –load-privkey server.key.pem –outfile server.crt.pemYou will get a prompt to enter various Read more about Self signed certificate, fast and easy | my repository[…]

HowTo/PostfixAndDovecotSASL – Dovecot Wiki

HowTo/PostfixAndDovecotSASL – Dovecot Wiki. Postfix and Dovecot SASL Since version 2.3, Postfix supports SMTP AUTH through Dovecot SASL as introduced in the Dovecot 1.0 series. If using Postfix obtained from a binary (such as a .rpm or .deb file), you can check if Postfix was compiled with support for Dovecot SASL by running the command: Read more about HowTo/PostfixAndDovecotSASL – Dovecot Wiki[…]

Splitter un dump mysql avec Bash, en 1 dump par table

#!/bin/bash file=$1 # the input file directory= »$file-splitted » # the output directory output= »$directory/header » # the first file containing the header GREP= »DROP TABLE » # what we are looking for mkdir $directory # create the output directory while read line do # if the current line contains the wanted statement if [ $(echo « $line » | grep -c « $GREP ») Read more about Splitter un dump mysql avec Bash, en 1 dump par table[…]

How to Change the Port Number in Postfix

How to Change the Port Number in PostfixThe default network SMTP port for Postfix, Sendmail and most other mail servers is 25. This is the port used to send email, and most email clients will use it by default. Unfortunately, some Internet service providers have started to block port 25 because of the high volume Read more about How to Change the Port Number in Postfix[…]

Collectd, monitorer mysql

coté collectd Host « localhost » User « collectd » Password « Secrets of the Universe with Philo » Database « mysql » # MasterStats true coté Ligne de commande mysql -u root mysql> CREATE USER ‘collectd’@’localhost’ IDENTIFIED BY ‘password’; mysql> GRANT SELECT, PROCESS, SHOW DATABASES, SUPER ON *.* TO ‘collectd’@’localhost’; mysql> FLUSH PRIVILEGES;

iocube loader, php 5.3 sous debian

Sous debian 64 bits mkdir /home/tmpioncube cd /home/tmpioncube wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz && tar -zxf ioncube_loaders_lin_x86-64.tar.gz && cd ioncube && cp ioncube_loader_lin_5.3.so /usr/lib64/php5/ echo « zend_extension=/usr/lib64/php5/ioncube_loader_lin_5.3.so » > /etc/php5/conf.d/ioncube-loader.ini et sa roule

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 Read more about Tune apache2 for more concurrent connections – Open-Xchange[…]

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 Read more about Postfix et Spamassassin[…]