User:Inductiveload/Installing

Below are the rough steps to installing a MediaWiki installation compatible with Wikisource on a Linux system. This is not the canonical, official or even correct way to do it, you should consult proper documentation too. This is just an outline roadmap. If you don't have a Linux system, this should be similar, but there may be differences.

Requirements

 * Apache
 * PHP 5
 * php5-intl
 * php5-mysql
 * MySql
 * ImageMagick

Procedure
$wgImportSources = array(     'wikisource:en', ); $wgUploadSizeWarning = 2147483648; $wgMaxUploadSize = 2147483648;
 * Install all requirements
 * Set up your Apache host or virtual host, restart your Apache. Remember to set your hosts file with an alias to type into your browser.
 * Create a mysql database, set up the user and password and give yourself access to it. See here.
 * Download MediaWiki from Download
 * Extract the archive into the main directory of the server. Rename the folder to "wiki" (you can alter this if you wish - it will go in your URL)
 * Follow instructions to set the user names and so on.
 * The wiki should now be active, but contains nothing. You can use it now, create pages, etc. You will have 'crat and admin access.
 * Enable importing from Wikisource. Add the following to LocalSettings.php:
 * Increase the maximum filesize for uploads (I increased to 2G to avoid problems, chose a lower limit if you give wide access to your wiki). Add this to LocalSettings.php:
 * Add the following to your host or virtual host declaration (e.g. /etc/apache2/sites-available/yoursite)

php_value upload_max_filesize 2048M php_value post_max_size 2048M
 * You should now be able to import from en.wikisource with Special:Import.
 * You can also export from a wiki using Special:Export, and upload the XML file to your wiki with Special:Import.