User:Djgreen/MediaWiki: Engr Installation

From WolfTech
Jump to navigation Jump to search

Installing 1.6.7

  1. Unpack the files into the intended directory.
  2. Create a database called mediawiki_<nameofsite>, and a corresponding useraccount
    • User account needs create, select, insert, update, delete, lock tables on the DB.
  3. Autoinstaller isn't going to work, so don't even bother.
  4. Use tables.sql in the maintenance folder to create the initial database table structures.
    • Be sure to remove all references to /*$wgDBprefix*/ within the file before trying to run it.
  5. Create your AdminSettings.php from AdminSettings.sample
  6. Create your LocalSettings.php file

  1. Fill the tables -- run ./update.php from the maintenance folder. You'll need to use a cmdline PHP to do so (so basedir doesn't come into affect), so I suggest running from CHRONOS.
sudo /root/env_wrapper /opt/php5/bin/php -q ./update.php




Upgrading from 1.5.6 to 1.6.7

  1. BACKUP both the DB and the folder.