Apache and PHP are pre-installed on Mac OS X client, but disabled by default. The following should work for Tiger (10.4.x) and Panther (10.3.x) client (if there is no previous version of DokuWiki installed):
$ 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 lib
You should now be able to run the installer at http://localhost/~your_username/dokuwiki/install.php
$ tar -cf dokuwiki-yyyy-mm-dd.tar sourcedir $ mv dokuwiki-yyyy-mm-dd.tar ~/DIR/. $ cd ~/DIR $ tar -xvpf dokuwiki-yyyy-mm-dd.tar
$ tar -xvfp dokuwiki-yyyy-mm-dd.tar $ mv dokuwiki-yyyy-mm-dd YYYY
Whenever you make a new installation of Dokuwiki, please also make a small change to the file inc/init.php. Edit inc/init.php Go to line 100 Change "session_name("DokuWiki");" to "session_name("DokuWiki_YYYY");" The added "_YYYY" reflects uniquely your new installation. Please use different identifiers for different installations.
http://youdomain/yourwiki/doku.php?do=check
Moving files from Mac to Unix. Use
tar -cf XXXX.tar XXXX
On the Unix side, make sure you use the -p option.
tar -xfp XXXX.tar
or
tar -xvfp XXXX.tar