Download Article
Download Article
- Local Server |
- Hosted Server |
- Q&A |
- Tips |
- Warnings
Ever wanted to start your own wiki? This page guides you through the process of installing the latest stable version of MediaWiki software, the powerful, widely used wiki platform that powers Wikipedia, wikiHow, and many other wiki projects.
Steps
-
Advertisement
-
Uncompress the files into the root directory of your website ( not in a subdirectory).
-
Rename the unzipped directory to the name you want to appear in the URL (for example, name it "wiki" if you want the URL http://example.com/wiki/).
-
CHMOD the permission settings for the "config" subdirectory to 770, so that it is writable by the web server (Linux only).
-
Go to the the directory in your web browser (e.g. http://localhost/wiki/).
-
Click the link to begin configuring.
-
Complete the installation.
-
Move the LocalSettings.php from the config directory to the wiki's root directory (e.g. wiki).
Advertisement
-
If you know the root password for your MySQL server, the MediaWiki setup script can automatically create a database and an account to access it. Skip to the "Run the installation script" section below.
-
If you don't know the root password for your MySQL server, you need to create a MySQL database and a user before installing MediaWiki. You can do this using various control panels such as PhpMyAdmin . See the corresponding documentation. Most web hosting services provide a MySQL database along with your hosting account. If that is the case, use the MySQL credentials provided by your host along with the database name, and then specify something like mw_ as table prefix. This will allow MediaWiki to tell what tables belong to it. Alternatively, ask your hosting service to create an account for, then proceed as above.
Advertisement
Community Q&A
Search
-
QuestionLocalhost doesn't work for me, what should I do?RupertTop AnswererTry using your localhost IP address instead, 127.0.0.1. If that doesn't work, make sure the password is the same as the password you set in your phpMyAdmin database.
-
QuestionHow can I install VisualEditor on my wiki?RupertTop AnswererMediaWiki comes preinstalled with VisualEditor. Just add 'wfLoadExtension( 'VisualEditor' );' to your LocalSettings.php to enable it. Go to MediaWiki's VisualEditor page for detailed instructions.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
- Don't want to spend the time configuring MediaWiki? There are many sites that are willing to host your wiki, subject to their terms of use.Thanks
- Customise your wiki to your liking with skins. Read Change Your MediaWiki Skin for help using pre-existing skins, or read Create a MediaWiki Skin from Scratch to make your own.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
Warnings
- Trying to install some software may be in violation of your host's terms of service. Read your agreement with the hosting service, and ask your system administrator for permission before you install software on the server.Thanks
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 112,599 times.
Advertisement