install:macosx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:macosx [2014-06-04 15:49] – 188.27.135.6 | install: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: | ||
- | ======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). |
- | Medya uygulaması, | + | - Enable PHP in Apache and Allow Directory Accesses |
+ | - Backup httpd.conf:< | ||
+ | $ sudo cp / | ||
+ | </ | ||
+ | - Edit httpd.conf:< | ||
+ | $ sudo pico / | ||
+ | </ | ||
+ | - Make the following changes to httpd.conf: | ||
+ | * CHANGE: < | ||
+ | * TO: < | ||
+ | - [[http:// | ||
+ | - Unpack downloaded file, move to appropriate location, and change ownership:< | ||
+ | $ cd ~/Downloads && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | ||
+ | $ mv dokuwiki-yyyy-mm-dd ~/ | ||
+ | $ cd ~/ | ||
+ | $ sudo chown -R www data conf lib/plugins lib/ | ||
+ | - Start Personal Web Sharing in System Preferences -> Sharing | ||
+ | You should now be able to run the installer at [[http:// | ||
- | Medya uygulaması çok sayıda depolama cihazını destekler. | + | EDIT: since OSX Mountain Lion, the simple "Web Sharing" |
+ | Please follow the following link to get Apache run under OSX Mountain Lion: | ||
- | Yazılım güncellemeleri hakkında bilgi almak, SSS' | + | EDIT2 (Oct2022): MacOS since Monterey does not include a web server anymore. Consider installing Dokuwiki with built in PHP and web server: |
+ | https:// | ||
+ | ===== Mac OS X Server ===== | ||
+ | For Tiger (10.4.x) and Panther (10.3.x) server: | ||
+ | |||
+ | - Mac OS Server has Apache and PHP pre-installed; | ||
+ | - [[http:// | ||
+ | - From the command line:< | ||
+ | $ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | ||
+ | $ mv dokuwiki-yyyy-mm-dd ~/ | ||
+ | $ cd ~/ | ||
+ | $ sudo chown -R www data conf</ | ||
+ | |||
+ | |||
+ | You should now be able to run the installer at [[http:// | ||
+ | |||
+ | ====== DokuWiki with Mac OS X and Nginx ====== | ||
+ | If you use Nginx as server, You should config nginx.conf like: | ||
+ | |||
+ | index index.php; | ||
+ | location | ||
+ | deny all; | ||
+ | } | ||
+ | location ~ /.+\.php$ { | ||
+ | fastcgi_pass | ||
+ | fastcgi_param | ||
+ | include | ||
+ | } | ||
+ | |||
+ | Further instructions for Nginx: https:// |
install/macosx.1401889760.txt.gz · Last modified: 2014-06-04 15:49 by 188.27.135.6