Administrating the CITCONF.COM website

From CitconWiki
Revision as of 18:58, 16 May 2016 by PaulJulius (Talk | contribs) (Details on how to upgrade the wiki)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To upgrade the wiki

Commands, after sshing into the account:

> mkdir wiki-may-16-2016
> cp -R citconf.com/wiki/* wiki-may-16-2016/
> wget https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz
> mkdir citconf.com/wiki.new && cd $_
> wget https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz | tar -xvz --strip 1
> cp ../wiki/LocalSettings.php .
> cp -R ../wiki/images/* images/
> curl https://extdist.wmflabs.org/dist/extensions/googleAnalytics-REL1_26-d832801.tar.gz | tar -xvz -C extensions
> curl https://extdist.wmflabs.org/dist/extensions/ConfirmAccount-REL1_26-d6e2f46.tar.gz | tar -xvz -C extensions
> cp -R ../wiki/extensions/recaptcha ./extensions

Then browse to http://citconf.com/wiki.new and look for problems

If all is well:

> cd ..
> mv wiki wiki.old.may.16.2016
> mv wiki.new wiki