Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:installation:mediawiki_installation [2017/09/07 12:06] Usman Nasir [MediaWiki Installation] |
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 ==== |
- | ** Environmental checks ** | + | Select your preferred language and click **Continue**. |
+ | |||
+ | ==== Environmental checks ==== | ||
{{ :litespeed_wiki:installation:mediawiki-requirments-checks.png?600 |}} | {{ :litespeed_wiki:installation:mediawiki-requirments-checks.png?600 |}} | ||
- | 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 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. |
- | ** Connect to database ** | + | ==== Connect to database ==== |
{{ :litespeed_wiki:installation:mediawiki-mysql-connection.png?600 |}} | {{ :litespeed_wiki:installation:mediawiki-mysql-connection.png?600 |}} | ||
- | We've already created database above, just enter database details so that MediaWiki can communicate with the database. | + | We've already created the database above. Just enter the database details so that MediaWiki can communicate with the database. |
Database settings: | Database settings: | ||
Line 79: | Line 80: | ||
{{ :litespeed_wiki:installation:mediawiki-database-settings.png?600 |}} | {{ :litespeed_wiki:installation:mediawiki-database-settings.png?600 |}} | ||
- | * Storage engine: InnoDB | + | * **Storage engine**: ''InnoDB'' |
- | * Database character set: UTF-8 | + | * **Database character set**: ''UTF-8'' |
- | ** Setup Administrator Account ** | + | ==== Setup Administrator Account ==== |
{{ :litespeed_wiki:installation:mediawiki-account.png?600 |}} | {{ :litespeed_wiki:installation:mediawiki-account.png?600 |}} | ||
Line 88: | Line 89: | ||
Example configuration: | Example configuration: | ||
- | * Name of wiki: Litespeedtech | + | * **Name of wiki**: ''Litespeedtech'' |
- | * Your username: litespeedtech | + | * **Your username**: ''litespeedtech'' |
- | * Password: litespeed | + | * **Password**: ''litespeed'' |
- | * Email address: example@example.com | + | * **Email address**: ''example@example.com'' |
- | ** Options ** | + | ==== Options ==== |
- | On the options page, keep everything default and click 'Continue'. | + | On the options page, keep all of the default settings and click **Continue**. |
- | ** Install ** | + | ==== Install ==== |
{{ :litespeed_wiki:installation:mediawiki-install.png?600 |}} | {{ :litespeed_wiki:installation:mediawiki-install.png?600 |}} | ||
- | Just click 'Continue', it will start the installation. After installation is completed a file named 'LocalSettings.php' will be automatically downloaded, you can upload this file at ''/usr/local/lsws/Example/http/'' | + | 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: http://server_IP:8088/ | + | After copying this file, installation is successfully completed. You can now browse MediaWiki at: ''<nowiki>http://server_IP:8088/</nowiki>'' |