How to Install a Wiki on your Website

175px mediawiki logo   How to Install a Wiki on your Website While writing my own blog actually I found that a Wiki was the best way to convey some information. If you too own a blog you may want to write some more detailed guides, build knowledgebases and so on. I can think of at least a dozen of reasons why you may need one.

Show off your product in an in-depth, much more technical way, allow others to contribute to this with their own experiences, you could also use it as a personal blog form, a way to manage your information, a way to collaborate with others, the uses are endless. The reason that a Wiki is so powerful is that it is not constrained to one of these uses, you can use it for all at once.

My Wiki of choice is MediaWiki, for two distinct reasons.

  • The first is that it is the framework that was (is) developed for Wikipedia. It sets the standard, and is indeed best suited for general use.
  • The other reason is that I am not an expert in the field and I felt the safest with MediaWiki.

To find out if your webhost offers one, go to your hosting account and log-in to your Cpanel. You may find that there are a few installations already prepared for you, all you need is to click on install. I use Bluehost and it has two Wiki’s ready for installation (via the Fantastico module), but neither are MediaWiki. So we will have to work manually.

Download and Extract

First of all, head on over to the MedaWiki download page and download the latest version.

upload   How to Install a Wiki on your Website

Windows users, don’t worry, it’s a tar.gz file but you won’t have to extract it on your PC. When finished, go to your file manager on your webserver and upload the file (or use FTP).

The easiest way to extract I think is to find the extract option, and let it extract to the location it’s in. It will then be put under the directory ‘mediawiki-1.11.0‘ (or the current version) and all you need to do is rename the directory, say to ‘wiki‘. At this stage, you should have your Mediawiki files at ‘www.yourdomain.com/wiki/‘ location.

Installation

The next step requires you to point your browser to the ‘config’ directory. This would be ‘www.yourdomain.com/wiki/config‘. Next, just follow the instructions on screen, everything should be pretty obvious, down until databases. Apart from the database name and user name and password I would leave everything as is.

database   How to Install a Wiki on your Website Wiki can not (or at least won’t in my case) create the databases for you, so you may need to do this yourself. Go to your webhost and create a new database and a user for it. Make sure to set this newly created user as the admin or at least give it read/write rights. Once that’s done, enter the new database and user into the above form, and click on install. After a short while, you should see “Installation Successful” in cheerful, big, green letters.

Finally, go to the file manager again and navigate to the ‘config‘ directory (www.yourdomain.com/wiki/config) and move ‘LocalSetings.php’ file to the main directory of the Wiki (www.yourdomain.com/wiki/).

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

6 Comments -

0 votes

Markus

Thank you, this is a very helpful article.

0 votes

Aibek

Thanks Daniel,

I am setting up one for MUO rght at the very moment :-)

0 votes

Joe

Brilliant instructions!! Thanks

0 votes

Liz

Thank you for this. For the most part it’s identical to the mediawiki installation guide ..but for a few simple phrases. It’s amazing what a difference a few simple phrases makes. Much easier. Once again, TY.

0 votes

Lenin

Oops! This link appears to be broken. wiki.hackyourday.com

0 votes

Lenin

I have written an excellent article about creating a wikipedia like website using mediawiki and details about hosting and FTP. Check out in my blog –

http://emaillenin.blogspot.com/2009/08/creating-wikipedia-like-website-for.html