diff --git a/HowtoDebian/Packaging.md b/HowtoDebian/Packaging.md index 2eb2a59f..bdab6702 100644 --- a/HowtoDebian/Packaging.md +++ b/HowtoDebian/Packaging.md @@ -68,6 +68,9 @@ EOF ## Création d’un paquet +
+ Méthode traditionnelle + ### Génération de l'arborescence _debian/_ Cette étape consiste à créer une arborescence qui constituera le paquet Debian. On peut l'automatiser simplement avec la commande _dh_make_ : @@ -130,6 +133,7 @@ $ debuild -us -uc Si aucune erreur n'est apparue, votre paquet est prêt à être installé et/ou poussé sur un dépôt non officiel. +
## Manipulation d'un paquet (binaire) diff --git a/HowtoGearman.md b/HowtoGearman.md deleted file mode 100644 index 4711b714..00000000 --- a/HowtoGearman.md +++ /dev/null @@ -1,43 +0,0 @@ -**Cette page a été importée automatiquement de notre ancien wiki mais n'a pas encore été révisée.** - -# Howto Gearman - -Installation : - -~~~ -# aptitude install gearman gearman-job-server -~~~ - -Vérification du statut / fonctionnement : - -~~~ -$ telnet 127.0.0.1 4730 - -STATUS -foo 310 2 2 -bar 0 0 1 -coin 0 0 1 -plop 0 0 1 -. - -WORKERS -14 127.0.0.1 - : -13 127.0.0.1 - : foo -12 127.0.0.1 - : bar coin plop -11 127.0.0.1 - : foo -. -~~~ - -Utilisation avec PHP : - -~~~ -$ pecl download gearman-1.0.3 -$ dh-make-pecl --phpversion 5 --prefix php5- gearman-1.0.3.tgz -$ cd php5-gearman-1.0.3/ -$ ./debian/rules binary -# dpkg -i ../php5-gearman_1.0.3-1_amd64.deb -~~~ - -Note : si vous obtenez des erreurs du type `PHP Fatal error: Uncaught exception 'GearmanException' with message 'Failed to set exception option` - -Précisez le HOST et PORT pour la fonction addServer : _addServer("127.0.0.1", 4730)_