USB MediaWiki: Difference between revisions

918 bytes removed ,  24 November 2010
m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
No edit summary
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric)
 
Line 1: Line 1:
=[http://azysijogen.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
<span id="top"></span>
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
{| cellpadding="2"
{| cellpadding=&quot;2&quot;
|__TOC__||'''Self-contained USB MediaWiki'''
|__TOC__||'''Self-contained USB MediaWiki'''
|}
|}
Line 16: Line 15:


# Create a new folder named '''server_temp''' (can be any name you like)
# Create a new folder named '''server_temp''' (can be any name you like)
# Download the newest version of Uniform Server ('''UniServer4_2.exe''') from [http://sourceforge.net/project/showfiles.php?group_id=53691&amp;package_id=48193 SourceForge] save to folder server_temp.
# Download the newest version of Uniform Server ('''UniServer4_2.exe''') from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=48193 SourceForge] save to folder server_temp.
# Extract Uniform Server, double click on file UniServer4_2.exe creates a new folder named '''UniServer'''.
# Extract Uniform Server, double click on file UniServer4_2.exe creates a new folder named '''UniServer'''.
# Delete UniServer4_2.exe no longer required and saves disk space.
# Delete UniServer4_2.exe no longer required and saves disk space.
# Download plugin '''UniServer_USB_1.1.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&amp;package_id=49448 SourceForge] save to folder '''UniServer'''
# Download plugin '''UniServer_USB_1.1.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448 SourceForge] save to folder '''UniServer'''
# Extract plugin, double click on file '''UniServer_USB_1.1.exe''', no need to change path. Click Extract, confirm file replace click '''Yes to all'''.
# Extract plugin, double click on file '''UniServer_USB_1.1.exe''', no need to change path. Click Extract, confirm file replace click '''Yes to all'''.
# Delete '''UniServer_USB_1.1.exe''' no longer required and saves disk space.
# Delete '''UniServer_USB_1.1.exe''' no longer required and saves disk space.
Line 25: Line 24:
# Read and delete file '''read_me.txt'''
# Read and delete file '''read_me.txt'''
# Navigate to folder server_temp\UniServer\udrive\plugins\'''move_servers'''
# Navigate to folder server_temp\UniServer\udrive\plugins\'''move_servers'''
# Run file '''Run.bat''' press enter (or change values as required) at all prompts.&lt;br&gt;'''''Important''''' Note the following values these will be required latter:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'''Apache port 81'''&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SSL port 444&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'''MySQL port 3307'''
# Run file '''Run.bat''' press enter (or change values as required) at all prompts.<br>'''''Important''''' Note the following values these will be required latter:<br>&nbsp;&nbsp;&nbsp;'''Apache port 81'''<br>&nbsp;&nbsp;&nbsp;SSL port 444<br>&nbsp;&nbsp;&nbsp;'''MySQL port 3307'''
# That completes building a USB server.
# That completes building a USB server.


* '''Steps 1-4''' Extracts Uniform Server
* '''Steps 1-4''' Extracts Uniform Server
* '''Steps 5-9''' Adds portable Firefox, USB unitray and a PAC file to Uniform server. Replaces appropriate files.
* '''Steps 5-9''' Adds portable Firefox, USB unitray and a PAC file to Uniform server. Replaces appropriate files.
* '''Steps 10-11''' Moves the server to different ports, prevents conflicts if a host PC is running a server.&lt;br&gt;Programs (Apache and Firefox)are renamed allowing you to run multiple servers.&lt;br&gt;If you are intending to run multiple servers each server must have unique ports hence you will need to repeat step 11.&lt;br&gt;On each run of file '''Run.bat''' ports are automatically incremented.           
* '''Steps 10-11''' Moves the server to different ports, prevents conflicts if a host PC is running a server.<br>Programs (Apache and Firefox)are renamed allowing you to run multiple servers.<br>If you are intending to run multiple servers each server must have unique ports hence you will need to repeat step 11.<br>On each run of file '''Run.bat''' ports are automatically incremented.           


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 64: Line 63:
{|
{|
|-
|-
|valign=&quot;top&quot;|
|valign="top"|
'''''Download Mediawiki'''''
'''''Download Mediawiki'''''
# Download  MediaWiki '''1.14.0''' (or newer version) from [http://download.wikimedia.org/mediawiki/ here]&lt;br&gt; save to folder  '''server_temp'''  '''A)'''
# Download  MediaWiki '''1.14.0''' (or newer version) from [http://download.wikimedia.org/mediawiki/ here]<br> save to folder  '''server_temp'''  '''A)'''
# Unzip the downloaded file (mediawiki-1.14.0.tar.gz)&lt;br&gt;Windows cannot do this use something like 7-Zip Portable&lt;br&gt;&amp;nbsp;--- Download site: [http://portableapps.com/apps/utilities PortableApps.com]&lt;br&gt;&amp;nbsp;--- File name: 7-Zip Portable - Multilingual file archiver and compressor
# Unzip the downloaded file (mediawiki-1.14.0.tar.gz)<br>Windows cannot do this use something like 7-Zip Portable<br>&nbsp;--- Download site: [http://portableapps.com/apps/utilities PortableApps.com]<br>&nbsp;--- File name: 7-Zip Portable - Multilingual file archiver and compressor
# Extract '''mediawiki-1.14.0.tar.gz''' to current path, creates a new folder&lt;br&gt; '''mediawiki-1.14.0.tar''' open this folder.
# Extract '''mediawiki-1.14.0.tar.gz''' to current path, creates a new folder<br> '''mediawiki-1.14.0.tar''' open this folder.
# Extract  mediawiki-1.14.0.tar to current path, creates a new folder mediawiki-1.14.0
# Extract  mediawiki-1.14.0.tar to current path, creates a new folder mediawiki-1.14.0
# Expand this folder until the last folder '''mediawiki-1.14.0''' is reached '''B)'''
# Expand this folder until the last folder '''mediawiki-1.14.0''' is reached '''B)'''
Line 81: Line 80:
# Wait for portable Firefox to start, at the pop-up click radio button '''Disable Session store''' click '''Next'''
# Wait for portable Firefox to start, at the pop-up click radio button '''Disable Session store''' click '''Next'''
# Uniform Server's initial opening page is displayed.
# Uniform Server's initial opening page is displayed.
# Type the following into portable Firefox address bar: '''&lt;nowiki&gt;http://localhost/wiki/&lt;/nowiki&gt;''' redirects to installation page.
# Type the following into portable Firefox 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.


{| border=&quot;0&quot; cellpadding=&quot;1&quot; cellspacing=&quot;3&quot;
{| border="0" cellpadding="1" cellspacing="3"
|-style=&quot;background:#ffffff&quot;
|-style="background:#ffffff"
|'''''Site config'''''||&amp;nbsp;
|'''''Site config'''''||&nbsp;
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Wiki name:||'''MPG''' (whatever you like)
|align="right"|Wiki name:||'''MPG''' (whatever you like)
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Contact e-mail:||admin@localhost
|align="right"|Contact e-mail:||admin@localhost
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Language:||en-English
|align="right"|Language:||en-English
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Copyright/license:||(radio button) select No license metadata
|align="right"|Copyright/license:||(radio button) select No license metadata
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Admin username:||WikiSysop
|align="right"|Admin username:||WikiSysop
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Password:||'''root''' (whatever you like)
|align="right"|Password:||'''root''' (whatever you like)
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Password confirm:||'''root'''
|align="right"|Password confirm:||'''root'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Object caching:||'''No caching''' radio button
|align="right"|Object caching:||'''No caching''' radio button
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Memcached servers:||leave blank
|align="right"|Memcached servers:||leave blank
|-style=&quot;background:#ffffff&quot;
|-style="background:#ffffff"
|colspan=&quot;2&quot;|'''''E-mail, e-mail notification and authentication setup'''''
|colspan="2"|'''''E-mail, e-mail notification and authentication setup'''''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|E-mail features (global):||(radio button) select Disabled
|align="right"|E-mail features (global):||(radio button) select Disabled
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|User-to-user e-mail:||(radio button) select Disabled
|align="right"|User-to-user e-mail:||(radio button) select Disabled
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|E-mail notification about changes:||(radio button) select Disabled
|align="right"|E-mail notification about changes:||(radio button) select Disabled
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|E-mail address:||(radio button) select Disabled
|align="right"|E-mail address:||(radio button) select Disabled
|-style=&quot;background:#ffffff&quot;
|-style="background:#ffffff"
|'''''Database config'''''||&amp;nbsp;
|'''''Database config'''''||&nbsp;
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Database host:||'''localhost:3307'''
|align="right"|Database host:||'''localhost:3307'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Database name:||wikidb
|align="right"|Database name:||wikidb
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|DB username:||'''root'''
|align="right"|DB username:||'''root'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|DB password:||'''root'''
|align="right"|DB password:||'''root'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|DB password confirm:||'''root'''
|align="right"|DB password confirm:||'''root'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Superuser account:||'''tick box'''
|align="right"|Superuser account:||'''tick box'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Superuser name:||'''root'''
|align="right"|Superuser name:||'''root'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Superuser password:||'''root'''
|align="right"|Superuser password:||'''root'''
|-style=&quot;background:#ffffff&quot;
|-style="background:#ffffff"
|'''''MySQL specific options'''''||&amp;nbsp;
|'''''MySQL specific options'''''||&nbsp;
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Database table prefix:||'''leave blank'''
|align="right"|Database table prefix:||'''leave blank'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Storage Engine:||(radio button) select '''MyISAM'''
|align="right"|Storage Engine:||(radio button) select '''MyISAM'''
|-style=&quot;background:#F4F4F4&quot;
|-style="background:#F4F4F4"
|align=&quot;right&quot;|Database character set:||(radio button) select '''MySQL 4.1/5.0 binary'''
|align="right"|Database character set:||(radio button) select '''MySQL 4.1/5.0 binary'''
|}
|}
'''Click Install MediaWiki'''
'''Click Install MediaWiki'''
Line 151: Line 150:


Scroll down this page you will see the conformation message:
Scroll down this page you will see the conformation message:
&lt;pre&gt;
<pre>
Installation successful! Move the config/LocalSettings.php
Installation successful! Move the config/LocalSettings.php
file to the parent directory, then follow  this link to your wiki
file to the parent directory, then follow  this link to your wiki
&lt;/pre&gt;
</pre>


Detail for moving file refer to above image  
Detail for moving file refer to above image  
Line 164: Line 163:
== Accessing Wiki ==
== Accessing Wiki ==
Access your wiki by typing the following into your browser address bar:
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>'''


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''