Now we’ll be taken to a “Database settings” screen: You can see within the screenshot what we configured for our environment as an example. We’ll need to configure these fields to match the values that we configured earlier when setting up the database. Let’s move on to the next page, “Connect to the database”: You can resolve most, if not all, of the issues listed in the “Environmental Checks” section but we won’t go over that in this tutorial. We’ll be setting up the Wiki to use English so we can just press “Continue”. This error screen is actually not a problem! We’re going to go through a few pages to set the instance up how we want.Ĭlick on the link to “set up the wiki” and it should take you to a page that looks like this: If you go to your MediaWiki instance URL, you should get a page that looks like this: Now you should be able to reach the URL of your MediaWiki instance to set it up.Īfter configuring all of the prerequisite services and files in the previous steps, we are finally able to set up the MediaWiki software. Update-alternatives -set php /usr/bin/php7.4 Now we need to enable the configuration file we just created: ServerAlias DocumentRoot /var/www/mediawikiĮrrorLog /var/log/apache2/mediawiki-error_logĬustomLog /var/log/apache2/mediawiki-access_log combined Now we’ll edit the Apache2 site configuration for MediaWiki: We need to add index.php to the beginning of the DirectoryIndex list like this so that PHP files are looked at before the HTML files:ĭirectoryIndex index.php index.html index.cgi index.xhtml index.ht As long as they're set to a value that is greater than or equal to the one below, it should be fine. Feel free to make any of these values higher than what we're setting them to. We're going to edit a few lines in the PHP configuration file so that the MediaWiki software can run properly. Now that we've installed everything through the apt command, we'll need to configure a few of the packages we installed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |