MediaWiki is a free and open-source application that allows anyone to create a wiki website of their own on a self-hosted server. So we move it to the folder where we have installed the Wiki, and finally we will be ready to use MediaWiki.In this tutorial, we will show you how to install MediaWiki on Ubuntu 18.04 server. Nano /var/www/html/mediawiki/LocalSettings.php Touch /var/www/html/mediawiki/LocalSettings.php After confirming it, we will be notified that the MediaWiki installation will begin, which we accept by clicking on 'Continue', and after downloading the LocalSettings.php file automatically we must execute: ![]() Then we have to select the license under which the content will be shared, and here we have options like Creative Commons, GNU Free Documentation License 1.3 or later, and some more. Click there, and now we go to MySQL configuration, where we have to specify the host of the database (localhost) and the name of the database, as well as the username and password, which will be those that we have established in the previous steps, those that we execute from the terminal. Here comes a check that the installation process performs to verify the libraries that are installed, as well as the main components (WinCache, XCache, PHP, MySQL, etc.) and if everything is OK -which it should, if we have installed LAMP or we are working on an Ubuntu Server - we have the 'Continue' button again. Here we have to specify the installation language, which we get from a drop-down menu, and then click on 'Continue'. Now comes the time install MediaWiki from your web panel, for which we enter '192.168.1.100/mediawiki' (without quotes, of course) in the address bar of the web browser, and when the logo is shown along with the version number, what we have to do is click on 'setup the wiki', after which the first options open up before us. Let us bear in mind that the password we have used here, that is to say 'passwordmediawiki' is absolutely insecure and its sole purpose is to serve to more simply identify where it should be used, but we recommend using one whose strength is beyond dispute. GRANT index, create, select, insert, update, delete, alter, lock tables on mediawikibd. Now, as always in these cases where we install additional services, we have to create the database for MediaWiki:ĬREATE USER mediawikiuser localhost IDENTIFIED BY 'mediawikipassword' ![]() ![]() Mv mediawiki-1.23.6 / * / var / www / html / mediawiki Then we extract the file from the tarball:Īnd we move it to the root folder of the Apache installation: Since then, to use MediaWiki you need a LAMP server, something of which we have already spoken a lot here in Ubunlog and the truth is that the possibilities are several, both when installing it ourselves and added to the standard version of Ubuntu and to take advantage of the ease that it gives us to install Ubuntu Server and thus have everything necessary to mount a server, which by the way must have a static IP address configured, which in our case will be 192.168.1.100, as well as a host name that for this tutorial we will leave as. Let's see then, how to install MediaWiki on Ubuntu to be able to make use of its functionality in a local network, whatever its size, since one of its great benefits is its great scalability. MediaWiki is a service that allows you to turn a web server into a wikis server, available under the GPL (General Public License) and based on PHP / MySQL for content storage, while offering its own text format, called wikitext and it offers several cool features. Although today we find content on all kinds of websites of the most varied, from YouTube to SoundCloud, Wikipedia and several more, and we can also use tools such as Google Drive or OneDrive, the truth is that companies sometimes need to implement part of that operation in their network, in part to not depend on the operation of those, and of course in part to improve the security of their projects by not being so exposed.
0 Comments
Leave a Reply. |