DokuWiki

It's better when it's simple

User Tools

Site Tools


install:macosx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:macosx [2014-02-27 16:48]
Klap-in
install:macosx [2017-09-27 11:59] (current)
83.81.200.239 [Mac OS X client]
Line 20: Line 20:
 $ mv dokuwiki-yyyy-mm-dd ~/​Sites/​dokuwiki $ mv dokuwiki-yyyy-mm-dd ~/​Sites/​dokuwiki
 $ cd ~/​Sites/​dokuwiki $ cd ~/​Sites/​dokuwiki
-$ sudo chown -R www data conf lib/​plugins</​code>​+$ sudo chown -R www data conf lib/​plugins ​lib/tpl</​code>​
   - Start Personal Web Sharing in System Preferences -> Sharing ​   - Start Personal Web Sharing in System Preferences -> Sharing ​
 You should now be able to run the installer at [[http://​localhost/​~your_username/​dokuwiki/​install.php]] You should now be able to run the installer at [[http://​localhost/​~your_username/​dokuwiki/​install.php]]
Line 27: Line 27:
 Please follow the following link to get Apache run under OSX Mountain Lion: Please follow the following link to get Apache run under OSX Mountain Lion:
  
-http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/​ +https://discussions.apple.com/docs/DOC-3083
 ===== Mac OS X Server ===== ===== Mac OS X Server =====
 For Tiger (10.4.x) and Panther (10.3.x) server: For Tiger (10.4.x) and Panther (10.3.x) server:
Line 43: Line 42:
 You should now be able to run the installer at [[http://​localhost/​dokuwiki/​install.php]] You should now be able to run the installer at [[http://​localhost/​dokuwiki/​install.php]]
  
 +====== DokuWiki with Mac OS X and Nginx ======
 +If you use Nginx as server, You should config nginx.conf like:
 +
 + index index.php;
 + location ​ ~ '​^/​(data|conf|bin|inc)/'​ {
 + deny all;
 + }
 + location ~ /.+\.php$ {
 + fastcgi_pass ​  ​127.0.0.1:​9000;​
 + fastcgi_param ​  ​SCRIPT_FILENAME ​   $document_root/​$fastcgi_script_name;​
 + include ​       fastcgi_params;​
 + }
 +
 +Further instructions for Nginx: https://​www.nginx.com/​resources/​wiki/​start/​topics/​recipes/​dokuwiki/​
install/macosx.1393516132.txt.gz · Last modified: 2014-02-27 16:48 by Klap-in