Mac OS X client
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):
- Start Personal Web Sharing in System Preferences → Sharing
- Download dokuwiki-yyyy-mm-dd.tgz (assuming to ~/Desktop)
- From the command line:
$ 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
Moving from one volume to another
$ tar -cf dokuwiki-yyyy-mm-dd.tar sourcedir $ mv dokuwiki-yyyy-mm-dd.tar ~/DIR/. $ cd ~/DIR $ tar -xvpf dokuwiki-yyyy-mm-dd.tar
Uxix
- From the command line:
$ tar -xvfp dokuwiki-yyyy-mm-dd.tar $ mv dokuwiki-yyyy-mm-dd YYYY
- You then perform the following:
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.
- You should now be able to run the installer at http://wiki.cse.cuhk.edu.hk/wikis/king/YYYY/install.php
- If you want to use the .htaccess and short path do:
- Go to .htaccess
- nil out RewriteEngine on
- change RewriteBase to /dokuwiki/YYYY
- nil out the lines below
- Make sure the .htaccess file can be read by everyone (chmod a+r .htaccess)
All About Dokuwiki
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