Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:installation:mediawiki_installation [2017/09/07 11:40] Usman Nasir created |
litespeed_wiki:installation:mediawiki_installation [2017/09/07 14:41] (current) Lisa Clarke [MediaWiki Installation] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Joomla Installation ====== | + | ====== MediaWiki Installation ====== |
- | This guide will explain how to get up and running with Joomla on LiteSpeed Web Server. | + | This guide will explain how to get up and running with MediaWiki on LiteSpeed Web Server. |
===== Install PHP modules ===== | ===== Install PHP modules ===== | ||
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 27: | Line 27: | ||
<code>/usr/bin/mysql_secure_installation</code> | <code>/usr/bin/mysql_secure_installation</code> | ||
Enter ''$yourpassword'' | Enter ''$yourpassword'' | ||
- | =====Create Joomla 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 joomla; grant all privileges on joomla.* to joomla@localhost identified by 'joomla'; exit;</code> | + | create database mediawiki; grant all privileges on mediawiki.* to mediawiki@localhost identified by 'mediawiki'; exit;</code> |
- | Note: For security purposes, you should use a Joomla username and password that are different than our example. | + | Note: For security purposes, you should use a MediaWiki username and password that are different than our example. |
===== 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 |}} | ||
- | ===== Download and Extract Joomla ===== | + | ===== 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://downloads.joomla.org/|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 47: | Line 47: | ||
<code> | <code> | ||
- | unzip Joomla_x.x.x-Stable-Full_Package.zip | + | tar zxf mediawiki-x.xx.x.tar.gz |
+ | mv mediawiki-x.xx.x/* . | ||
</code> | </code> | ||
- | ===== Joomla Installation ===== | + | ===== MediaWiki Installation ===== |
- | Open browser with URL http://server_IP:8088/ | + | Open browser with URL ''<nowiki>http://server_IP:8088/mw-config/index.php</nowiki>'' |
- | This will start Joomla 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:joomla-1.png?600 |}} | + | {{ :litespeed_wiki:installation:mediawiki-first.png?600 |}} |
- | On this page installer asks some general questions about the site, you can fill in as required, an example configuration is given below: | + | ==== Language Selection ==== |
- | * **Site Name:** Litespeedtech | + | Select your preferred language and click **Continue**. |
- | * **Description:** Installation Demo | + | |
- | * **Email:** example@example.com | + | |
- | * **Username:** litespeedtech | + | |
- | * **Password:** litespeedtech | + | |
- | Once done, click 'Next'. | + | ==== Environmental checks ==== |
- | ** Database Configuration ** | + | {{ :litespeed_wiki:installation:mediawiki-requirments-checks.png?600 |}} |
- | {{ :litespeed_wiki:installation:joomla-db.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. |
- | We've already created database above, just enter details and click 'Next'. | + | ==== Connect to database ==== |
- | ** Overview ** | + | {{ :litespeed_wiki:installation:mediawiki-mysql-connection.png?600 |}} |
- | 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'. | + | We've already created the database above. Just enter the database details so that MediaWiki can communicate with the database. |
- | ** Remove Installation Folder ** | + | Database settings: |
- | Once the installation is successful you can remove the installation folder. | + | {{ :litespeed_wiki:installation:mediawiki-database-settings.png?600 |}} |
- | {{ :litespeed_wiki:installation:joomla-remove-installation-folder.png?600 |}} | + | * **Storage engine**: ''InnoDB'' |
+ | * **Database character set**: ''UTF-8'' | ||
- | You can not use Joomla installation until installation folder is removed, you can also remove installation folder from the command line using: | + | ==== Setup Administrator Account ==== |
- | ''rm -rf installation'' | + | {{ :litespeed_wiki:installation:mediawiki-account.png?600 |}} |
+ | Example configuration: | ||
- | 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 | + | * **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>'' | ||