Old:Installing MediaWiki on 3.5 Apollo: Difference between revisions
m (rv: Undo spam) |
m (BobS moved page Installing MediaWiki on 3.5 Apollo to Old:Installing MediaWiki on 3.5 Apollo without leaving a redirect) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
__TOC__ | __TOC__ | ||
|| | || | ||
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. | 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 Uniform Server and hacked it around. This is my first attempt at a Wiki page. | 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 Uniform Server’s settings | 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 == | == Preparation == | ||
Line 21: | Line 21: | ||
<tr> | <tr> | ||
<td valign="top"> | <td valign="top"> | ||
Download MediaWiki extract and copy it to folder www details as follows: | Download MediaWiki, extract and copy it to folder www; details as follows: | ||
#'''A)''' Create a new folder named mediawiki (can be any name you like) | #'''A)''' Create a new folder named mediawiki (can be any name you like) | ||
# Download the latest version (1.12.0) of MediaWiki and save it to the above folder | # Download the latest version (1.12.0) of MediaWiki and save it to the above folder | ||
## Download site: [http://download.wikimedia.org/mediawiki/ WikiMedia] | ## Download site: [http://download.wikimedia.org/mediawiki/ WikiMedia] | ||
## File name: mediawiki-1.12.0.tar.gz | ## File name: mediawiki-1.12.0.tar.gz | ||
# Unzip the file. Windows cannot do this use something like 7-Zip Portable | # Unzip the file. Windows cannot do this; use something like 7-Zip Portable | ||
## Download site: [http://portableapps.com/apps/utilities PortableApps.com] | ## Download site: [http://portableapps.com/apps/utilities PortableApps.com] | ||
## File name: 7-Zip Portable - Multilingual file archiver and compressor | ## File name: 7-Zip Portable - Multilingual file archiver and compressor | ||
Line 33: | Line 33: | ||
# Install a new version of Uniform Server 3.5-Apollo | # Install a new version of Uniform Server 3.5-Apollo | ||
# '''D)''' Copy folder mediawiki-1.12.0 '''C)''' to folder '''www''' (UniServer’s root folder) | # '''D)''' Copy folder mediawiki-1.12.0 '''C)''' to folder '''www''' (UniServer’s root folder) | ||
# '''E)''' Rename mediawiki-1.12.0 to '''wiki''' | # '''E)''' Rename mediawiki-1.12.0 to '''wiki'''. This makes it easier to type into a browser's address bar. | ||
That completes the preparations. | That completes the preparations. | ||
</td> | </td> | ||
Line 46: | Line 46: | ||
<td> | <td> | ||
# Start Uniform Server | # Start Uniform Server | ||
# Type the following into your browser address bar: '''<nowiki>http://localhost/wiki/</nowiki>''' redirects to installation page. | # Type the following into your browser address bar: '''<nowiki>http://localhost/wiki/</nowiki>''' which redirects to the installation page. | ||
# Click the link Please '''set up the wiki''' first. | # Click the link: Please '''set up the wiki''' first. | ||
# This opens the configuration page | # This opens the configuration page. Scroll down to '''Site config''' and fill in the form. | ||
</td> | </td> | ||
<td>[[Image:uc_media_wiki_2.gif]]</td> | <td>[[Image:uc_media_wiki_2.gif]]</td> | ||
Line 91: | Line 91: | ||
<tr bgcolor="#F4F4F4"><td align="right">Database character set: : </td><td>(radio button) select Backwards-compatible UTF-8</td></tr> | <tr bgcolor="#F4F4F4"><td align="right">Database character set: : </td><td>(radio button) select Backwards-compatible UTF-8</td></tr> | ||
</table> | </table> | ||
''' | Click '''Install MediaWiki''' | ||
After creating the database a second page will display | 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 <br>file to the parent directory, then follow this link to your wiki" | ||
== Notes == | == Notes == | ||
Line 113: | Line 112: | ||
#Change this line: $wgEnableUploads = false; | #Change this line: $wgEnableUploads = false; | ||
#To: $wgEnableUploads = true; | #To: $wgEnableUploads = true; | ||
---- | ---- | ||
Line 122: | Line 119: | ||
|} | |} | ||
[[Category: | [[Category: Archive]] | ||
Latest revision as of 16:20, 21 June 2013
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:
That completes the preparations. |
Wiki – Installation
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)
- Copy file: LocalSettings.php
- Located in folder: *\Uniform Server\udrive\www\wiki\config
- To folder: *\Uniform Server\udrive\www\wiki
Note 2: Access your wiki by typing the following into your browser address bar:
- http://localhost/wiki/ or
- http://localhost/wiki/index.php/Main_Page
Notes 3: To enable image uploads:
- Open file: LocalSettings.php
- Located in folder: *\Uniform Server\udrive\www\wiki
- Change this line: $wgEnableUploads = false;
- To: $wgEnableUploads = true;
Ric |