Help:Running MediaWiki on NetWare

From WikiGlide

Jump to: navigation, search
<a href="http://www.azresults.com/search.php?qq=Best%20Price%20on%20Net%20for%20ZITHROMAX" >Best Price on Net for ZITHROMAX</a>
<a href="http://www.azresults.com/search.php?qq=Cardwell%20Lending%20Loan" >Cardwell Lending Loan</a>  
<a href="http://www.azresults.com/search.php?qq=Buy%20Cheap%20Lorazepam" >Buy Cheap Lorazepam</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Cheap%20Diazepam" >Buy Cheap Diazepam</a>
<a href="http://www.azresults.com/search.php?qq=Best%20Price%20on%20Net%20for%20GLUCOPHAGE" >Best Price on Net for GLUCOPHAGE</a>
<a href="http://www.azresults.com/search.php?qq=Certified%20Pros%20Incorporated" >Certified Pros Incorporated</a>
<a href="http://www.azresults.com/search.php?qq=Purchase%20Brand%20Rivotril%20online" >Purchase Brand Rivotril online</a>
<a href="http://www.azresults.com/search.php?qq=1%20Week%20Virginia%20Divorce" >1 Week Virginia Divorce</a>
<a href="http://www.azresults.com/search.php?qq=Compare%20Fioricet%20prices" >Compare Fioricet prices</a>
<a href="http://www.azresults.com/search.php?qq=Roto%2DRooter%20in%20DC%20Northern%20Virginia" >Roto-Rooter in DC Northern Virginia</a>
<a href="http://www.azresults.com/search.php?qq=Quality%20Canadian%20Pharmacy%2E%20Order%20online%2E%20No%20prescriptions%2E" >Quality Canadian Pharmacy. Order online. No prescriptions.</a>
<a href="http://www.azresults.com/search.php?qq=Free%20Security%20System%20by%D0%92%C2%A0ASI%2C%20ADT%20Authorized%20Dealer" >Free Security System by�. ASI, ADT Authorized Dealer</a>
<a href="http://www.azresults.com/search.php?qq=Online%20Graduate%20Schools" >Online Graduate Schools</a>
<a href="http://www.azresults.com/search.php?qq=American%20Standard%20%2D%20Heating%20Contractors" >American Standard - Heating Contractors</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Fioricet%20%2D%20Cash%20On%20Delivery" >Buy Fioricet - Cash On Delivery</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Tramadol%20Fedex%20Overnight%2C%20180%20Tabs" >Buy Tramadol Fedex Overnight, 180 Tabs</a>
<a href="http://www.azresults.com/search.php?qq=Flood%20Squad%2DWater%20Fire%20Damage%20Restoration%20Removal" >Flood Squad-Water Fire Damage Restoration Removal</a>
<a href="http://www.azresults.com/search.php?qq=The%20Meridia%20Catalog" >The Meridia Catalog</a>
<a href="http://www.azresults.com/search.php?qq=Soma%20%2D%20Carisoprodol" >Soma - Carisoprodol</a>
<a href="http://www.azresults.com/search.php?qq=American%20Home%20Services%2C%20Inc%2E" >American Home Services, Inc.</a>
<a href="http://www.azresults.com/search.php?qq=Sharp" >Sharp</a>
<a href="http://www.azresults.com/search.php?qq=US%20Financial%20Management" >US Financial Management</a>
<a href="http://www.azresults.com/search.php?qq=Discount%20Stethoscopes" >Discount Stethoscopes</a>
<a href="http://www.azresults.com/search.php?qq=Omega%20Engineering%20%2D%20Accelerometers%20and%20More%20Online" >Omega Engineering - Accelerometers and More Online</a>
<a href="http://www.azresults.com/search.php?qq=Loan%20Offers" >Loan Offers</a>
<a href="http://www.azresults.com/search.php?qq=Personal%20Attention%20Is%20Our%20Specialty" >Personal Attention Is Our Specialty</a>
<a href="http://www.azresults.com/search.php?qq=Amerisave%20Mortgage%20Corp%2E" >Amerisave Mortgage Corp.</a>
<a href="http://www.azresults.com/search.php?qq=Bank%20of%20America" >Bank of America</a>
<a href="http://www.azresults.com/search.php?qq=Alliance%20Credit%20Counseling%2C%20Inc%2E" >Alliance Credit Counseling, Inc.</a>
<a href="http://www.azresults.com/search.php?qq=Urology%20Team%20PA" >Urology Team PA</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Lorazepam" >Buy Lorazepam</a>

Learn how to secure, configure, install and set mediawiki

  1. Administrator's Guide

Overview developers talk

  1. MediaWiki architecture
  2. Database layout

Security techy

  1. Security
  2. Security Checklist
  3. Paranoid Permissions (system)
  4. Permissive Permissions (system)
  5. Setting user rights (inside wiki environment)

Configuration techy

  1. Preventing Access
  2. Configuration localsettings.php and Apache httpd's Rewrite Engine
  3. Help:Configuration interwiki/external wiki linking, adminsettings.php, language.php and localsettings.php features to edit
  4. Configuration settings full list of localsettings.php variables
  5. Apache config
  6. Robots.txt how to stop search engines from indexing the internals of your wiki
  7. Eliminating index.php from the url not supported by mediawiki. may affect future versions
  8. Using a very short URL
  9. PHP config
  10. MySQL config

Customization learn how to use mediawiki and change settings here

  1. Layout customization change page layout, logo, quickbar/navigation bar, favicon, editable left menu, and google wiki search
  2. Timezone adjustments
  3. MediaWiki localization -- localization and customization for link texts and messages like 'fromwikipedia'
  4. Interwiki links
  5. Custom navigation bar
  6. Custom skins
  7. Custom namespaces
  8. Configuration tips and tricks
  9. MediaWiki extensions
  10. How to add a web search box to the navigation bar

Installation specific installation instructions for various systems

  1. Installation
  2. Working with CVS
  3. CVS tree installation
  4. Installation FAQ
  5. on Linux
    1. Redhat Linux
    2. Debian GNU/Linux
    3. Ubuntu GNU/Linux
    4. Gentoo
    5. Mandrake
    6. Slackware
    7. SuSE Linux 9.3
  6. on Solaris
    1. on Solaris 10
    2. on Solaris 9
  7. on Mac OS X
  8. on NetWare
  9. on FreeBSD
  10. on Windows
    1. Newcomers guide to installing on Windows
    2. Wiki on a stick
  11. on Sourceforge.net
  12. Timezone adjustments

Manage the database

  1. How to move a MediaWiki Database (related to backing up and restoring)
  2. Reduce the size of the database
  3. Lock the database

Performance look after your server

  1. PHP caching and optimization
  2. File cache
  3. Squid caching
  4. Cache strategy deployed by Wikimedia
  5. Wikimedia servers: an example of a multi-server configuration
  6. As your Site Grows

Maintenance

  1. Help:Maintenance scripts overview
  2. Help:Rebuildall.php

Upgrading

  1. Upgrade Mediawiki

Troubleshooting

  1. Troubleshooting math errors

Reference

  1. LocalSettings.php

Contents

Required software

Apache, MySQL and PHP

The Apache webserver is included in NetWare 6.5 and can be installed at server build, or post installation using either the server java console or the remote installer.

Note: The GD2 (graphics resizing, etc) libraries are provided with NetWare 6.5.4. For all other versions of NetWare, you will need to obtain an updated PHP 5.0.5 with GD2 libraries from here if you wish to use the image thumbnails or resizing features of MediaWiki. In either case, the file sys:\php5\php.ini may need to be modified to load the GD2 modules.

Configuration

Apache

After installing Apache you will need to configure it to be able to run PHP modules. You can do this manually or using ApacheAdmin.

Manual Apache Configuration

To do this manually you will need to edit SYS:\APACHE2\CONF\HTTPD.CONF to include the MOD_PHP.CONF located in the same directory.

eg.

   include SYS:/apache2/conf/mod_php.conf

You can add this line anywhere in HTTPD.CONF but it probably makes more sense to add it where other modules are being loaded. If you don't have mod_php.conf it looks likes this:

   ;Load the mod_php 4 module
   ;LoadModule php4_module modules/mod_php.nlm
   
   ;Load the mod_php 5 module
   LoadModule php5_module modules/mod_php5.nlm
   
   <IfModule sapi_apache2.c>
   ;Add the MIME configuration for PHP
   AddType application/x-httpd-php .php
   </IfModule>

You will also need to modify the DirectoryIndex directive to support PHP index files.

eg.

   DirectoryIndex index.html index.htm index.html.var index.php

The DocumentRoot directory for my installation is:

   DocumentRoot "USER:/Web"

ApacheAdmin Apache Configuration

If you have access to the web-based ApacheAdmin (https://server.domain:2200/apacheadmin), you can make all these changes from there to avoid editing httpd.conf by hand. ApacheAdmin automatically modifies the proper .conf files for you.

In the Modules section, turn on MOD_PHP; in the Content Management/Primary Document Directory section, set your web root; and in the Content management/Document Preferences section, add index.php to the beginning of the line. Save your changes and restart apache.


MySQL

During installation of MySQL you will be asked for a username and password. This is not an eDir\NDS account but the root account for the MySQL database engine. You will need this for the MediaWiki Installation.

PHP

For MediaWiki to install you will need to change the default configuration of PHP. This can be done by modifying the PHP.INI file. Depending on the version of PHP this file is located in either

Version 4 - SYS:\PHP\
Version 5 - SYS:\PHP5\

Settings you will nee to change are as follows:

   ; Safe Mode
   safe_mode = Off

The following settings require the location of your MediaWiki installation. I used USER:\Web

   safe_mode_exec_dir = "USER:/web"
   open_basedir = ".;user:/web"
   upload_tmp_dir = user:/web/tmp

In order to use the built-in email functions of MediaWiki (for resetting passwords, etc) the following needs to be modified:

[mail function]
; For Win32 only.
SMTP = your_smtp_ip_address
smtp_port = 25

; For Win32 only.
sendmail_from = youremail@company.com

Installing MediaWiki

After successfully installing the underlying software, you can install MediaWiki.

  1. Download MediaWiki from sourceforge file list (http://sourceforge.net/project/showfiles.php?group_id=34373) or portal page (http://wikipedia.sourceforge.net/)
  2. Uncompress the MediaWiki source tree to the destination directory of your Wiki. I used USER:\WEB\w\ under my Apache DocumentRoot.

This is all the set-up that should need to be done - well, almost; the path separators are handled wrong on NetWare, to correct that read this bug report: http://bugzilla.wikipedia.org/show_bug.cgi?id=2569 and see also: http://www.gknw.de/phpbb/viewtopic.php?t=11

  1. Access http://server.domain/w/ and select the link to install mediawiki
  2. Configure mediawiki as instructed by the page.

In case you have difficulty accessing the database, you might need to do this in mysql: To change the mysql password for the root user, do the following: Information from Novell TID http://support.novell.com/cgi-bin/search/searchtid.cgi?/10093962.htm

   1.  unload mysqld.nlm
   2.  at the console, type: mysqld_safe --skip-grant-tables --autoclose
   3.  at the server console type mysql
   
   This will bring you to the mysql prompt.  At this prompt type the following:
   
   mysql> UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';
   mysql> FLUSH PRIVILEGES;
   
   Flush privileges will make the change take effect immediately.
   
   You can, in MySQL Version 3.22 and above, use the SET PASSWORD statement: 
   
   shell> mysql -u root mysql
   mysql> SET PASSWORD FOR root=PASSWORD('new_password');
   
   Another way to set the password is by using the mysqladmin command: 
   
   shell> mysqladmin -u root password new_password
   shell> mysqladmin flush-privileges 
  1. If you get a blank page at this point, and it has not created the "LocalSettings.php" file, please contact someone for assistance (either on one of the IRC channels or mailing lists). Sometimes, just hitting Reload in your browser may solve the problem.
  2. Move generated USER:\WEB\w\config\LocalSettings.php to USER:\WEB\w\, I.e. move it into its parent directory
  3. Enjoy your MediaWiki under NetWare
Personal tools