Skip to main content

Install a Wiki on Snow Leopard 10.6.7

Installing MediaWiki 1.16.4 on a local Mac with Snow Leopard 10.6.7

 

** My comments are in this font..

Buy and Sell Cisco Network Gear.

Double check all the Requirements

 

prompt% php -v
PHP 5.3.4 (cli)

 

  • Database Server
    • MySQL 4.0 or later (*)
    • or PostgreSQL 8.1 or later
      • Requires PL/pgSQL (contained in contribs)
      • Full-Text searching (Native in >=8.3, requires tsearch2 extension <=8.2)

** Check, I have MySQL 5.5.1 and phpMyAdmin

Some users find it helpful to install an additional software package such as phpMyAdmin (MySQL) or phpMyAdmin (Postgres) to help administer the database server.

For image thumbnailing and TeX-support, additional programs are required.

** Deal with those during the install.

(*) - Even though it may not be officially supported yet, MariaDB, is an alternative, a GPL fork of the MySQL code by Monty Widenius, the founder of MySQL, and can also be used by Mediawiki. Debian/Ubuntu repos.

 

----  Doing the actual install.

1. Create a database to use.

2. Browse to the mediawiki-1.16.4 folder. i.e.  localhost/~username/mediawiki-1.16.4

3. Got the Need to Setup MediaWiki first.

MediaWiki 1.16.4 Installation

Can't write config file, aborting

In order to configure the wiki you have to make the config subdirectory writable by the web server. Once configuration is done you'll move the created LocalSettings.php to the parent directory, and for added safety you can then remove the config subdirectory entirely.

To make the directory writable on a Unix/Linux system:

prompt% cd /Users/user/Sites/mediawiki-1.16.4

prompt% sudo chmod a+w config

Afterwards retry to start the setup.

4. My environment checked out. I'm good to go.

5. Add the appropriate user and db settings and click install.

6.  I got:

Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.

You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.

In the "parent directory" = /mediawiki-1.16.4   run this command.

prompt% cp config/LocalSettings.php .

No need to worry about permissions on that file.  Its a Local computer..

 

 

Your rating: None Average: 5 (1 vote)