Wiki hints

From Klaus' wiki
Revision as of 10:39, 26 January 2016 by Klaus (Talk | contribs)

Jump to: navigation, search

After adding administrator rights to the logged in user (using Wikisysop login) use <wikiURL>/index.php/MediaWiki:Sidebar to get to edit the left menu.

Use ?action=puge to refresh a graph

Moving a wiki

Install MediaWiki, MariaDb and other stuff and configure as described over here.

It is a long term stable version of MediaWiki that is installed. It will be kept updated with security patches but no new functionality.

Install ImageMagick.

Create the necessary databases for your wiki and grant usage to the username that you want to use from the wiki.

Create a directory in /var/www/html for the wiki, e.g eudp.dk.

Over at this place are some hints to get it up running if you want to run several wiki's on one installation of the MediaWiki (which should keep maintenance down when upgrading to a new MediaWiki).

Create a symbolic link MediaWiki to the MediaWiki<version> directory in /var/www - it makes it easier to upgrade later by simple moving the symbolic link.

Then create a symbolic link to the MediaWiki files in the newly created directory - here eudp.dk.

[../eudp.dk] $] ln -s /var/www/mediawiki/* .

Provided that you have the DNS set correct you can now start your browser and point it to the web server address. HINT: you can modify your /etc/hosts locally on youe Linux desktop to point to the server using an IP address.

If you enter

IP.Address    eudp.dk.<server address>

in your /etc/hosts you can access the full address while moving the wiki content from one server to another and finally swing your DNS around, when everything is working as expected. Note: <server address> can be almost anything valid URL, but your local servername may be a good thing to use to keep confusion down.

If you're lucky you browser should now show you the initial configuration page for the wiki. Configure as required for your setup.