Old:Installing MediaWiki on 4.0-Mona

Revision as of 08:57, 15 February 2009 by Ric (talk | contribs) (New page: <span id="top"></span> {| cellpadding="2" |__TOC__||'''Installing MediaWiki on 4.0-Mona''' |} '''Introduction''' The following instructions show you how to install MediaWiki on a clean ve...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing MediaWiki on 4.0-Mona

Introduction

The following instructions show you how to install MediaWiki on a clean version of 4.0-Mona.

It’s a personal server and will not be used online hence no need to change any of Uniform Server’s settings, its locked down and safe to use even when your PC is connected to the Internet.

Preparation

Install Uniform server

  1. A) Create a new folder named mediawiki_b (Can be any name)
  2. Extract a new copy of Uniform Server V4.0-Mona to this folder
     --- Database user name root - No need to change this
     --- Database password root - Before installing MediaWikil I recommend changing this using apanel
  3. Start Uniform Server.

Download Mediawiki

  1. B) Create a new folder mediawiki_a (Can be any name its only a temporary folder)
  2. Download Mediakiki 1.13.3 (or newer version) from here save to a convenient folder for example mediawiki_a
  3. Unzip the downloaded file (mediawiki-1.13.3.tar.gz) Windows cannot do this use something like 7-Zip Portable
     --- Download site: PortableApps.com
     --- File name: 7-Zip Portable - Multilingual file archiver and compressor
  4. B) Extract mediawiki-1.13.3.tar.gz to current path, creates a new folder mediawiki-1.13.3.tar open this folder C)
  5. C) Extract mediawiki-1.13.3.tar to current path, creates a new folder mediawiki-1.13.3 (D)

Copy files to Uniform Server

  1. E) Copy folder mediawiki-1.13.3 to server root folder www
  2. F) Rename folder mediawiki-1.13.3 to mediawiki

 

Wiki – Installation

  1. Start Uniform Server
  2. Type the following into your browser address bar: http://localhost/wiki/ redirects to installation page.
  3. Click the link Please set up the wiki first.
  4. This opens the configuration page scroll down to Site config and fill in the form.
 

Site config

Wiki name:MPG (whatever you like)
Contact e-mail:admin@localhost
Language:en-English
Copyright/license: (radio button) select No license metadata
Admin username:WikiSysop
Password:(whatever you like)
Password confirm: 
Object caching:(radio button) select eAccelerator
Memcached servers:(leave blank)

E-mail, e-mail notification and authentication setup

E-mail features (global): (radio button) select Disabled
User-to-user e-mail:(radio button) select Disabled
E-mail notification about changes:(radio button) select Disabled
E-mail address: (radio button) select Disabled

Database config

Database type:(radio button) select MySQL
Database host:localhost
Database name: wikidb
DB username:root
DB password confirm: root
Superuser account:tick box
Superuser name:root
Superuser password:root

MySQL specific options

Database table prefix:leave blank
Storage Engine:(radio button) select MyISAM
Database character set: : (radio button) select MySQL 4.1/5.0 binary

Click Install MediaWiki

After creating the database a second page will display, scroll down the page you will see the conformation message

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

Notes

Note 1: More detail for moving file, also refer to above image G)

  1. Copy file: LocalSettings.php
  2. Located in folder: *\UniServer\udrive\www\wiki\config
  3. To folder: *\UniServer\udrive\www\wiki


Note 2: Access your wiki by typing the following into your browser address bar:

  1. http://localhost/wiki/ or
  2. http://localhost/wiki/index.php/Main_Page


Notes 3: To enable image uploads:

  1. Open file: LocalSettings.php
  2. Located in folder: *\UniServer\udrive\www\wiki
  3. Change this line: $wgEnableUploads = false;
  4. To: $wgEnableUploads = true;

Portability

If you want a portable version of MediaWiki copy the folder UniServer and all its content to your USB memory stick that’s it. Don’t expect fantastic speeds however it is usable.

Top

Conclusion

MediaWiki is extremely easy to install on UniServer, if you have a version (1.3.*) already installed on 3.5 and want to move it over to 4.0-Mona take a look at this page.

Top