X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=INSTALL;h=1f226fe0b449a0ec9be0e896a8598287584d98e4;hb=9a4d62c4f52d322f77e6eed55a3034d1091b9f9e;hp=7240e4170cff9f46d5def274204a40679fb924cd;hpb=a41764dc3f8048017c15de5a3b6e206017db3b05;p=lhc%2Fweb%2Fwiklou.git diff --git a/INSTALL b/INSTALL index 7240e4170c..1f226fe0b4 100644 --- a/INSTALL +++ b/INSTALL @@ -2,105 +2,83 @@ Installing MediaWiki --- -Starting with MediaWiki 1.2.0, it's possible to install -and configure the wiki "in-place", as long as you have -the necessary prerequesites available. +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. Required software: -* Web server with PHP 5.x or higher. -* A MySQL server, 4.0.14 or higher. +* Web server with PHP 5.2.3 or higher. +* A SQL server, the following types are supported +** MySQL 4.0.14 or higher +** PostgreSQL 8.3 or higher +** SQLite -MediaWiki is developed and tested mainly on Unix/Linux -platforms, but should work on Windows as well. +MediaWiki is developed and tested mainly on Unix/Linux platforms, but should +work on Windows as well. -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. +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. If you want math support see the instructions in math/README Don't forget to check the RELEASE-NOTES file... -Additional documentation is available online, which may include more -detailed notes on particular operating systems and workarounds for -difficult hosting environments: +Additional documentation is available online, which may include more detailed +notes on particular operating systems and workarounds for difficult hosting +environments: -http://meta.wikimedia.org/wiki/Help:Installation +http://www.mediawiki.org/wiki/Manual:Installation_guide -********************** WARNING ************************** +******************* WARNING ******************* -REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE ATTEMPTING -TO INSTALL OR UPGRADE!!! +REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE +ATTEMPTING TO INSTALL OR UPGRADE!!! -********************** WARNING ************************** +******************* WARNING ******************* ---- In-place web install ---- -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 +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 something nice, like "wiki", since it'll be in your URL. - +-----------------------------------------------------------+ - | 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://meta.wikimedia.org/wiki/Rewrite_rules | - +-----------------------------------------------------------+ - -To run the install script, you'll need to temporarily make -the 'config' subdirectory writable by the web server. The -simplest way to do this on a Unix/Linux system is to make -it world-writable: - - chmod a+w config - -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. + +--------------------------------------------------------------------------+ + | 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 | + +--------------------------------------------------------------------------+ + +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. Gaaah! :) -If all goes well, you should soon be told that it's set up -your wiki database and written a configuration file. There -should now be a 'LocalSettings.php' in the config directory; -move it back up to the main wiki directory, and the wiki -should now be working. - - +------------------------------------------------------------+ - | Security hint: if you have limited access on your server | - | and cannot change ownership of files, you might want to | - | *copy* instead of *move* LocalSettings.php. | - | | - | This will make the file owned by your user account | - | instead of by the web server, which is safer in case | - | another user's account is compromised. | - +------------------------------------------------------------+ - -Once the wiki is set up, you should remove the config -directory, or at least make it not world-writable (though -it will refuse to config again if the wiki is set up). +If all goes well, you should soon be told that it's set up your wiki database +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. +Once the wiki is set up, you should remove the mw-config directory (though it will +refuse to config again if the wiki is set up). ---- -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. - -http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic) +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. -http://mail.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support) +http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic) -http://mail.wikimedia.org/mailman/listinfo/wikitech-l (development) +http://lists.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support) +http://lists.wikimedia.org/mailman/listinfo/wikitech-l (development)