INSTALL 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ---
  2. Installing MediaWiki
  3. ---
  4. Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki
  5. "in-place", as long as you have the necessary prerequisites available.
  6. Required software:
  7. * Web server with PHP 7.0.0 or HHVM 3.18.5 or higher.
  8. * A SQL server, the following types are supported
  9. ** MySQL 5.5.8 or higher
  10. ** PostgreSQL 9.2 or higher
  11. ** SQLite 3.3.7 or higher
  12. ** Oracle 9.0.1 or higher
  13. ** Microsoft SQL Server 2005 (9.00.1399)
  14. MediaWiki is developed and tested mainly on Unix/Linux platforms, but should
  15. work on Windows as well.
  16. Support for rendering mathematical formulas requires installing the Math extension,
  17. see https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Math
  18. Don't forget to check the RELEASE-NOTES file...
  19. Additional documentation is available online, which may include more detailed
  20. notes on particular operating systems and workarounds for difficult hosting
  21. environments:
  22. https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Installation_guide
  23. ******************* WARNING *******************
  24. REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE
  25. ATTEMPTING TO INSTALL OR UPGRADE!!!
  26. ******************* WARNING *******************
  27. ----
  28. In-place web install
  29. ----
  30. Decompress the MediaWiki installation archive either on your server, or on your
  31. local machine and upload the directory tree. Rename it from "mediawiki-1.x.x" to
  32. something nice, like "wiki", since it will be appearing in your URL,
  33. ie. /wiki/index.php/Article.
  34. +--------------------------------------------------------------------------+
  35. | Note: If you plan to use a fancy URL-rewriting scheme to prettify your |
  36. | URLs, such as http://www.example.com/wiki/Article, you should put the |
  37. | files in a *different* directory from the virtual path where page names |
  38. | will appear. It is common in this case to use w as the folder name and |
  39. | /wiki/ as the virtual article path where your articles pretend to be. |
  40. | |
  41. | See: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Short_URL |
  42. +--------------------------------------------------------------------------+
  43. Hop into your browser and surf into the wiki directory. It'll direct you into
  44. the config script. Fill out the form... remember you're probably not on an
  45. encrypted connection.
  46. Gaaah! :)
  47. If all goes well, you should soon be told that it's set up your wiki database
  48. and generated a configuration file. There is now a copy of "LocalSettings.php"
  49. available to download from the installer. Download this now, there is not a
  50. way (yet) to get it after you exit the installer. Place it in the main wiki
  51. directory, and the wiki should now be working.
  52. Once the wiki is set up, you should remove the mw-config directory (though it will
  53. refuse to config again if the wiki is set up).
  54. ----
  55. Don't forget that this is free software under development! Chances are good
  56. there's a crucial step that hasn't made it into the documentation. You should
  57. probably sign up for the MediaWiki developers' mailing list; you can ask for
  58. help (please provide enough information to work with, and preferably be aware of
  59. what you're doing!) and keep track of major changes to the software, including
  60. performance improvements and security patches.
  61. https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic)
  62. https://lists.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support)
  63. https://lists.wikimedia.org/mailman/listinfo/wikitech-l (development)