From fe18b2ed46f11994e80b371029e2a98613b1c418 Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 7 Sep 2001 10:03:22 +0000 Subject: none --- TWiki/TWikiInstallationGuide.mdwn | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/TWiki/TWikiInstallationGuide.mdwn b/TWiki/TWikiInstallationGuide.mdwn index 6367f7ff..50d710e4 100644 --- a/TWiki/TWikiInstallationGuide.mdwn +++ b/TWiki/TWikiInstallationGuide.mdwn @@ -1,10 +1,10 @@ %TOC% %STARTINCLUDE% -## TWiki Installation Guide +# TWiki Installation Guide _Clean install of the current public release (01-Sep-2001)_ -### Overview +## Overview These installation steps use the Apache web server on Linux as an example. TWiki should run on other web servers and Unix systems as well. (TWiki on Windows is possible, but has not been well-documented. More on that at @@ -47,11 +47,11 @@ These installation steps use the Apache web server on Linux as an example. TWiki Read in case you want to install TWiki on SourceForge. -### Standard Installation +## Standard Installation Request and download the TWiki %VERSION% distribution in Unix ZIP format from . -#### Step 1: Create & Configure the Directories +### Step 1: Create & Configure the Directories * Create directory `/home/httpd/twiki` and unzip the TWiki distribution into this directory. * The `twiki/bin` directory of TWiki must be set as a cgi-bin directory. Add `/home/httpd/twiki/bin` to file `/etc/httpd/httpd.conf` with only `ExecCGI` option. @@ -73,14 +73,14 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from Allow from all > </Directory> -#### Step 2: Check the Server Directory Settings +### Step 2: Check the Server Directory Settings * Restart Apache by `/etc/rc.d/rc5.d/S85httpd restart` . * Test if the `twiki/bin` directory is cgi-enabled: * Enter the URL of that directory into your browser ( `http://your.domain.com/twiki/bin` ). It is not set correctly as cgi-bin in case you get something like `"Index of /twiki/bin"` . It is OK if you get a message like `"Forbidden. You don't have permission to access /twiki/bin/ on this server."` * Execute the `testenv` script from your browser ( `http://your.domain.com/twiki/bin/testenv` ). It shows a table with all CGI environment variables and tests the settings in your **twiki/bin/wikicfg.pm** configuration file. -#### Step 3: Enable Perl File Permissions +### Step 3: Enable Perl File Permissions * Make sure Perl 5 and the Perl CGI library are installed on your system. Default location of Perl executable is `/usr/bin/perl`. In case Perl is installed in a different location, the first line of all Perl scripts in the **twiki/bin** directory must be changed (alternatively you can create a symbolic link from **/usr/bin/perl** ). * **IMPORTANT:** On most ISP virtual domain accounts, Perl CGI scripts require a **.cgi** extension to run. Some systems need **.pl**, the regular Perl extension. Change all **twiki/bin** scripts appropriately if necssary. @@ -90,7 +90,7 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from **twiki/data** directory and its subdirectories so that files in there are writable by user **nobody**. A simple way is to chmod them to **drwxrwxrwx** (777). * Set the permission of the `twiki/pub` directory and all its subdirectories so that files in there are writable by user `nobody`. A simple way is to chmod them to **drwxrwxrwx** (777). -#### Step 4: Set the Main Configuration File +### Step 4: Set the Main Configuration File * Edit the file **twiki/bin/wikicfg.pm** and set the variables at the beginning of the file to your needs. * Set the file extension in the `$scriptSuffix` variable to **cgi** or **pl** if required. @@ -100,7 +100,7 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from Step 5: Finish Up from Your Browser +### Step 5: Finish Up from Your Browser * Point your Web browser at **http://your.domain.com/twiki/bin/view** and start TWiki-ing away! * Edit the [[TWikiPreferences]] topic in the TWiki:%TWIKIWEB% web to set the WIKIWEBMASTER email address, the WEBCOPYRIGHT message and other preferences. @@ -109,13 +109,13 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from Extra Server-Level Options +## Extra Server-Level Options Complete a Standard Installation and your new TWiki site should be up and running. You can develop and manage most aspects of your site from the browser interface. Core set-up functions require direct access to the server file system, via Telnet or FTP. You can make server-level site changes during installation, or at any time afterwards. -#### Creating a New Web +### Creating a New Web * To create a new web: * Use a name for the web consisting of characters `A..Z` , `a..z` but **not** in [[WikiNotation]]. @@ -134,11 +134,11 @@ Complete a Standard Installation and your new TWiki site should be up and runnin * In case you want usage statistics for this web: Copy file `WebStatistics.txt` from the `twiki/data/Main` directory to the new data directory. Edit topic WebStatistics in the new web and delete old usage entries. * Note that user home topics are only located in the %WIKITOOLNAME%.%MAINWEB% web, so don't try to move them or create them in other webs. From any web you can refer to users located in the %WIKITOOLNAME%.%MAINWEB% web like %MAINWEB%.UserName or %MAINWEB%.UserName. -#### Adding Variables & Rendering Rules +### Adding Variables & Rendering Rules * You can add new rendering rules or new %VARIABLES%. To insure an easy upgrade of TWiki it is recommended to do this customization in `twiki/bin/wikicfg.pm` , not `twiki/bin/wiki.pm` . -#### Enabling Basic Authentication (.htaccess) +### Enabling Basic Authentication (.htaccess) * If you are on a non authenticated server (i.e. not using SSL) and you would like to authenticate users: * Rename file `.htaccess.txt` in the `twiki/bin` directory to `.htaccess` and change it to your needs. For details consult the HTTP server documentation (for Apache server: [[1]](http://www.apache.org/docs/mod/directives.html), [[2]](http://www.mcs.kent.edu/system/web_help/htaccess/introduction.html)). In particular, the following red part needs to be configured correctly:
Redirect /urlpath/to/TWiki/index.html http://your.domain.com/urlpath/to/TWiki/bin/view
AuthUserFile /filepath/to/TWiki/data/.htpasswd
ErrorDocument 401 /urlpath/to/TWiki/bin/oops/TWiki/TWikiRegistration?template=oopsauth @@ -147,7 +147,7 @@ Complete a Standard Installation and your new TWiki site should be up and runnin * **_Note:_** You can customize the registration form if needed, like deleting or adding input tags. The `name=""` parameter of the input tags must start with: `"Twk0..."` (if this is an optional entry), or `"Twk1..."` (if this is a required entry). This will ensure that the fields are processed correctly. * A new line containing user name and encrypted password gets added to the `data/.htpasswd` file when a users registers. The file that comes with the TWiki installation contains a few user accounts of TWiki core team members (needed for testing). You can edit the file and delete those lines. -### TWiki File System Snapshot +## TWiki File System Snapshot Here are partial directory listings showing typical file permissions and ownership. This is provided for general debugging use only and isn't an exact representation of the current distribution. There is also a complete file [[TWiki/TWikiImplementationNotes]], with individual file descriptions, for the current TWiki release. @@ -251,4 +251,4 @@ Partial file list for `twiki/pub/icn/` : -rw-rw-r-- 1 twiki twiki 144 Mar 9 1999 dll.gif -rw-rw-r-- 1 twiki twiki 152 Mar 9 1999 doc.gif --- [[PeterThoeny]] - 16 Mar 2001
+-- [[MikeMannix]] - 07 Sep 2001
-- cgit v1.2.3