Gearman sur Scaleway

Bon ayant besoin de la dernière version de la lib gearman, sous armhf ( en clair plus récent que la 0.33 ), j’ai du installer depuis les sources celle ci . Voici déja la liste des paquets à installer pour répondre aux dépendances : apt-get install gperf libevent-dev uuid-dev libcloog-ppl-dev libboost-all-dev ensuite, il faut dl, […]

apt-mirror et translation i18

Il faut modifier /usr/bin/apt-mirror pour gérer les translations ligne 355 pour wheezy ligne 363 pour squeeze il vous faut trouver ces lignes de codes foreach (@components) { add_url_to_download($url . $_ . « /binary- » . $arch . « /Release »); add_url_to_download($url . $_ . « /binary- » . $arch . « /Packages.gz »); add_url_to_download($url . $_ . « /binary- » . $arch . « /Packages.bz2 »); et […]

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

LinuxBoss: enable fuse on vps – openvz

enable fuse on vps – openvz1. In order to enable FUSE on VPS you need first confirm the FUSE module is enabled on Hardware node in which the vps is hosted.Commands to enable FUSE on Hardware node ::# modprobe fuseCheck module is loaded properly :# lsmod | grep fusefuse2. Enable FUSE for VPS :# vzctl […]

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

Debian – Free up some disk space

Under Debian for most Linux distributions you can free up some disk space, simply by deleting the configuration files resulting unistallation of packages. The commands to be used are: dpkg –purge $dpkg –get-selections | grep deinstall$ | cut -f 1 dpkg –purge $dpkg –get-selections | awk ‘$2 ~ /de/ { print $1 } ‘ aptitude […]

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;

Managing MySQL with Percona Toolkit by Frédéric Descamps | Colin Charles Agenda

Managing MySQL with Percona Toolkit by Frédéric DescampsPosted on 5/2/2012, 10:58 am, by Colin Charles, under MySQL.Frédéric Descamps of Percona.Percona Toolkit is Maatkit & Aspersa combined. Opensource and the tools are very useful for a DBA.You need Perl, DBI, DBD::mysql, Term::ReadKey. Most tools are written in Perl, and whatever is in Bash is being re-written […]

/dev/doug – moving to BTRFS

moving to BTRFSI’ve been following the development of btrfs for some time now eagerly awaiting its graduation from experimental status in the kernel. While it is still labeled as experimental in the kernel, the on-disk format has been finalized so I decided to take the plunge.I decided to convert my main system, which is a […]

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