This tutorial covers installing MediaWiki wiki on a Gandi Simple Hosting Instance
MediaWiki requires a database, and you will be asked for your database login information during installation.
Please refer to this page on how to create a MySQLdatabase before proceeding.
The first step is to download the latest version from the the official site (we are using version 1.21.1 for this tutorial).
Once the download has finished, decompress the file.
Next, you will upload the contents of the directory (not the directory itself) to the target directory of your instance.
wiki.example.com
):
If you want your wiki to be accessed from wiki.example.com
, you need to create a virtual host (vhost) called wiki.example.com
.
Once connected via sFTP, you'll upload the DokuWiki files directly into the htdocs/
directory:
www.example.com/wiki
):
If you want your wiki to be accessed from www.example.com/wiki
, create a virtual host (vhost) called www.example.com
.
Once you're connected to your instance via sFTP, you will create a directory called wiki/
within htdocs/
, which is where you will upload the files.
Once your files have been uploaded go to your MediaWiki installation page. Do this by adding the following after the address where you put the files:
/index.php
For example, if you place your files in the /wiki directory of your vhost www.example.com
, the file will be found at http://www.example.com/wiki/index.php
.
You will then see the following:
Click on the link to set up the wiki.
You will then follow the online installation process, by filling out the information on the following pages, as they are presented to you in the following order:
The only page which may seem confusing is 'Connect to database'. Remember you must enter the values of the database that you created before starting (see above). Here are some tips:
Then click continue to proceed to the Database settings page (which you can leave as-is, and just click the button to continue).
This completes the installation process at Gandi. The rest is up to you to configure and manage your new MediaWiki.