Updating the MediaWiki software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
As root, download the latest version of the MediaWiki software from | As root, download the latest version of the MediaWiki software from https://www.mediawiki.org into <code>/root/downloads</code> (possibly by using <code>wget</code>). Then: | ||
# '''cd /usr/local''' | # '''cd /usr/local''' |
Latest revision as of 16:36, 7 July 2022
As root, download the latest version of the MediaWiki software from https://www.mediawiki.org into /root/downloads
(possibly by using wget
). Then:
# cd /usr/local # tar zxf /root/downloads/mediawiki-<version>.tar.gz # cd mediawiki-<version> # rsync -va ../mediawiki/LocalSettings.php . # systemctl stop apache2 # cd .. # rm mediawiki # ln -s mediawiki-<version> mediawiki # cd mediawiki/maintenance # php update.php # systemctl start apache2