Differences between revisions 12 and 13
Revision 12 as of 2007-04-17 16:17:02
Size: 2195
Editor: ?JerryPerkins
Comment:
Revision 13 as of 2007-04-17 20:59:42
Size: 2446
Editor: ?JerryPerkins
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
MediaWiki also suggests the following packages, which you may want to install: See the README at /usr/shared/doc/mediawiki1.7/README.Debian.gz
Line 20: Line 20:
    * php5-gd | imagemagick, a module for handling graphics directly from PHP
scripts. It supports the PNG, JPEG, XPM formats as well as Freetype/ttf fonts.
MediaWiki also suggests the following packages, which you may want to install these optional features:

    * For image thumbnailing, install php5-gd | imagemagick, a module for handling graphics directly from PHP scripts. It supports the PNG, JPEG, XPM formats as well as Freetype/ttf fonts.

    * For LaTeX-compatible math equations rendering: Install 'tetex-bin', 'imagemagick' and a Ghostscript interpreter ('gs-gpl' or 'gs-esp'). To be able to render non-ASCII characters, also install 'cjk-latex'. Uncomment the following line in '/etc/mediawiki1.7/LocalSettings.php' : $wgUseTeX = true; latex-cjk-all, a macro package for LaTeX to enable typesetting in Chinese,
Japanese, Korean and Thai, and it supports Vietnamese
 
Line 25: Line 30:

    * latex-cjk-all, a macro package for LaTeX to enable typesetting in Chinese,
Japanese, Korean and Thai, and it supports Vietnamese
Line 33: Line 35:
DATABASE - MySQL: CONFIGURATION:
Line 35: Line 37:
MediaWiki requires the use of a database, which can be either MySQL or PostgreSQL, but it does recommend using MySQL. The configuration uses an easy web-based system. It will ask you a lot of questions to set up the configuration. Just go to this URL:
Line 37: Line 39:
   # apt-get mysql-server      http://www.myserver.org/mediawiki/config/index.php (replace by your own servername or 127.0.0.1)
Line 39: Line 41:
To set Mysql Root password use the following command: Then copy the generated configuration to the real system location:
Line 41: Line 43:
   # mysqladmin -u root password mysqlrootpassword (Replace mysqlrootpassword with your secret password.)      # mv /var/lib/mediawiki1.7/config/LocalSettings.php \ /var/lib/mediawiki1.7
Line 43: Line 45:
Once you set the root password you can test this password: After being configured, you should begin your surf on your new wiki using this url:
Line 45: Line 47:
   # mysqladmin -h localhost -u root (This did not work for me, even though I know MySQL is up and running)

Now we need to create a Mediawiki MySQL database and user. Create new database (I called mine "wikibd"). Then add new user for database (I called mine "wikiuser"), with select, insert, update, delete and create temporary tables.

      http://www.myserver.org/mediawiki (replace by your own servername)
Line 55: Line 53:
Line 59: Line 56:

["?WikiNature"]


An open source wiki engine which is is available under the GNU General Public License and developed on ?SourceForge via CVS.

It's used in ?WikiMedia Foundation projects (?WikiPedia, Wiktionary, Wikisource, Wikibooks....)

See: http://www.mediawiki.org/

Installation - Etch

IN CONSTRUCTION - HELP IS VERY WELCOME

The mediawiki package is a dummy package made up of mediawiki1.7 and mediawiki1.7-math. To install, enter:

  • # apt-get install mediawiki

See the README at /usr/shared/doc/mediawiki1.7/README.Debian.gz

MediaWiki also suggests the following packages, which you may want to install these optional features:

  • For image thumbnailing, install php5-gd | imagemagick, a module for handling graphics directly from PHP scripts. It supports the PNG, JPEG, XPM formats as well as Freetype/ttf fonts.
  • For LaTeX-compatible math equations rendering: Install 'tetex-bin', 'imagemagick' and a Ghostscript interpreter ('gs-gpl' or 'gs-esp'). To be able to render non-ASCII characters, also install 'cjk-latex'. Uncomment the following line in '/etc/mediawiki1.7/LocalSettings.php' : $wgUseTeX = true; latex-cjk-all, a macro package for LaTeX to enable typesetting in Chinese,

Japanese, Korean and Thai, and it supports Vietnamese

  • memcached, which is for heavy traffic sites.
  • clamav, an ?AntiVirus is an anti-virus toolkit.

  • tetex-extra, additional parts of teTeX
  • mediawiki-extension (Etch) package that might be worth looking at.

CONFIGURATION:

The configuration uses an easy web-based system. It will ask you a lot of questions to set up the configuration. Just go to this URL:

Then copy the generated configuration to the real system location:

  • # mv /var/lib/mediawiki1.7/config/LocalSettings.php \ /var/lib/mediawiki1.7

After being configured, you should begin your surf on your new wiki using this url:

Referances

MySQL:

phpMyAdmin: