Suppose you want to create myweb.ffii.org.
As root: Create DNS entry
Add myweb to the DNS and reload bind.
Create data directory
export PREFIX=/usr export SHARE=$PREFIX/local/moin/share/moin export WIKILOCATION=/var/local/moin export INSTANCE=myweb export GROUP=www-data cd $WIKILOCATION mkdir $INSTANCE cp -R $SHARE/data $INSTANCE chgrp -R $GROUP $INSTANCE chmod -R o-rwx $INSTANCE chmod -R ug+rwX $INSTANCE find $INSTANCE -type d -print|xargs chmod g+s
Modify moin configuration
Go to /etc/moin.
Create myweb.py (copy the configuration file of a similar site and edit it).
Make a backup copy of farmconfig.py, then edit it and add the new wiki to the wikis variable on top.
As root: Modify apache configuration
Go to /etc/apache2/sites-available. Create myweb (copy the configuration file of a similar site and edit it). Then execute "a2ensite myweb".
Restart apache and test
Restart ("/etc/init.d/apache2 restart", not reload!) apache and verify that old web sites work. Verify that new ones work.
Create important pages
Go to page navigation_menu of an existing web site and copy the information to the new web site. Create an appropriate (preliminary) navigation menu.
Also copy any needed copyright page.
Update this document
Fix any errors or ommissions you found in this document while creating the new web site.
