User:Andreas Plank/new wiki

From Biowikifarm Metawiki
Revision as of 14:15, 28 April 2014 by Andreas Plank (Talk | contribs)

Jump to: navigation, search

phpMyAdmin: http://biowikifarm.net/phpmyadmin_v3-3-7/

  • copy z_en_template -> as new database, e.g. my_new_wiki
  • grant rights to user 'wikiuser' for new database ( SELECT, INSERT, UPDATE, DELETE, DROP, INDEX, CREATE TEMPORARY TABLES )

in shell: copy a recent wiki: v-XXX (virtuel)

sudo cp --recursive --verbose XXX YYY

duplicate folder w:

  • for short name
  • clear cache directory
  • remove images from old wiki

adjaust LocalSettings.php

  • secret key (!)
    date | sha224sum
    
  • db, paths, logo, contentlanguage

Common Settings file for SMW: dbname as switch to

cd /etc/nginx/sites-available/ # : file: default adjustm nginx config: adjust server names

restart apache, nginx, php5-fpm

sudo /usr/sbin/apache2ctl -k graceful && sudo service nginx restart && sudo service php5-fpm restart

Run maintenance wiki update script