Welcome to http://www.marssoft.de/
 
Tuesday, 11th December 2018 21:45:00 (GMT+1) 

Dokuwiki Multi-Site Install

Instructions:

mkdir -p /home/www/www-mario-common
tar -xzf dokuwiki-dokuwiki-2017-02-19e.tar.gz
rm -f dokuwiki-current
ln -s dokuwiki-dokuwiki-2017-02-19e dokuwiki-current
cd /home/www/www-mario-common/dokuwiki-current
mv -iv ./inc/preload.php.dist ./inc/preload.php 
perl -pi -e 's@^//(if.*DOKU_FARMDIR.*)/var/www/farm@${1}/home/www/www-mario-common/dokuwiki-current@g' ./inc/preload.php
perl -pi -e 's@^//(include.*farm.php)@${1}@g' ./inc/preload.php
cd /home/www/www-mario-common/
wget --no-check-certificate "http://www.dokuwiki.org/_media/dokuwiki_farm_animal.zip"
unzip dokuwiki_farm_animal.zip
cd /home/www/www-mario-common/dokuwiki-current
mv ../_animal ./www.marssoft.de

mkdir ../dokuwiki-templates
cp -pr /home/www/de.marssoft/pages/dokuwiki-current/lib/tpl/marssoft* ../dokuwiki-templates/
cd ./lib/tpl/
ln -s ../../../dokuwiki-templates/marssoft-2008-05-05 ./
cd ../../

cp -pr /home/www/de.marssoft/pages/dokuwiki-current/data ./www.marssoft.de/
find ./data/cache/ -type f -exec rm \{\} \;
cd ./conf/
rename -v 's/.dist//g' *dist
diff -wBdqr ../../../de.marssoft/pages/dokuwiki-current/conf/ ./|grep -v "dist\|Only"

cd /home/www/www-mario-common/dokuwiki-current/www.marssoft.de/conf/
diff -wBdqr ../../conf/ ./

sudo chown -R www-mario:www-mario /home/www/www-mario-common/dokuwiki-2014-09-29a-hrun-engl
sudo chmod -R u+rwx,g+rX-w,o-rwx  /home/www/www-mario-common/dokuwiki-2014-09-29a-hrun-engl
sudo chmod -R g+w                 /home/www/www-mario-common/dokuwiki-2014-09-29a-hrun-engl/data
guides/dokuwiki-multi-site.txt · Last modified: 2018/03/12 15:56 by mario