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 revisionPrevious revision
Next revision
Previous revision
install:macosx [2014-06-04 15:49] 188.27.135.6install:macosx [2022-10-30 06:28] (current) – fixed internal link 2a02:908:1873:7020:b811:fc43:cac1:18b8
Line 1: Line 1:
-{{indexmenu_n>16}}+====== DokuWiki with Mac OS X and Apache ====== 
 +===== Mac OS X client ===== 
 +^ <sub>[[install:mac_alt|Please follow this link to see as well another page about installing on Mac OS X with darwinports]]</sub> ^
  
-======Hoş Geldiniz======+Apache and PHP are pre-installed on Mac OS X client, but disabled by default. The following should work for Leopard (10.5.x), Tiger (10.4.x) and Panther (10.3.x) client (if there is no previous version of DokuWiki installed).  For Lion/Mountain Lion (10.7.x/10.8.x), the Sites folder no longer exists. [[https://discussions.apple.com/docs/DOC-3083|These]] instructions revive it.  Then follow the instructions below skipping step 4.
  
-Medya uygulaması, uyumlu kablosuz veya ağa bağlı depolama cihazına kopyaladığınız medya ve belgeleri yönetmenize yardımcı olurMobil cihazlara yönelik bir uygulama olarak veya web tarayıcıda kullanılabilirEvinizde veya hareket halindeykenmedya uygulamasını istediğiniz anda müzikfilmler ve fotoğrafların keyfini çıkarmak veya önemli belgeleri incelemek için kullanabilirsiniz.+  - Enable PHP in Apache and Allow Directory Accesses 
 +    - Backup httpd.conf:<code bash> 
 +$ sudo cp /private/etc/apache2/httpd.conf /private/etc/apache2/httpd.conf.bak 
 +</code> 
 +    - Edit httpd.conf:<code bash> 
 +$ sudo pico /private/etc/apache2/httpd.conf 
 +</code> 
 +    - Make the following changes to httpd.conf: 
 +      * CHANGE: <code>#LoadModule php5_module</code> 
 +      * TO: <code>LoadModule php5_module </code> 
 +  - [[http://download.dokuwiki.org/|Download dokuwiki-yyyy-mm-dd.tgz]] (assuming to ~/Downloads) 
 +  - Unpack downloaded filemove to appropriate locationand change ownership:<code bash> 
 +$ cd ~/Downloads && tar -zxvf dokuwiki-yyyy-mm-dd.tgz 
 +$ mv dokuwiki-yyyy-mm-dd ~/Sites/dokuwiki 
 +$ cd ~/Sites/dokuwiki 
 +$ sudo chown -R www data conf lib/plugins lib/tpl</code> 
 +  - 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]]
  
-Medya uygulaması çok sayıda depolama cihazını destekler.  Ancakdepolama aygıtınız Yardım sisteminde belgelenen tüm özellikleri desteklemeyebilir. Depolama cihazlarının büyük bölümünde medya uygulaması ilk kez açıldığında Başlangıç öğreticisi görüntüleni. İçeriğe erişme ve içeriğinn keyfini çıkarma hakkında faydalı ipuçları öğrenebileceğini bu tura katılmanızı öneriyoruz.+EDIT: since OSX Mountain Lionthe simple "Web Sharing" Option is no longer the way to start the Apache. 
 +Please follow the following link to get Apache run under OSX Mountain Lion:
  
-Yazılım güncellemeleri hakkında bilgi almak, SSS'ler, nasıl yapılır videoları ve destek bilgileri için [[http://www.lacie.com/support/|Destek]] bölümüne gidin.+EDIT2 (Oct2022): MacOS since Monterey does not include a web server anymore. Consider installing Dokuwiki with built in PHP and web server: [[:php_build-in_webserver]]
  
 +https://discussions.apple.com/docs/DOC-3083
 +===== Mac OS X Server =====
 +For Tiger (10.4.x) and Panther (10.3.x) server:
 +
 +  - Mac OS Server has Apache and PHP pre-installed; they are enabled through the Server Admin application. Enable "php4_module" under Web -> Modules, and start (or restart) and configure the web service.
 +  - [[http://download.dokuwiki.org/|Download dokuwiki-yyyy-mm-dd.tgz]] (assuming to ~/Desktop)
 +  - From the command line:<code bash>
 +$ 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</code>
 +
 +
 +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.1401889760.txt.gz · Last modified: 2014-06-04 15:49 by 188.27.135.6

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki