install:macosx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:macosx [2013-08-23 08:54] – [Notes] 14.137.98.62 | install:macosx [2022-10-30 06:28] (current) – fixed internal link 2a02:908:1873:7020:b811:fc43:cac1:18b8 | ||
---|---|---|---|
Line 15: | Line 15: | ||
* CHANGE: < | * CHANGE: < | ||
* TO: < | * TO: < | ||
- | - [[sb>dokuwiki|Download dokuwiki-yyyy-mm-dd.tgz]] (assuming to ~/ | + | - [[http:// |
- Unpack downloaded file, move to appropriate location, and change ownership:< | - Unpack downloaded file, move to appropriate location, and change ownership:< | ||
$ cd ~/Downloads && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | $ cd ~/Downloads && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | ||
$ mv dokuwiki-yyyy-mm-dd ~/ | $ mv dokuwiki-yyyy-mm-dd ~/ | ||
$ cd ~/ | $ cd ~/ | ||
- | $ sudo chown -R www data conf lib/ | + | $ sudo chown -R www data conf lib/ |
- 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:// | You should now be able to run the installer at [[http:// | ||
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/ | + | 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 ===== | ===== 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: | ||
- Mac OS Server has Apache and PHP pre-installed; | - Mac OS Server has Apache and PHP pre-installed; | ||
- | - [[sb>dokuwiki|Download dokuwiki-yyyy-mm-dd.tgz]] (assuming to ~/Desktop) | + | - [[http:// |
- From the command line:< | - From the command line:< | ||
$ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | $ cd ~/Desktop && tar -zxvf dokuwiki-yyyy-mm-dd.tgz | ||
Line 43: | Line 44: | ||
You should now be able to run the installer at [[http:// | 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.1377240845.txt.gz · Last modified: 2013-08-23 08:54 by 14.137.98.62