Difference between revisions of "Building Wiki Servers"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 19: Line 19:


==  or at an independent URL ==
==  or at an independent URL ==
* <code>sudo mkdir /var/www/wiki</code>
* <code>sudo tar --directory=/var/www/wiki -xvzf mediawiki-'''1.37.1'''.tar.gz</code>


<span style="color: rgb(255, 0, 0);">'''Now Do A Backup!'''</span>
<span style="color: rgb(255, 0, 0);">'''Now Do A Backup!'''</span>

Revision as of 16:59, 13 January 2022

Start with a WebServer

Now Do A Backup!

Download MediaWiki

  • Check the download page for latest version. (ATM, the current version turns out to be 1.37.1)
    • Adjust the following commands appropriately (i.e.: replace 1.37.1 with the current version number) if needed.
  • wget https://releases.wikimedia.org/mediawiki/1.37/mediawiki-1.37.1.tar.gz
  • Extract it
  • tar -xvzf mediawiki-1.37.1.tar.gz

Install MediaWiki

There are a couple of different ways to set up the root of your wiki.

You can either set it up to be reached

as part of your regular web site

or at an independent URL

  • sudo mkdir /var/www/wiki
  • sudo tar --directory=/var/www/wiki -xvzf mediawiki-1.37.1.tar.gz

Now Do A Backup!

Just some notes.