diff options
author | MikeMannix <MikeMannix> | 2001-09-07 10:03:22 +0000 |
---|---|---|
committer | MikeMannix <MikeMannix> | 2001-09-07 10:03:22 +0000 |
commit | fe18b2ed46f11994e80b371029e2a98613b1c418 (patch) | |
tree | 73ec5f6c804affd7f483406f9a4113a119b9f56e /TWiki/TWikiInstallationGuide.mdwn | |
parent | 6e5a811fb2f5425df427b2228d9a1f6555c089cd (diff) |
none
Diffstat (limited to 'TWiki/TWikiInstallationGuide.mdwn')
-rw-r--r-- | TWiki/TWikiInstallationGuide.mdwn | 28 |
1 files 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% -## <a name="TWiki_Installation_Guide"> TWiki Installation Guide </a> +# <a name="TWiki_Installation_Guide"> TWiki Installation Guide </a> _Clean install of the current public release (01-Sep-2001)_ -### <a name="Overview"> Overview </a> +## <a name="Overview"> Overview </a> 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 <http://TWiki.org/cgi-bin/view/Codev/TWikiOnWindows.)> @@ -47,11 +47,11 @@ These installation steps use the Apache web server on Linux as an example. TWiki Read <http://TWiki.org/cgi-bin/view/Codev/SourceForgeHowTo> in case you want to install TWiki on SourceForge. -### <a name="Standard_Installation"> Standard Installation </a> +## <a name="Standard_Installation"> Standard Installation </a> Request and download the TWiki %VERSION% distribution in Unix ZIP format from <http://TWiki.org/download.html>. -#### <a name="Step_1_Create_amp_Configure_the_"> Step 1: Create & Configure the Directories </a> +### <a name="Step_1_Create_amp_Configure_the_"> Step 1: Create & Configure the Directories </a> * 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 <h > Allow from all > &lt;/Directory&gt;</nop></nop></nop></nop></nop></pre> -#### <a name="Step_2_Check_the_Server_Director"> Step 2: Check the Server Directory Settings </a> +### <a name="Step_2_Check_the_Server_Director"> Step 2: Check the Server Directory Settings </a> * 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 <code>**twiki/bin/wikicfg.pm**</code> configuration file. -#### <a name="Step_3_Enable_Perl_File_Permissi"> Step 3: Enable Perl File Permissions </a> +### <a name="Step_3_Enable_Perl_File_Permissi"> Step 3: Enable Perl File Permissions </a> * 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 <code>**twiki/bin**</code> directory must be changed (alternatively you can create a symbolic link from <code>**/usr/bin/perl**</code> ). * **IMPORTANT:** On most ISP virtual domain accounts, Perl CGI scripts require a <code>**.cgi**</code> extension to run. Some systems need <code>**.pl**</code>, the regular Perl extension. Change all <code>**twiki/bin**</code> scripts appropriately if necssary. @@ -90,7 +90,7 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from <h * Set the permission of the <code>**twiki/data**</code> directory and its subdirectories so that files in there are writable by user <code>**nobody**</code>. A simple way is to chmod them to <code>**drwxrwxrwx**</code> (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 <code>**drwxrwxrwx**</code> (777). -#### <a name="Step_4_Set_the_Main_Configuratio"> Step 4: Set the Main Configuration File </a> +### <a name="Step_4_Set_the_Main_Configuratio"> Step 4: Set the Main Configuration File </a> * Edit the file <code>**twiki/bin/wikicfg.pm**</code> and set the variables at the beginning of the file to your needs. * Set the file extension in the `$scriptSuffix` variable to <code>**cgi**</code> or <code>**pl**</code> if required. @@ -100,7 +100,7 @@ Request and download the TWiki %VERSION% distribution in Unix ZIP format from <h * Enable email notification of topic changes, [[TWikiDocumentation]] has more. * Add the [TWiki:Main.PoweredByTWikiLogo](http://TWiki.org/cgi-bin/view/Main/PoweredByTWikiLogo) to your %MAINWEB%.WebHome topic. -#### <a name="Step_5_Finish_Up_from_Your_Brows"> Step 5: Finish Up from Your Browser </a> +### <a name="Step_5_Finish_Up_from_Your_Brows"> Step 5: Finish Up from Your Browser </a> * Point your Web browser at <code>**http://your.domain.com/twiki/bin/view**</code> 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 <h That's it for the standard virgin installation of TWiki. Read on to learn how to customize TWiki. -### <a name="Extra_Server_Level_Options"> Extra Server-Level Options </a> +## <a name="Extra_Server_Level_Options"> Extra Server-Level Options </a> 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. <a name="CreateWeb"></a> -#### <a name="Creating_a_New_Web"> Creating a New Web </a> +### <a name="Creating_a_New_Web"> Creating a New Web </a> * 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 <code>%MAINWEB%.UserName</code> or <code>%MAINWEB%.UserName</code>. -#### <a name="Adding_Variables_amp_Rendering_R"> Adding Variables & Rendering Rules </a> +### <a name="Adding_Variables_amp_Rendering_R"> Adding Variables & Rendering Rules </a> * 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` . -#### <a name="Enabling_Basic_Authentication_ht"> Enabling Basic Authentication (.htaccess) </a> +### <a name="Enabling_Basic_Authentication_ht"> Enabling Basic Authentication (.htaccess) </a> * 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 <font>red</font> part needs to be configured correctly: <br /><code>Redirect <font>/urlpath/to/TWiki/index.html</font> http://<font>your.domain.com/urlpath/to/TWiki/bin/</font>view</code><br /><code>AuthUserFile <font>/filepath/to/TWiki/data/</font>.htpasswd</code><br /><code>ErrorDocument 401 <font>/urlpath/to/TWiki/bin/</font>oops/TWiki/TWikiRegistration?template=oopsauth</code> @@ -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. -### <a name="TWiki_File_System_Snapshot"> TWiki File System Snapshot </a> +## <a name="TWiki_File_System_Snapshot"> TWiki File System Snapshot </a> 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 <br /> +-- [[MikeMannix]] - 07 Sep 2001 <br /> |