Drop old packaging advices
This commit is contained in:
parent
f511db6fa3
commit
f9c293b970
|
@ -68,6 +68,9 @@ EOF
|
||||||
|
|
||||||
## Création d’un paquet
|
## Création d’un paquet
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Méthode traditionnelle</summary>
|
||||||
|
|
||||||
### Génération de l'arborescence _debian/_
|
### 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_ :
|
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.
|
Si aucune erreur n'est apparue, votre paquet est prêt à être installé et/ou poussé sur un dépôt non officiel.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Manipulation d'un paquet (binaire)
|
## Manipulation d'un paquet (binaire)
|
||||||
|
|
||||||
|
|
|
@ -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)_
|
|
Loading…
Reference in a new issue