Configuration Miki's Kiwi Wiki on Noekeon.org: Difference between revisions
Jump to navigation
Jump to search
m (→Configuration) |
|||
Line 54: | Line 54: | ||
$wgLogo = "$wgScriptPath/kiwi.png"; |
$wgLogo = "$wgScriptPath/kiwi.png"; |
||
* File '''<tt>includes/DefaultSettings.php</tt>''': |
* File '''<tt>includes/DefaultSettings.php</tt>''': |
||
** Change supported upload file types. |
** Change supported upload file types (added 'pdf' and 'zip'). |
||
** Restrict anonymous editing (edit requires user to login) |
** Restrict anonymous editing (edit requires user to login) |
||
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' ); |
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' ); |
||
... |
... |
||
$wgGroupPermissions['*' ]['edit'] = false; |
$wgGroupPermissions['*' ]['edit'] = false; |
Revision as of 15:38, 5 September 2008
Installation
- Version mediawiki 1.13.0.
- First go to Priorweb control panel, MySQL section, and creates new user:
- username: miki
- pwd: ********
- database: mikiwiki
- and go to Priorweb mailmanager to create email address
- email: miki@noekeon.org
- then ssh to daemenj@ftp.noekeon.org:
% cd kiwi.noekeon.org/ % wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz % tar -xvzf mediawiki-1.13.0.tar.gz % mv mediawiki-1.13.0 miki % cd miki % chmod +w config
- Browse to https://kiwi.noekeon.org/miki/config/. Enter settings as given further.
- Move configuration file:
% mv config/LocalSettings.php . % chmod 600 LocalSettings.php % rm -r config
- It's done!
Configuration
- Wiki configuration settings during install:
- Wiki name : miki
- contact e-mail : miki@noekeon.org
- Language : en - English
- Copyringt : no license
- Admin username : mikiadmin
- Admin pwd : ********
- Object caching : no caching
- Email features : enabled
- user-to-user email : enabled
- email notification : enabled (discussion & watchlist)
- email address auth : enabled
- database type : MySQL
- database host : mysqlhost (as said on Priorweb's controlpanel)
- database name : mikiwiki
- DB username : miki
- DB password : ********
- su account : <unchecked>
- DB table prefix : <none>
- Storage engine : InnoDB
- database character set : MySQL 4.1/5.0 binary
- File LocalSettings.inc.php:
- Enable file upload.
- Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
$wgEnableUploads = true; ... $wgLogo = "$wgScriptPath/kiwi.png";
- File includes/DefaultSettings.php:
- Change supported upload file types (added 'pdf' and 'zip').
- Restrict anonymous editing (edit requires user to login)
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' ); ... $wgGroupPermissions['*' ]['edit'] = false;
- Add directory https://kiwi.noekeon.org/miki/upload, to store big upload files.
- Create a fake index.html simulating listing of an empty upload directory.
- Users:
- user: mip
- pwd: ********
- email: miki.mip@noekeon.org
- real name: Mike