Hebergement

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 …

php 5.4 sous debian 8 ( jessie ) Lire la suite »

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 …

Self signed certificate, fast and easy | my repository Lire la suite »

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 ») …

Splitter un dump mysql avec Bash, en 1 dump par table Lire la suite »

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 …

Tune apache2 for more concurrent connections – Open-Xchange 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 »

Retour en haut