Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:installation:mediawiki_installation [2017/09/07 11:44] Usman Nasir |
litespeed_wiki:installation:mediawiki_installation [2017/09/07 14:35] Lisa Clarke [Download and Extract MediaWiki] |
||
---|---|---|---|
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 62: | Line 62: | ||
Select your preferred language and click 'Continue'. | Select your preferred language and click 'Continue'. | ||
- | ** Database Configuration ** | + | ** Environmental checks ** |
- | {{ :litespeed_wiki:installation:joomla-db.png?600 |}} | + | {{ :litespeed_wiki:installation:mediawiki-requirments-checks.png?600 |}} |
- | We've already created database above, just enter details and click 'Next'. | + | 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. |
- | ** Overview ** | + | ** Connect to database ** |
- | 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'. | + | {{ :litespeed_wiki:installation:mediawiki-mysql-connection.png?600 |}} |
- | ** Remove Installation Folder ** | + | We've already created database above, just enter database details so that MediaWiki can communicate with the database. |
- | Once the installation is successful you can remove the installation folder. | ||
- | {{ :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 everything default and click 'Continue'. | ||
+ | |||
+ | ** Install ** | ||
+ | |||
+ | {{ :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/'' | ||
+ | |||
+ | |||
+ | |||
+ | After copying this file, installation is successfully completed, you can now browse MediaWiki at: http://server_IP:8088/ | ||