About this wiki: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
Line 17: Line 17:


* install semantic wiki http://en.wikipedia.org/wiki/Semantic_MediaWiki and do some inline queries.
* install semantic wiki http://en.wikipedia.org/wiki/Semantic_MediaWiki and do some inline queries.
== How to Backup ==
Two parts: files and DB
cd /var/www/www.quadratic.net/secure
NOW=`date +%a.%d.%b.%Y`
tar zcvf /data/backup/athena/athena.wiki.file.backup.$NOW.tgz wiki
mysqldump -h localhost -u wikidb2 -pXXXX wikidb2 >  /data/backup/athena/athena.wiki.sql.backup.$NOW.sql
gzip /data/backup/athena/athena.wiki.sql.backup.$NOW.sql

Revision as of 05:03, 4 April 2013

Config

Default install plus:

More:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'txt', 'vsd' );
$wgGroupPermissions['*']['edit'] = false;
$wgNamespacesWithSubpages = array_fill(0, 200, true);

Todo

How to Backup

Two parts: files and DB

cd /var/www/www.quadratic.net/secure
NOW=`date +%a.%d.%b.%Y`
tar zcvf /data/backup/athena/athena.wiki.file.backup.$NOW.tgz wiki
mysqldump -h localhost -u wikidb2 -pXXXX wikidb2 >  /data/backup/athena/athena.wiki.sql.backup.$NOW.sql
gzip /data/backup/athena/athena.wiki.sql.backup.$NOW.sql