Revision as of 19:44, 11 June 2018 by Clive (talk | contribs) (Created page with "{{MARKDOWN}} ## From favog 1. On nukka ```bash sudo su - systemctl stop mysql systemctl stop jetty systemctl stop apache2 rm -rf /srv/www/htdocs/* rm-rf /var/lib/mysql/* ``` 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:MARKDOWN

    1. From favog

1. On nukka ```bash sudo su - systemctl stop mysql systemctl stop jetty systemctl stop apache2 rm -rf /srv/www/htdocs/* rm-rf /var/lib/mysql/* ``` 1. On favog

   1. edit `/etc/mediawiki_global.inc.php` - ensure `$wgReadOnly` is set
   2.

```bash systemctl stop mysql systemctl stop jetty systemctl stop apache2 rsync -avz --progress /srv/www/htdocs nukka:/srv/www/ rsync -avz --progress /var/lib/mysql/* nukka:/var/lib/mysql/ rsync -avz --progress /home/websites/mediawiki-public-images nukka:/home/websites/ scp /usr/share/jetty/webapps/website.war nukka:/usr/share/jetty/webapps/ ``` 1. On nukka

   1.

```bash sudo su - systemctl start mysql systemctl start jetty systemctl start apache2 /etc/cron.daily/ls2 ```

   1. edit `/etc/mediawiki_global.inc.php` - ensure `$wgReadOnly` is not set

1. Get Matt to swap http/https over to `nukka` on the router - leave ssh until you have confirmed everything is working 1. Check it all

   1. Check the website is up.
   1. Check the wikis are up
   1. Check the wikis are editable
   1. Check ls2 is running and that you can search for a recent page

1. Get Matt to swap ssh over 1. Check ssh now connects to `nukka`