USB MediaWiki: Difference between revisions
Jump to navigation
Jump to search
no edit summary
m (New page: <span id="top"></span> {| cellpadding="2" |__TOC__||'''Self-contained USB MediaWiki''' |} '''Introduction''' Uniform Server Mona has some very powerful features these can be exploited to ...) |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=[http://azysijogen.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | |||
{| cellpadding= | <span id="top"></span> | ||
{| cellpadding="2" | |||
|__TOC__||'''Self-contained USB MediaWiki''' | |__TOC__||'''Self-contained USB MediaWiki''' | ||
|} | |} | ||
Line 15: | Line 16: | ||
# 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&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&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 24: | Line 25: | ||
# 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. | # 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. | * '''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 63: | Line 64: | ||
{| | {| | ||
|- | |- | ||
|valign= | |valign="top"| | ||
'''''Download Mediawiki''''' | '''''Download Mediawiki''''' | ||
# Download MediaWiki '''1.14.0''' (or newer version) from [http://download.wikimedia.org/mediawiki/ here] | # 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) | # 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 | # 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 80: | Line 81: | ||
# 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: ''' | # 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= | {| border="0" cellpadding="1" cellspacing="3" | ||
|-style= | |-style="background:#ffffff" | ||
|'''''Site config'''''|| | |'''''Site config'''''||&nbsp; | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Wiki name:||'''MPG''' (whatever you like) | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Contact e-mail:||admin@localhost | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Language:||en-English | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Copyright/license:||(radio button) select No license metadata | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Admin username:||WikiSysop | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Password:||'''root''' (whatever you like) | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Password confirm:||'''root''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Object caching:||'''No caching''' radio button | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Memcached servers:||leave blank | ||
|-style= | |-style="background:#ffffff" | ||
|colspan= | |colspan="2"|'''''E-mail, e-mail notification and authentication setup''''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|E-mail features (global):||(radio button) select Disabled | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|User-to-user e-mail:||(radio button) select Disabled | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|E-mail notification about changes:||(radio button) select Disabled | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|E-mail address:||(radio button) select Disabled | ||
|-style= | |-style="background:#ffffff" | ||
|'''''Database config'''''|| | |'''''Database config'''''||&nbsp; | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Database host:||'''localhost:3307''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Database name:||wikidb | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|DB username:||'''root''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|DB password:||'''root''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|DB password confirm:||'''root''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Superuser account:||'''tick box''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Superuser name:||'''root''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Superuser password:||'''root''' | ||
|-style= | |-style="background:#ffffff" | ||
|'''''MySQL specific options'''''|| | |'''''MySQL specific options'''''||&nbsp; | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Database table prefix:||'''leave blank''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Storage Engine:||(radio button) select '''MyISAM''' | ||
|-style= | |-style="background:#F4F4F4" | ||
|align= | |align="right"|Database character set:||(radio button) select '''MySQL 4.1/5.0 binary''' | ||
|} | |} | ||
'''Click Install MediaWiki''' | '''Click Install MediaWiki''' | ||
Line 150: | Line 151: | ||
Scroll down this page you will see the conformation message: | Scroll down this page you will see the conformation message: | ||
<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 | ||
</pre> | |||
Detail for moving file refer to above image | Detail for moving file refer to above image | ||
Line 163: | Line 164: | ||
== 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: | ||
#''' | #'''<nowiki>http://localhost/wiki/</nowiki>''' or | ||
#''' | #'''<nowiki>http://localhost/wiki/index.php/Main_Page</nowiki>''' | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' |