Nutshell Summary of Windows Install CookbookThis summary of WindowsInstallCookbook is for you if: | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Table of Content:
The Essentials | ||||||||
| Changed: | ||||||||
| < < |
TWiki will run on any combination of Operating System + Perl + Webserver. TWiki requires all three but doesn't care which three. Each permutation has its own quirks to deal with. Which combination is easiest depends on your personal background and experience. This guide covers only one possible configuration of many: Windows 2000/XP + Perl-Cygwin + Apache-Win32. | |||||||
| > > |
TWiki will run on any combination of Operating System + Perl + Webserver. TWiki requires all three but doesn"t care which three. Each permutation has its own quirks to deal with. Which combination is easiest depends on your personal background and experience. This guide covers only one possible configuration of many: Windows 2000/XP + Perl-Cygwin + Apache-Win32. | |||||||
TWiki also requires the RCS revision control system but is more picky about which flavour (this guide uses RCS-cygwin).
Head to http://twiki.org/ and download the latest release.
Download, Install & Test Apache-Win32 | ||||||||
| Changed: | ||||||||
| < < |
http://www.apache.org/dyn/closer.cgi and download apache_1.3.X-win32-x86-no_src.msi where 'X' is 20 or higher. There are some issues with Apache 2, see TWiki:Codev.IssuesWithApache2dot0. | |||||||
| > > |
http://www.apache.org/dyn/closer.cgi and download apache_1.3.X-win32-x86-no_src.msi where "X" is 20 or higher. There are some issues with Apache 2, see TWiki:Codev.IssuesWithApache2dot0. | |||||||
Download, Install & Test Cygwinhttp://cygwin.com, and click the Install Cygwin Now link. Save the setup.exe in a directory, e.g. c:\download\cygwin-dist. Run the Cygwin setup.exe file - this will also install Perl and RCS in one fell swoop. | ||||||||
| Line: 52 to 52 | ||||||||
|---|---|---|---|---|---|---|---|---|
# standalone process.
Adjust TZ for your server timezone, e.g. EST5EDT - put the non-daylight-savings | ||||||||
| Changed: | ||||||||
| < < |
timezone code first (e.g. EST or GMT), followed by the number of hours that it's behind GMTduring non-daylight-savings time (use '-5' for timezones in advance of GMT). | |||||||
| > > |
timezone code first (e.g. EST or GMT), followed by the number of hours that it"s behind GMTduring non-daylight-savings time (use "-5" for timezones in advance of GMT). | |||||||
SetEnv? TZ GMT0BST
SetEnv? RCSINIT -x,v/
Adjust TEMP and TMP for your server and create directories if necessary | ||||||||
| Line: 64 to 64 | ||||||||
| Changed: | ||||||||
| < < |
Add an AddHandler line to the <IfModule mod_mime.c> section of httpd.conf - this removes the need to rename all the TWiki CGI scripts later in the installation. Note the trailing '.' on the AddHandler line.
| |||||||
| > > |
Add an AddHandler line to the <IfModule mod_mime.c> section of httpd.conf - this removes the need to rename all the TWiki CGI scripts later in the installation. Note the trailing "." on the AddHandler line.
| |||||||
# # Document types | ||||||||
| Line: 98 to 98 | ||||||||
Edit the CGI Scripts | ||||||||
| Changed: | ||||||||
| < < |
You must use the Cygwin shell to do this (unless you are a Perl expert) - don't use the Windows command shell, cmd.exe (aka DOS Prompt). Change #!/usr/bin/perl -wT to #!c:/cygwin/bin/perl -wT . Example script to do this (explanation):
| |||||||
| > > |
You must use the Cygwin shell to do this (unless you are a Perl expert) - don"t use the Windows command shell, cmd.exe (aka DOS Prompt). Change #!/usr/bin/perl -wT to #!c:/cygwin/bin/perl -wT . Example script to do this (explanation):
| |||||||
Perl module installation | ||||||||
| Changed: | ||||||||
| < < |
From the Cygwin shell, type export TEMP=/c/temp (add it to ~/.profile), then fire up
| |||||||
| > > |
From the Cygwin shell, type export TEMP=/c/temp (add it to ~/.profile), then fire up
| |||||||
Re-lock RCS files | ||||||||
| Changed: | ||||||||
| < < |
Go to http://yourdomain.com/bin/testenv - this provides a lot of detail, including warnings. Write down the Apache server's userid that is given by this script - typically either 'system' or 'administrator' - I'll assume 'system' from now on. | |||||||
| > > |
Go to http://yourdomain.com/bin/testenv - this provides a lot of detail, including warnings. Write down the Apache server"s userid that is given by this script - typically either "system" or "administrator" - I"ll assume "system" from now on. | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
If something goes wrong: to restore your existing files from the backup, just type tar xzvf all-files.tar.gz and all your files, both .txt and .txt,v, will be back as they were before the edits.
| ||||||||
| Line: 123 to 123 | ||||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
If anything doesn't work, go back and check the configuration of the Apache httpd.conf file, and TWiki.cfg. Have a look at the Apache error log, c:/apache/logs/error_log ,and the TWiki error log, /twiki/data/log*.txt ,and if necessary enable debugging on selected scripts (the commands are right at the top of each script) - the results go into /twiki/data/debug.txt .There is also a /twiki/data/warning.txt file that contains less serious messages.
| |||||||
| > > |
If anything doesn"t work, go back and check the configuration of the Apache httpd.conf file, and TWiki.cfg. Have a look at the Apache error log, c:/apache/logs/error_log ,and the TWiki error log, /twiki/data/log*.txt ,and if necessary enable debugging on selected scripts (the commands are right at the top of each script) - the results go into /twiki/data/debug.txt .There is also a /twiki/data/warning.txt file that contains less serious messages.
[[
[[ ][]]
[[ ][]]][]]
[[[[ ][]]][]]][]]
[[[[[[ ][]]][]]][]]][]]
[[[[[[rolex replica]]]]]]]]]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-handbags/][replica][handbags]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-jersey/][replica][jersey]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-watches/][replica][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/designer-replicas/][designer][replicas]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/louis-vuitton-replicas/][louis][vuitton][replicas]]]]]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/casio-watches/][casio][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/fossil-watches/][fossil][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/gucci-watches/][gucci][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/invicta-watches/][invicta][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/omega-watches/][omega][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/seiko-watches/][seiko][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/swiss-watcheses/][swiss][watcheses]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/tag-heuer-watches/][tag][heuer][watches]]]]]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/timex-watches/][timex][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/watches-strap/][watches][strap]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/breitling-watches/][breitling][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/cartier-watches/][cartier][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/nike-watches/][nike][watches]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/wrist-watches/][wrist][watches]]]]][]]][]]][]]][]]
breitling?][]]][]]][]]][]]][]]
breil?][]]][]]][]]][]]][]]
bulova?][]]][]]][]]][]]][]]
chronograph?][]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/acer-ferrari/][acer][ferrari]]]]][]]][]]][]]][]]
horloges?][]]][]]][]]][]]][]]
invicta?][]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/coach-knockoff/][coach][knockoff]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/knockoff-handbag/][knockoff][handbag]]]]][]]][]]][]]][]]
movado?][]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/oakley-sunglasses/][oakley][sunglasses]]]]][]]][]]][]]][]]
[[[[[[[[[[[[http://g.1asphost.com/tissot/omega-seamaster/][omega][seamaster]]]]][]]][]]][]]][]]
orologi?][]]][]]][]]][]]][]]
panerai?][]]][]]][]]][]]][]]
relojes?][]]][]]][]]][]]][]]
tissot?][]]][]]][]]][]]][]]
[[[[[[[[[[ ][]]][]]][]]][]]][]]
[[[[[[[[[[
[[ ][]]
[[ ][]]][]]
[[[[ ][]]][]]][]]
[[[[[[ ][]]][]]][]]][]]
[[[[[[[[ ][]]][]]][]]][]]][]]
[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[rolex replica]]]]]]]]]]]]]]]]]]]]]]]]]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-handbags/][replica][handbags]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-jersey/][replica][jersey]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/replica-watches/][replica][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/designer-replicas/][designer][replicas]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/louis-vuitton-replicas/][louis][vuitton][replicas]]]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/casio-watches/][casio][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/fossil-watches/][fossil][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/gucci-watches/][gucci][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/invicta-watches/][invicta][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/omega-watches/][omega][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/seiko-watches/][seiko][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/swiss-watcheses/][swiss][watcheses]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/tag-heuer-watches/][tag][heuer][watches]]]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/timex-watches/][timex][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/watches-strap/][watches][strap]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/breitling-watches/][breitling][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/cartier-watches/][cartier][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/nike-watches/][nike][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/wrist-watches/][wrist][watches]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
breitling?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
breil?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
bulova?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
chronograph?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/acer-ferrari/][acer][ferrari]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
horloges?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
invicta?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/coach-knockoff/][coach][knockoff]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/knockoff-handbag/][knockoff][handbag]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
movado?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/oakley-sunglasses/][oakley][sunglasses]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[[[http://g.1asphost.com/tissot/omega-seamaster/][omega][seamaster]]]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
orologi?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
panerai?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
relojes?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
tissot?][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[[[ ][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]][]]
[[[[[[[[[[[[[[[[[[[[[[[[ | |||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
Nutshell Summary of Windows Install CookbookThis summary of WindowsInstallCookbook is for you if:
The EssentialsTWiki will run on any combination of Operating System + Perl + Webserver. TWiki requires all three but doesn't care which three. Each permutation has its own quirks to deal with. Which combination is easiest depends on your personal background and experience. This guide covers only one possible configuration of many: Windows 2000/XP + Perl-Cygwin + Apache-Win32. TWiki also requires the RCS revision control system but is more picky about which flavour (this guide uses RCS-cygwin). Head to http://twiki.org/ and download the latest release.Download, Install & Test Apache-Win32http://www.apache.org/dyn/closer.cgi and download apache_1.3.X-win32-x86-no_src.msi where 'X' is 20 or higher. There are some issues with Apache 2, see TWiki:Codev.IssuesWithApache2dot0.Download, Install & Test Cygwinhttp://cygwin.com, and click the Install Cygwin Now link. Save the setup.exe in a directory, e.g. c:\download\cygwin-dist. Run the Cygwin setup.exe file - this will also install Perl and RCS in one fell swoop.
HOME environment variable to c:\cygwin\home\administrator through the Control Panel, System applet.
Fire up Cygwin and verify the version numbers are correct. RCS: 5.7, Perl: 5.6.1.
Configure cygwin for binary mode omitting this step leads to a partially working system that corrupts RCS files.
Configure ApacheEditc:/apache/conf/httpd.conf and adapt to local environment as necessary. Change
<Directory "C:/twiki/bin/">
# Changing default None to All in next line, to enable .htaccess
AllowOverride All
Allow From All
Options ExecCGI
SetHandler cgi-script
</Directory>
# Environment setup required to run Apache as service or as a
# standalone process.
<IfModule mod_env.c>
# Adjust TZ for your server timezone, e.g. EST5EDT - put the non-daylight-savings
# timezone code first (e.g. EST or GMT), followed by the number of hours that it's behind GMT
# during non-daylight-savings time (use '-5' for timezones in advance of GMT).
SetEnv TZ GMT0BST
SetEnv RCSINIT -x,v/
# Adjust TEMP and TMP for your server and create directories if necessary
SetEnv TEMP c:/temp
SetEnv TMP c:/temp
SetEnv LOGNAME system
SetEnv HOME c:/twiki
</IfModule>
Add an AddHandler line to the <IfModule mod_mime.c> section of httpd.conf - this removes the need to rename all the TWiki CGI scripts later in the installation. Note the trailing '.' on the AddHandler line.
#
# Document types
#
<IfModule mod_mime.c>
# TWiki setup - avoid renaming scripts
AddHandler cgi-script .
</IfModule>
Install TWikiDownload the latest TWiki release and save it in the c:/twiki directory. Unzip in place.Configure TWikiEditc:/twiki/lib/TWiki.cfg and adapt to local environment. Pay attention to the section "# variables that need to be changed when installing on a new server:". Example values (assumes cygwin-perl is being used. ActiveState users need a different syntax. Read the real cookbook for details,):
$wikiHomeUrl = "http://yourdomain.com/bin/view"; $defaultUrlHost = "http://yourdomain.com"; $scriptUrlPath = "/bin"; $pubUrlPath = "/pub"; $pubDir = "/twiki/pub"; $templateDir = "/twiki/templates"; $dataDir = "/twiki/data"; $safeEnvPath = "/bin"; $rcsDir = "c:/cygwin/bin"; $egrepCmd = "/bin/grep -E"; $fgrepCmd = "/bin/grep -F"; Edit the CGI ScriptsYou must use the Cygwin shell to do this (unless you are a Perl expert) - don't use the Windows command shell, cmd.exe (aka DOS Prompt). Change#!/usr/bin/perl -wT to #!c:/cygwin/bin/perl -wT . Example script to do this (explanation):
Perl module installationFrom the Cygwin shell, typeexport TEMP=/c/temp (add it to ~/.profile), then fire up
Re-lock RCS filesGo to http://yourdomain.com/bin/testenv - this provides a lot of detail, including warnings. Write down the Apache server's userid that is given by this script - typically either 'system' or 'administrator' - I'll assume 'system' from now on.
tar xzvf all-files.tar.gz and all your files, both .txt and .txt,v, will be back as they were before the edits.
After a few days of everything working well come back and delete the files which end with ~~~.
Email SetupSet theSMTPMAILHOST variable in TWikiPreferences to an SMTP email host that is reachable and currently working. In the same place, you also want to change WIKIWEBMASTER and SMTPSENDERHOST.
Testing your TWiki Installation
c:/apache/logs/error_log ,and the TWiki error log, /twiki/data/log*.txt ,and if necessary enable debugging on selected scripts (the commands are right at the top of each script) - the results go into /twiki/data/debug.txt .There is also a /twiki/data/warning.txt file that contains less serious messages.
| |||||||