Creating a new wiki

From Wikked

Jump to: navigation, search

Steps to create a new wiki:

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

Done!

Personal tools