Old:Installing MediaWiki on 3.5 Apollo

From The Uniform Server Wiki
Revision as of 11:31, 16 July 2011 by BobS (talk | contribs) (Punctuation and grammatical changes; moved to Category: Archive.)
Jump to navigation Jump to search

MPG UniCenter

Installing MediaWiki on Uniform Server 3.5-Apollo

Having decided to move parts of UniCenter over to this Wiki, I thought it would be a good idea to learn what a Wiki does.

To achieve this I downloaded and installed MediaWiki on The Uniform Server and hacked it around. This is my first attempt at a Wiki page.

The following instructions show you how to install MediaWiki on a clean version of 3.5-Apollo. It’s a personal server and will not be used online, hence no need to change any of The Uniform Server’s settings; it's locked down and safe to use even when your PC is connected to the Internet.

Preparation

Download MediaWiki, extract and copy it to folder www; details as follows:

  1. A) Create a new folder named mediawiki (can be any name you like)
  2. Download the latest version (1.12.0) of MediaWiki and save it to the above folder
    1. Download site: WikiMedia
    2. File name: mediawiki-1.12.0.tar.gz
  3. Unzip the file. Windows cannot do this; use something like 7-Zip Portable
    1. Download site: PortableApps.com
    2. File name: 7-Zip Portable - Multilingual file archiver and compressor
  4. Extract mediawiki-1.12.0.tar.gz to current path, creates a new folder
    mediawiki-1.12.0.tar open this folder B).
  5. Extract mediawiki-1.12.0.tar to current path, creates a new folder
    mediawiki-1.12.0 inside this is a second folder mediawiki-1.12.0 containing all the wiki files C).
  6. Install a new version of Uniform Server 3.5-Apollo
  7. D) Copy folder mediawiki-1.12.0 C) to folder www (UniServer’s root folder)
  8. E) Rename mediawiki-1.12.0 to wiki. This makes it easier to type into a browser's address bar.

That completes the preparations.

Wiki – Installation

  1. Start Uniform Server
  2. Type the following into your browser address bar: http://localhost/wiki/ which redirects to the 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 Backwards-compatible UTF-8

Click Install MediaWiki

After creating the database, a second page will display. Scroll down the page and you will see the confirmation 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 F)

  1. Copy file: LocalSettings.php
  2. Located in folder: *\Uniform Server\udrive\www\wiki\config
  3. To folder: *\Uniform Server\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: *\Uniform Server\udrive\www\wiki
  3. Change this line: $wgEnableUploads = false;
  4. To: $wgEnableUploads = true;

Ric