Creating a new wiki
From Wikked
Steps to create a new wiki:
- Setup lighttpd in /etc/lighttpd/lighttpd.conf
- Add wiki specific settings in /var/www/mediawiki/w/CommonSettings.php
- Copy the image upload directory structure using $ cp -a /var/www/mediawiki/w/images /var/www/mediawiki/upload/wikidomain
- Create a new MySQL database for the wiki, e.g. wikkedwiki
- Grant SELECT, INSERT, UPDATE, DELETE, LOCK TABLES to user mediawiki on the newly created database
- Grant ALL PRIVILEGES to user wikiadmin on the newly created database
- Flush MySQL privileges
- Create the tables according to the schema in maintenance/tables.sql using # mysql databasename < maintenance/tables.sql
- Fill the interwiki links table using # mysql databasename < maintenance/interwiki.sql
- Populate the Mediawiki namespace by using # HTTP_HOST=wikihostname php rebuildMessages.php --rebuild
- Create a new sysop user account using # HTTP_HOST=wikihostname php createSysop.php
- Login, and change the password
Done!
