Configuration Miki's Kiwi Wiki on Noekeon.org: Difference between revisions

From miki
Jump to navigation Jump to search
Line 47: Line 47:
::Storage engine : '''InnoDB'''
::Storage engine : '''InnoDB'''
::database character set : '''MySQL 4.1/5.0 binary'''
::database character set : '''MySQL 4.1/5.0 binary'''
* File <tt>LocalSettings.inc.php</tt>:
* File '''<tt>LocalSettings.inc.php</tt>''':
** Enable '''file upload'''.
** Enable '''file upload'''.
** Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
** Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
Line 53: Line 53:
...
...
$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.
** Restrict anonymous editing (edit requires user to login)
** Restrict anonymous editing (edit requires user to login)
Line 59: Line 59:
...
...
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
* Add directory <tt>https://kiwi.noekeon.org/miki/upload</tt>, to store big upload files.
* Add directory '''<tt>https://kiwi.noekeon.org/miki/upload</tt>''', to store big upload files.
** Create a fake <tt>index.html</tt> simulating listing of an empty upload directory.
** Create a fake <tt>index.html</tt> simulating listing of an empty upload directory.
* Users:
* Users:

Revision as of 21:14, 21 August 2008

Installation

username: miki
pwd: ********
database: mikiwiki
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
% 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
 $wgEnableUploads = true;
 ...
 $wgLogo = "$wgScriptPath/kiwi.png";
  • File includes/DefaultSettings.php:
    • Change supported upload file types.
    • Restrict anonymous editing (edit requires user to login)
 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' );
 ...
 $wgGroupPermissions['*'    ]['edit']             = false;
user: mip
pwd: ********
email: miki.mip@noekeon.org
real name: Mike