Mysql -silent -local -password=password -user=bitnami bitnami_mediawiki < file. Scroll down the window and configure your Wiki name and all the required fields. Restore the database from your text back Begin the graphical MediaWiki installation procedure by pointing your browser at You see the following screen.Put the MySQL password in LocalSettings.php, and sort out permissions, ownership, etc.Copy images, math, extensions, skins/common/images/your_logo.png, favicon.ico, and LocalSettings.php from your old installation.Export/Import the LUA modules used by the (meta)templates you want to use and import them in your MediaWiki. It will install with a new MySQL password and put this in LocalSettings.php Install the Scribunto extension and properly configure it. Follow the instructions and put it in the default location.I think the best idea is to cause an outage, because otherwise the new install will use new ports for Apache and MySQL and, well, I got stuck when I did that.if a new version of PHP is required, as for the MediaWiki 1.20 upgrade). Sometimes it will prove necessary to upgrade the entire stack - LAMP and MediaWiki (e.g. After this (not sure why then), copy the images directory across.This updates the database with new tables etc. This help page explains how to install extension 'Semantic MediaWiki' Allows to store and query data annotated to pages. Note: If you already have a wiki directory in your publichtml directory, rename or delete it before installing MediaWiki. Introduction Prerequisites Update The System Install LAMP Server Configure Database for Mediawiki Install Mediawiki Configure Apache for Mediawiki Access. The script has to be able to read LocalSettings and complains if it can't.Make LocalSettings.php temporarily readable, then run maintenance/update.php in the new install.Put the old database in read-only mode with $wgReadOnly (is already in the LocalSettings.php file, commented out).Check to see if there are new things to go in LocalSettings.php, based on the README.Then copy LocalSettings.php, plus the images, skins, and extensions directories across from the old to the new.Next, grab the new installation and unpack it alongside the existing one.Grab a backup of LocalSettings.php, plus the images, skins, and extensions directories.Compress and download these files for safe keeping.Back up the database with mysqldump -u user -password=password database_name > file.txt and mysqldump -u user -password=password -xml database_name > file.xml.Get the DB user and password, and the DB name, from LocalSettings.php.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |