Old:Installing MediaWiki on 3.5 Apollo: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
No edit summary
m (rv: Undo spam)
Line 1: Line 1:
><span id="top"></span>
<span id="top"></span>
&lt;div style=&quot;padding:0;margin:0; border-bottom:3px inset #000000&quot;&gt;
<div style="padding:0;margin:0; border-bottom:3px inset #000000">
{|  
{|  
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
Installing MediaWiki on Uniform Server 3.5-Apollo  
Installing MediaWiki on Uniform Server 3.5-Apollo  
|}
|}
&lt;/div&gt;
</div>
{| cellpadding=&quot;2&quot;
{| cellpadding="2"
|
|
__TOC__
__TOC__
Line 18: Line 18:
== Preparation ==
== Preparation ==


&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
<table border="0" cellpadding="0" cellspacing="0">
&lt;tr&gt;
<tr>
&lt;td valign=&quot;top&quot;&gt;
<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)
Line 29: Line 29:
## 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
# Extract mediawiki-1.12.0.tar.gz to current path, creates a new folder&lt;br&gt; mediawiki-1.12.0.tar open this folder '''B)'''.
# Extract mediawiki-1.12.0.tar.gz to current path, creates a new folder<br> mediawiki-1.12.0.tar open this folder '''B)'''.
# Extract  mediawiki-1.12.0.tar to current path, creates a new folder&lt;br&gt; mediawiki-1.12.0 inside this is a second folder mediawiki-1.12.0 containing all the wiki files '''C)'''.
# Extract  mediawiki-1.12.0.tar to current path, creates a new folder<br> mediawiki-1.12.0 inside this is a second folder mediawiki-1.12.0 containing all the wiki files '''C)'''.
# 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''' note this makes it easier to type into a browsers address bar.
# '''E)''' Rename mediawiki-1.12.0 to '''wiki''' note this makes it easier to type into a browsers address bar.
That completes the preparations.  
That completes the preparations.  
&lt;/td&gt;
</td>
&lt;td&gt;[[Image:uc_media_wiki_1.gif]]&lt;/td&gt;
<td>[[Image:uc_media_wiki_1.gif]]</td>
&lt;/tr&gt;
</tr>
&lt;/table&gt;
</table>


== Wiki – Installation ==
== Wiki – Installation ==


&lt;table&gt;
<table>
&lt;tr&gt;
<tr>
&lt;td&gt;
<td>
# Start Uniform Server
# Start Uniform Server
# Type the following into your browser address bar: '''&lt;nowiki&gt;http://localhost/wiki/&lt;/nowiki&gt;''' redirects to installation page.
# Type the following into your browser address bar: '''<nowiki>http://localhost/wiki/</nowiki>''' redirects to 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 scroll down to '''Site config''' and fill in the form.
# This opens the configuration page scroll down to '''Site config''' and fill in the form.
&lt;/td&gt;
</td>
&lt;td&gt;[[Image:uc_media_wiki_2.gif]]&lt;/td&gt;
<td>[[Image:uc_media_wiki_2.gif]]</td>
&lt;/tr&gt;
</tr>
&lt;/table&gt;
</table>


'''''Site config'''''
'''''Site config'''''
&lt;table  width=&quot;490&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot;&gt;
<table  width="490" border="0" cellpadding="3" cellspacing="1">
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td  width=&quot;150&quot; align=&quot;right&quot;&gt;Wiki name:&lt;/td&gt;&lt;td&gt;MPG (whatever you like)&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td  width="150" align="right">Wiki name:</td><td>MPG (whatever you like)</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Contact e-mail:&lt;/td&gt;&lt;td&gt;admin@localhost&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Contact e-mail:</td><td>admin@localhost</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Language:&lt;/td&gt;&lt;td&gt;en-English&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Language:</td><td>en-English</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Copyright/license: &lt;/td&gt;&lt;td&gt;(radio button) select No license metadata&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Copyright/license: </td><td>(radio button) select No license metadata</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Admin username:&lt;/td&gt;&lt;td&gt;WikiSysop&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Admin username:</td><td>WikiSysop</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Password:&lt;/td&gt;&lt;td&gt;(whatever you like)&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Password:</td><td>(whatever you like)</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Password confirm:&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Password confirm:</td><td>&nbsp;</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Object caching:&lt;/td&gt;&lt;td&gt;(radio button) select eAccelerator&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Object caching:</td><td>(radio button) select eAccelerator</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Memcached servers:&lt;/td&gt;&lt;td&gt;(leave blank)&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Memcached servers:</td><td>(leave blank)</td></tr>
&lt;/table&gt;
</table>


'''''E-mail, e-mail notification and authentication setup'''''
'''''E-mail, e-mail notification and authentication setup'''''
&lt;table  width=&quot;490&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot;&gt;
<table  width="490" border="0" cellpadding="3" cellspacing="1">
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td  width=&quot;150&quot; align=&quot;right&quot;&gt;E-mail features (global): &lt;/td&gt;&lt;td&gt;(radio button) select Disabled&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td  width="150" align="right">E-mail features (global): </td><td>(radio button) select Disabled</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;User-to-user e-mail:&lt;/td&gt;&lt;td&gt;(radio button) select Disabled&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">User-to-user e-mail:</td><td>(radio button) select Disabled</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;E-mail notification about changes:&lt;/td&gt;&lt;td&gt;(radio button) select Disabled&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">E-mail notification about changes:</td><td>(radio button) select Disabled</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;E-mail address: &lt;/td&gt;&lt;td&gt;(radio button) select Disabled&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">E-mail address: </td><td>(radio button) select Disabled</td></tr>
&lt;/table&gt;
</table>
'''''Database config'''''
'''''Database config'''''
&lt;table  width=&quot;490&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot;&gt;
<table  width="490" border="0" cellpadding="3" cellspacing="1">
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td width=&quot;150&quot; align=&quot;right&quot;&gt;Database type:&lt;/td&gt;&lt;td&gt;(radio button) select MySQL&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td width="150" align="right">Database type:</td><td>(radio button) select MySQL</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Database host:&lt;/td&gt;&lt;td&gt;localhost&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Database host:</td><td>localhost</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Database name: &lt;/td&gt;&lt;td&gt;wikidb&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Database name: </td><td>wikidb</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;DB username:&lt;/td&gt;&lt;td&gt;root&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">DB username:</td><td>root</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;DB password confirm: &lt;/td&gt;&lt;td&gt;root &lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">DB password confirm: </td><td>root </td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Superuser account:&lt;/td&gt;&lt;td&gt;tick box &lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Superuser account:</td><td>tick box </td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Superuser name:&lt;/td&gt;&lt;td&gt;root&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Superuser name:</td><td>root</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Superuser password:&lt;/td&gt;&lt;td&gt;root&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Superuser password:</td><td>root</td></tr>
&lt;/table&gt;
</table>
'''''MySQL specific options'''''
'''''MySQL specific options'''''
&lt;table  width=&quot;490&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot;&gt;
<table  width="490" border="0" cellpadding="3" cellspacing="1">
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td width=&quot;150&quot; align=&quot;right&quot;&gt;Database table prefix:&lt;/td&gt;&lt;td&gt;leave blank&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td width="150" align="right">Database table prefix:</td><td>leave blank</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Storage Engine:&lt;/td&gt;&lt;td&gt;(radio button) select MyISAM&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Storage Engine:</td><td>(radio button) select MyISAM</td></tr>
&lt;tr bgcolor=&quot;#F4F4F4&quot;&gt;&lt;td align=&quot;right&quot;&gt;Database character set: : &lt;/td&gt;&lt;td&gt;(radio button) select Backwards-compatible UTF-8&lt;/td&gt;&lt;/tr&gt;
<tr bgcolor="#F4F4F4"><td align="right">Database character set: : </td><td>(radio button) select Backwards-compatible UTF-8</td></tr>
&lt;/table&gt;
</table>
'''Click Install MediaWiki'''
'''Click Install MediaWiki'''


After creating the database a second page will display, scroll down the page you will see the conformation message  
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 &lt;br&gt;file to the parent directory, then follow  this link to your wiki”
  Installation successful! Move the config/LocalSettings.php <br>file to the parent directory, then follow  this link to your wiki”


== Notes ==
== Notes ==
Line 104: Line 104:


'''Note 2:''' Access your wiki by typing the following into your browser address bar:
'''Note 2:''' Access your wiki by typing the following into your browser address bar:
#'''&lt;nowiki&gt;http://localhost/wiki/&lt;/nowiki&gt;''' or
#'''<nowiki>http://localhost/wiki/</nowiki>''' or
#'''&lt;nowiki&gt;http://localhost/wiki/index.php/Main_Page&lt;/nowiki&gt;'''
#'''<nowiki>http://localhost/wiki/index.php/Main_Page</nowiki>'''




Line 128: Line 128:
[[Category: How To]]
[[Category: How To]]
[[Category: Installation]]
[[Category: Installation]]
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://acotacyxixi.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
----
=[http://acotacyxixi.co.cc CLICK HERE]=
----
</div>

Revision as of 15:48, 18 November 2010

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 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, its 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 note this makes it easier to type into a browsers address bar.

That completes the preparations.

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 Backwards-compatible UTF-8

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 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;

Top


Ric