Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:installation:mediawiki_installation [2017/09/07 11:44]
Usman Nasir
litespeed_wiki:installation:mediawiki_installation [2017/09/07 14:41] (current)
Lisa Clarke [MediaWiki Installation]
Line 20: Line 20:
  
  
-=====Mariadb ​Installation:​=====+=====MariaDB ​Installation:​=====
 Install MariaDB: Install MariaDB:
 <​code>​sudo yum install mariadb-server <​code>​sudo yum install mariadb-server
Line 28: Line 28:
 Enter ''​$yourpassword''​ Enter ''​$yourpassword''​
 =====Create MediaWiki DB Account ===== =====Create MediaWiki DB Account =====
-Create the Joomla ​database and your Joomla ​user/​password:​+Create the MediaWiki ​database and your MediaWiki ​user/​password:​
 <​code>​ mysql -u root -p$yourmysqlpassword <​code>​ mysql -u root -p$yourmysqlpassword
  ​create database mediawiki; grant all privileges on mediawiki.* to mediawiki@localhost identified by '​mediawiki';​ exit;</​code> ​  ​create database mediawiki; grant all privileges on mediawiki.* to mediawiki@localhost identified by '​mediawiki';​ exit;</​code> ​
Line 35: Line 35:
 ===== Set Index File ===== ===== Set Index File =====
  
-An index file needs to be set in Litespeed web admin console. Navigate to **Virtual Hosts > Select Virtual Host from List >  General > Index Files**, click **Edit** on top right corner, ​now inside **Index Files** box enter **index.html,​index.php**.+An index file needs to be set in LiteSpeed Web Admin console. Navigate to **Virtual Hosts > Select Virtual Host from List >  General > Index Files**, click **Edit** on top right corner, ​and enter **index.html,​index.php** ​in the **Index Files** box.
  
 {{ :​litespeed_wiki:​installation:​selection_010.png?​600 |}} {{ :​litespeed_wiki:​installation:​selection_010.png?​600 |}}
Line 41: Line 41:
 ===== Download and Extract MediaWiki ===== ===== Download and Extract MediaWiki =====
  
-To illustrate setting up Joomla ​on a vhost we'll use the default virtual host, “Example”. You can download ​Joomla ​from their official [[https://​www.mediawiki.org/​wiki/​Download|download page]]. ​+To illustrate setting up MediaWiki ​on a vhost we'll use the default virtual host, “Example”. You can download ​MediaWiki ​from their official [[https://​www.mediawiki.org/​wiki/​Download|download page]]. ​
  
 Please note that document root of '​Example'​ virtual host is **/​usr/​local/​lsws/​Example/​http/​** Please note that document root of '​Example'​ virtual host is **/​usr/​local/​lsws/​Example/​http/​**
Line 54: Line 54:
 ===== MediaWiki Installation ===== ===== MediaWiki Installation =====
  
-Open browser with URL http://​server_IP:​8088/​mw-config/​index.php+Open browser with URL ''<​nowiki>​http://​server_IP:​8088/​mw-config/​index.php</​nowiki>''​
  
-This will start MediaWiki web installer and it will look something like this:+This will start the MediaWiki web installer and it will look something like this:
  
 {{ :​litespeed_wiki:​installation:​mediawiki-first.png?​600 |}} {{ :​litespeed_wiki:​installation:​mediawiki-first.png?​600 |}}
  
-Select your preferred language and click '​Continue'​.+==== Language Selection ====
  
-** Database Configuration ​**+Select your preferred language and click **Continue**.
  
-{{ :​litespeed_wiki:​installation:​joomla-db.png?​600 |}}+==== Environmental checks ====
  
-We've already created database above, just enter details and click '​Next'​.+{{ :​litespeed_wiki:​installation:​mediawiki-requirments-checks.png?600 |}}
  
-** Overview **+This window will make sure that server-side requirments are met. If it says ''​The environment has been checked. You can install MediaWiki'',​ you are good to go.
  
-This is the last step before Joomla installer starts the installation process, usually on this window you don't need to do anything. Installer will check that if all server side requirements are met and if you have correctly followed the guide then it should not give you any errors and you are free to click '​Install'​.+==== Connect ​to database ====
  
-** Remove Installation Folder **+{{ :​litespeed_wiki:​installation:​mediawiki-mysql-connection.png?​600 |}}
  
-Once the installation is successful you can remove ​the installation folder.+We've already created ​the database above. Just enter the database details so that MediaWiki ​can communicate with the database.
  
-{{ :litespeed_wiki:​installation:​joomla-remove-installation-folder.png?​600 |}}+Database settings:
  
-You can not use Joomla installation until installation folder is removed, you can also remove ​installation ​folder from the command line using:+{{ :​litespeed_wiki:​installation:​mediawiki-database-settings.png?​600 |}}
  
-''​rm -rf installation''​+  * **Storage engine**: ​''​InnoDB''​ 
 +  * **Database character set**: ''​UTF-8''​
  
 +==== Setup Administrator Account ====
  
-Now if you go to http://server_IP:8088/, you will see Joomla home page, and administration area can be found at http://​server_IP:​8088/​administrator+{{ :litespeed_wiki:installation:​mediawiki-account.png?​600 |}} 
 + 
 +Example configuration:​ 
 + 
 +  * **Name of wiki**: ''​Litespeedtech''​ 
 +  * **Your username**: ''​litespeedtech''​ 
 +  * **Password**:​ ''​litespeed''​ 
 +  * **Email address**: ''​example@example.com''​ 
 + 
 +==== Options ==== 
 + 
 +On the options ​page, keep all of the default settings ​and click **Continue**. 
 + 
 +==== Install ==== 
 + 
 +{{ :​litespeed_wiki:​installation:​mediawiki-install.png?​600 |}} 
 + 
 +Click **Continue** to start the installation. After installation is complete a file named ''​LocalSettings.php''​ will be automatically downloaded. You can upload this file at ''/​usr/​local/​lsws/​Example/​http/''​. 
 + 
 +After copying this file, installation is successfully completed. You can now browse MediaWiki at: ''<​nowiki>​http://​server_IP:​8088/​</​nowiki>''​
  
  • Admin
  • Last modified: 2017/09/07 11:44
  • by Usman Nasir