2004-04-23 06:23:26 +00:00
|
|
|
---
|
|
|
|
|
Installing MediaWiki
|
|
|
|
|
---
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki
|
|
|
|
|
"in-place", as long as you have the necessary prerequisites available.
|
2004-04-23 06:23:26 +00:00
|
|
|
|
|
|
|
|
Required software:
|
2010-07-08 18:46:10 +00:00
|
|
|
* Web server with PHP 5.1.x or higher.
|
|
|
|
|
* A SQL server, the following types are supported
|
|
|
|
|
** MySQL 4.0.14 or higher
|
|
|
|
|
** PostgreSQL 8.1 or higher
|
|
|
|
|
** SQLite
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
MediaWiki is developed and tested mainly on Unix/Linux platforms, but should
|
|
|
|
|
work on Windows as well.
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
If your PHP is configured as a CGI plug-in rather than an Apache module you may
|
|
|
|
|
experience problems, as this configuration is not well tested. safe_mode is also
|
|
|
|
|
not tested and unlikely to work.
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2005-04-13 20:30:54 +00:00
|
|
|
If you want math support see the instructions in math/README
|
|
|
|
|
|
2004-04-23 06:23:26 +00:00
|
|
|
Don't forget to check the RELEASE-NOTES file...
|
|
|
|
|
|
2006-04-05 07:33:17 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
Additional documentation is available online, which may include more detailed
|
|
|
|
|
notes on particular operating systems and workarounds for difficult hosting
|
|
|
|
|
environments:
|
2006-04-05 07:33:17 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
http://www.mediawiki.org/wiki/Manual:Installation_guide
|
2006-04-05 07:33:17 +00:00
|
|
|
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
******************* WARNING *******************
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE
|
|
|
|
|
ATTEMPTING TO INSTALL OR UPGRADE!!!
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
******************* WARNING *******************
|
2004-09-18 06:30:56 +00:00
|
|
|
|
2004-04-23 06:23:26 +00:00
|
|
|
----
|
|
|
|
|
In-place web install
|
|
|
|
|
----
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
Decompress the MediaWiki installation archive either on your server, or on your
|
|
|
|
|
local machine and upload the directory tree. Rename it from "mediawiki-1.x.x" to
|
2004-04-23 06:23:26 +00:00
|
|
|
something nice, like "wiki", since it'll be in your URL.
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
+--------------------------------------------------------------------------+
|
|
|
|
|
| Hint: If you plan to use a fancy URL-rewriting scheme to prettify your |
|
|
|
|
|
| URLs, you should put the files in a *different* directory from the |
|
|
|
|
|
| virtual path where page names will appear. |
|
|
|
|
|
| |
|
|
|
|
|
| See: http://www.mediawiki.org/wiki/Manual:Short_URL |
|
|
|
|
|
+--------------------------------------------------------------------------+
|
2006-04-05 07:33:17 +00:00
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
Hop into your browser and surf into the wiki directory. It'll direct you into
|
|
|
|
|
the config script. Fill out the form... remember you're probably not on an
|
|
|
|
|
encrypted connection.
|
2004-04-23 06:23:26 +00:00
|
|
|
Gaaah! :)
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
If all goes well, you should soon be told that it's set up your wiki database
|
2010-10-06 14:02:23 +00:00
|
|
|
and generated a configuration file. There is now a copy of "LocalSettings.php"
|
|
|
|
|
available to download from the installer. Download this now, there is not a
|
|
|
|
|
way (yet) to get it after you exit the installer. Place it in the main wiki
|
|
|
|
|
directory, and the wiki should now be working.
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2011-02-26 12:35:23 +00:00
|
|
|
Once the wiki is set up, you should remove the mw-config directory (though it will
|
2010-10-06 14:02:23 +00:00
|
|
|
refuse to config again if the wiki is set up).
|
2004-04-23 06:23:26 +00:00
|
|
|
|
2003-04-14 23:10:40 +00:00
|
|
|
----
|
|
|
|
|
|
2008-04-18 14:20:38 +00:00
|
|
|
Don't forget that this is free software under development! Chances are good
|
|
|
|
|
there's a crucial step that hasn't made it into the documentation. You should
|
|
|
|
|
probably sign up for the MediaWiki developers' mailing list; you can ask for
|
|
|
|
|
help (please provide enough information to work with, and preferably be aware of
|
|
|
|
|
what you're doing!) and keep track of major changes to the software, including
|
|
|
|
|
performance improvements and security patches.
|
2003-04-14 23:10:40 +00:00
|
|
|
|
2007-01-09 02:54:59 +00:00
|
|
|
http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic)
|
2006-04-05 07:33:17 +00:00
|
|
|
|
2007-01-09 02:54:59 +00:00
|
|
|
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support)
|
2004-05-21 19:04:52 +00:00
|
|
|
|
2007-01-09 02:54:59 +00:00
|
|
|
http://lists.wikimedia.org/mailman/listinfo/wikitech-l (development)
|