| 1 | [[PageOutline]] |
| 2 | |
| 3 | [wiki:howto <- Back to the HOWTO section] |
| 4 | |
| 5 | These installation instructions are written for the following versions of MacPorts software: |
| 6 | |
| 7 | * Apache 2.2.* - See: [[howto/Apache2]] for instructions on installation of Apache2 |
| 8 | * MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation of MySQL |
| 9 | * PHP 5.6.* - See: [[howto/PHP]] for instructions on installation of PHP |
| 10 | |
| 11 | Note that if you intend to install MediaWiki also, the instructions found at https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X |
| 12 | also refer to MAMP which is a commercial product (http://www.mamp.info/en/). They also refer to " [http://bitnami.org/stack/mediawiki MAMPstack + MediaWiki], which is a BItnami installer for Mediawiki. |
| 13 | * MediaWiki 1.24.* - see: [[howto/MediaWiki]] for instructions on installation of MediaWiki |
| 14 | |
| 15 | = MediaWiki reference information = |
| 16 | * a general description of the OSX installation of MediaWiki - https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X |
| 17 | |
| 18 | * the primary "manual" installation guide - https://www.mediawiki.org/wiki/Manual:Installation_guide |
| 19 | |
| 20 | * Information on dowloading - https://www.mediawiki.org/wiki/Download |
| 21 | |
| 22 | * Subscribe to the MediaWiki support lists - https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 23 | |
| 24 | |
| 25 | = Step 1: Install MediaWiki = #mediawiki |
| 26 | |
| 27 | {{{ |
| 28 | $ sudo port install MediaWiki |
| 29 | }}} |
| 30 | |
| 31 | MediaWiki will also install: |
| 32 | * port:php56-intl |
| 33 | * port:php56-dba |
| 34 | * port:php56-mbstring |
| 35 | * port:ImageMagick |
| 36 | |
| 37 | |
| 38 | == MySQL installation == |
| 39 | |
| 40 | create database wikidb; |
| 41 | grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password'; |
| 42 | |
| 43 | If your database is not running on the same server as your web server, you need to give the appropriate web server hostname -- mediawiki.example.com in my example -- as follows: |
| 44 | grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to |
| 45 | 'wikiuser'@'mediawiki.example.com' identified by 'password'; |
| 46 | |
| 47 | |
| 48 | [wiki:howto <- Back to the HOWTO section] |