
Once you have downloaded and installed 7-Zip, you'll need to go to where you downloaded the tar.gz file in Windows Explorer. I'll assume that you're using 7-Zip for the sake of this article. If you are running Windows, then you'll need to download a program such as 7-Zip to extract the tar.gz file. Save the file to somewhere you can work from on your computer, as you'll need to change some of the files before uploading them to your hosting account. You can get it from the MediaWiki download page and copy the 'Download MediaWiki' link for the the latest version.
Mediawiki link to file on server install#
Now that we are in the directory where we want to install MediaWiki, the next step is to download it. You can now also remove the 'mediawiki-x.xx.x' directory with the command rm -r mediawiki-x.xx.x.
Mediawiki link to file on server full#
It is part of the command, not a full stop). You can do this using the command mv mediawiki-x.xx.x/*. You need to move the files out of the 'mediawiki-x.xx.x' directory into the directory you are currently in. There is now no use for the 'mediawiki-x.xx.x.tar.gz' file, so you can remove it using the command rm mediawiki-x.xx.x.tar.gz. If you use the ls command, you should be able to see that a new directory called 'mediawiki-x.xx.x' has been created. Once the file has downloaded, use the command tar -xzvf mediawiki-x.xx.x.tar.gz, where x is the version number of MediaWiki that you downloaded, to extract the files from the tar.gz archive. Use the command wget to do download the file (it should only take a second). Otherwise, I'm afraid you'll have to do it manually. Hopefully, you'll be able to paste the link into your SSH client by right-clicking while in the terminal, or right-clicking and then selecting paste. You need to go to the MediaWiki download page and copy the 'Download MediaWiki' link for the the latest version. Following this, you need to double-click on the new directory you just created. You'd change this to 'wiki' if you wanted your MediaWiki site to be at the aforementioned example link. From here, replace the highlighted 'New directory' text with the name of the directory you want to create. If you want to install MediaWiki in a separate section of your site, For example, '/wiki', then you can do this by creating a directory called wiki, by right-clicking when in the root web directory, and selecting the 'Create directory' option. Double-click on the Double-click on that directory to change into the root web directory for your site. Once you are logged in to your hosting account with FTP, your current location will be your home directory. I'm going to assume that you are using the free FileZilla FTP client for this support article. For users with a non-shell hosting account:
