Configuration Miki's Kiwi Wiki on Noekeon.org: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
:: email: '''miki@noekeon.org''' |
:: email: '''miki@noekeon.org''' |
||
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>: |
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>: |
||
<source lang="bash"> |
|||
<pre> |
|||
% cd kiwi.noekeon.org/ |
% cd kiwi.noekeon.org/ |
||
% wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz |
% wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz |
||
Line 15: | Line 15: | ||
% cd miki |
% cd miki |
||
% chmod +w config |
% chmod +w config |
||
</ |
</source> |
||
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further. |
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further. |
||
* Move configuration file: |
* Move configuration file: |
||
<source lang="bash"> |
|||
<pre> |
|||
% mv config/LocalSettings.php . |
% mv config/LocalSettings.php . |
||
% chmod 600 LocalSettings.php |
% chmod 600 LocalSettings.php |
||
% rm -r config |
% rm -r config |
||
</ |
</source> |
||
* It's done! |
* It's done! |
||
Line 50: | Line 50: | ||
** 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) |
||
<source lang="php"> |
|||
$wgEnableUploads = true; |
|||
... |
|||
$wgLogo = "$wgScriptPath/kiwi.png"; |
|||
</source> |
|||
* File '''<tt>includes/DefaultSettings.php</tt>''': |
* File '''<tt>includes/DefaultSettings.php</tt>''': |
||
** Change supported upload file types (added 'pdf' and 'zip'). |
** 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) |
||
<source lang="php"> |
|||
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' ); |
|||
... |
|||
$wgGroupPermissions['*' ]['edit'] = false; |
|||
</source> |
|||
* 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. |
||
Line 66: | Line 70: | ||
:: email: '''miki.mip@noekeon.org''' |
:: email: '''miki.mip@noekeon.org''' |
||
:: real name: '''Mike''' |
:: real name: '''Mike''' |
||
== Extensions == |
|||
Here the list of extensions installed on the Wiki: |
|||
* Extension [[Mediawiki#SyntaxHighlight_GeSHi|SyntaxHighlight_GeSHi]]. |
|||
** Version ''r24298 (July 21, 2007)'' / GeSHi version ''1.0.8''. |
|||
** [[Mediawiki#SyntaxHighlight_GeSHi|Patched]] to restore old GeSHi 1.0.7 formatting and to support <tt>enclose="valid"</tt>. |
Revision as of 22:22, 7 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
Extensions
Here the list of extensions installed on the Wiki:
- Extension SyntaxHighlight_GeSHi.
- Version r24298 (July 21, 2007) / GeSHi version 1.0.8.
- Patched to restore old GeSHi 1.0.7 formatting and to support enclose="valid".