This translation is older than the original page and might be outdated.
Translations of this page?:

DokuWiki sur Mac OS X avec Apache

Mac OS X client et Apache

Apache et PHP sont pré-installés sur Mac OS X client, mais sont inactifs par défaut. Les instructions qui suivent fonctionnent pour les clients Tiger (10.4.x) et Panther (10.3.x) (si aucune version précédente de DokuWiki n'est installée) :

  1. Activer PHP sur Mac OS X ou Télécharger PHP 5 sur le site de Marc Liyanage
  2. Démarrez le partage Web personnel dans les Préférences Système → Démarrer
  3. Téléchargez dokuwiki-yyyy-mm-dd.tgz (vers le répertoire ~/Desktop)
  4. Dans le Terminal :
    $ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz
    $ mv dokuwiki-yyyy-mm-dd ~/Sites/dokuwiki
    $ cd ~/Sites/dokuwiki
    $ sudo chown -R www data conf

Vous pouvez maintenant démarrer l'installation à l'adresse http://localhost/~votre_nom_d_utilisateur/dokuwiki/install.php

Mac OS X Server

Pour les serveurs Tiger (10.4.x) et Panther (10.3.x) :

  1. Apache et PHP sont pré-installés sur Mac OS X Server ; ils sont activés avec l'application Admin Server. Activez “php4_module” dans Web → Modules, et démarrez (ou redémarrez) et configurez le service web.
  2. Download dokuwiki-yyyy-mm-dd.tgz (vers le répertoire ~/Desktop)
  3. Avec le Terminal :
    $ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz
    $ mv dokuwiki-yyyy-mm-dd ~/Sites/dokuwiki
    $ cd ~/Sites/dokuwiki
    $ sudo chown -R www data conf

Vous pouvez maintenant démarrer l'installation à l'adresse http://localhost/dokuwiki/install.php

Notes

  • Le paquet Apache2 est exécuté comme 'nobody' et non 'www' – modifiez les commandes chown en conséquence
  • Si vous modifiez « manuellement » des fichiers config, assurez-vous que les fins de lignes sont enregistrées au format UNIX (LF) et non Mac (CR)
  • Un how-to un peu ancien HOWTO for DokuWiki on Tiger est disponible en anglais.
 
fr/install/macosx.txt · Last modified: 2008/10/23 00:13 by 88.171.29.204
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate