TWikiInstallationGuide 48 - 21 Sep 2002 - Main.PeterThoeny
|
|
TWiki Installation Guide | | NOTE: If you don't have access to your Web server configuration files - for example, if you're installing on an ISP-hosted account - use the alternative Step 1 instead. | |
< < |
- Create directory
/home/httpd/twiki and unzip the TWiki distribution into this directory.
| > > |
- 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.
- The
twiki/pub directory of TWiki must be set so that it is visible as a URL. Add /home/httpd/twiki to file httpd.conf with normal access options (copy from /home/httpd/html ).
- Now add
ScriptAlias for /twiki/bin and Alias for /twiki to file httpd.conf .
|
|
TWikiInstallationGuide 47 - 02 Aug 2002 - Main.PeterThoeny
|
|
TWiki Installation Guide | |
- Set the permission of all files below
twiki/data so that they are writable by user nobody . A simple way is to chmod them to -rw-rw-r-- (664) and to chown them to nobody .
- Set the permission of the
twiki/data directory and its subdirectories so that files in there are writable by user nobody . A simple way is to chmod them to drwxrwxr-x (775) and to chown them to nobody .
- 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 drwxrwxr-x (775) and to chown them to nobody .
| |
< < |
- The
twiki/data/*/*.txt,v RCS repository files in the installation package are locked by user nobody . If your CGI scripts are not running as user nobody , it's not possible to check in files (you'll see that the revision number won't increase after saving a topic). In this case, you need to unlock all repository files (check the RCS man pages) and lock them with a different user, ex www-data , or delete them all - new files will be automatically created the first time each topic is edited. A simple way to change ownership is with a search-and-replace in all files; for example, using sed:
| > > |
- The
twiki/data/*/*.txt,v RCS repository files in the installation package are locked by user nobody . If your CGI scripts are not running as user nobody , it's not possible to check in files (you'll see that the revision number won't increase after saving a topic). In this case, you need to unlock all repository files (check the RCS man pages) and lock them with a different user, ex www-data , or delete them all - new files will be automatically created the first time each topic is edited. A simple way to change ownership is with a search-and-replace in all files; for example, using perl:
| |
cd twiki/data
| |
< < | for f in /,v; do sed 's/nobody\:/www-data\:/' $f > x; mv -f x $f; done | > > | perl -pi -e 's/nobody:/www-data:/' /,v | |
| |
< < | Note that this is not required if you use the Perl based RCS implementation - see Dataframework. | | Step 3: Set the Main Configuration File |
|
TWikiInstallationGuide 46 - 07 Jul 2002 - Main.PeterThoeny
|
|
TWiki Installation Guide | |
-
-
- The browser should ask for login name and password when you click on the Edit link. In case
.htaccess does not have the desired effect, you need to enable it: Add "AllowOverride All" to the Directory [3] section of access.conf for your twiki/bin directory.
- This applies only if you have root access: on hosted accounts, you shouldn't have this problem - otherwise, email tech support.
- NOTE: In the TWiki distribution package, the
twiki/data/.htpasswd.txt file contains several TWiki core team user accounts and a guest user account. You probably want to remove those accounts by deleting the entries in .htpasswd . Do not remove the guest user if you want to allow guest logins.
| |
< < |
-
- Copy the TWikiRegistrationPub? topic to TWikiRegistration. Do that by either editing the topics in theTWiki web, or by renaming the
.txt and .txt,v files in the twiki/data/TWiki directory.
| > > |
-
- Copy the TWikiRegistrationPub? topic to TWikiRegistration, overwriting old version of TWikiRegistration. Do that by either editing the topics in theTWiki web, or by renaming the
.txt and .txt,v files in the twiki/data/TWiki directory.
| |
-
-
- HINT: You can customize the registration form by 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 ensures that the fields are processed correctly.
- Register yourself in the TWikiRegistration topic.
- NOTE: When a user registers, a new line with the username and encrypted password is added to the
data/.htpasswd file. The .htpasswd file that comes with the TWiki installation includes user accounts for TWiki core team members that are used for testing on TWiki.org. You can edit the file and delete those lines.
|
|
TWikiInstallationGuide 45 - 16 May 2002 - Main.MikeMannix
|
|
TWiki Installation Guide | |
< < | Installation instructions for the TWiki 01-Sep-2001 production release | > > | Installation instructions for the TWiki 01-Dec-2001 production release. Update notes for the new RCS configuration are marked Dataframework. | | These installation steps are based on the Apache Web server on Linux. TWiki runs on other Web servers and Unix systems, and should be fine with any OS and server that meet the system requirements? . Documentation for other platforms is currently limited. For Windows, check TWiki:Codev/TWikiOnWindows. Search the TWiki:Codev web for other intallation notes.
Standard Installation | |
< < | Request and download the TWiki 01-Sep-2001 distribution in Unix ZIP format from http://TWiki.org/download.html. (To install TWiki on SourceForge, for use on a software development project, read TWiki:Codev/SourceForgeHowTo .) | > > | Request and download the TWiki 01-Dec-2001 distribution in Unix ZIP format from http://TWiki.org/download.html. (To install TWiki on SourceForge, for use on a software development project, read TWiki:Codev/SourceForgeHowTo .) | | Step 1: Create & Configure the Directories | | for f in /,v; do sed 's/nobody\:/www-data\:/' $f > x; mv -f x $f; done
| |
> > | Note that this is not required if you use the Perl based RCS implementation - see Dataframework. | | Step 3: Set the Main Configuration File
- Edit the file
twiki/lib/TWiki.cfg , setting the variables to your needs.
- Set the file extension in the
$scriptSuffix variable to cgi or pl if required.
| |
< < |
-
- Make sure RCS is installed. Set
$rcsDir in twiki/lib/TWiki.cfg to mach the location of your RCS binaries. You can check this by issuing the comand rcs at the prompt, it should result in something like "rcs: no input file" .
| > > |
-
- RCS - revision control system to store revsion of topics and attachments. You can use RCS executables or a version of RCS written in Perl, note that as the time of writing (Apr 2002) the Perl version has not been widely tested, so if you want to put up a live site the RCS executables are recommended. (Dateframework - prior version of TWiki only support the RCS executables and do not have the config setting
$storeTopicImpl )
- Set
$storeTopicImpl = "RcsLite"; for the Perl based RCS
- Set
$storeTopicImpl = "RcsWrap"; for the RCS execuatbles and make sure RCS is installed. Set $rcsDir in twiki/lib/TWiki.cfg to mach the location of your RCS binaries. You can check this by issuing the comand rcs at the prompt, it should result in something like "rcs: no input file" .
| |
- Security issue: Directories
twiki/data , twiki/templates and all its subdirectories should be set so that they are not visible as a URL. (Alternatively, move the directories to a place where they are not visible, and change the variables in twiki/lib/TWiki.cfg accordingly)
- Test your settings by running the
testenv script from your browser: http://yourdomain.com/twiki/bin/testenv . Check if your twiki/lib/TWiki.cfg configuration file settings are correct.
| |
-
-
- NOTE: If you had to add a
.cgi or .pl file extension to the bin scripts, make sure to do the same for edit , view , preview , and all the other script names in .htaccess .
- The browser should ask for login name and password when you click on the Edit link. In case
.htaccess does not have the desired effect, you need to enable it: Add "AllowOverride All" to the Directory [3] section of access.conf for your twiki/bin directory.
- This applies only if you have root access: on hosted accounts, you shouldn't have this problem - otherwise, email tech support.
| |
< < |
-
-
- NOTE: In the TWiki distribution package, tje
twiki/data/.htpasswd.txt file contains several TWiki core team user accounts and a guest user account. You probably want to remove those accounts by deleting the entries in .htpasswd . Do not remove the guest user if you want to allow guest logins.
| > > |
-
-
- NOTE: In the TWiki distribution package, the
twiki/data/.htpasswd.txt file contains several TWiki core team user accounts and a guest user account. You probably want to remove those accounts by deleting the entries in .htpasswd . Do not remove the guest user if you want to allow guest logins.
| |
-
- Copy the TWikiRegistrationPub? topic to TWikiRegistration. Do that by either editing the topics in theTWiki web, or by renaming the
.txt and .txt,v files in the twiki/data/TWiki directory.
- HINT: You can customize the registration form by 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 ensures that the fields are processed correctly.
| | TWiki File System Info | |
< < | See Appendix A: TWiki File System? for an installed system snapshot and descriptions of all files in the TWiki 01-Sep-2001 distribution. | > > | See Appendix A: TWiki File System? for an installed system snapshot and descriptions of all files in the TWiki 01-Dec-2001 distribution. | | -- PeterThoeny - 13 Sep 2001
| |
< < | -- MikeMannix? - 27 Jan 2002 | > > | -- MikeMannix? - 16 May 2002 | |
META TOPICMOVED | by="MikeMannix" date="999319650" from="TWiki.TWikiInstallationNotes" to="TWiki.TWikiInstallationGuide" |
|
|
TWikiInstallationGuide 44 - 07 Apr 2002 - Main.PeterThoeny
|
|
TWiki Installation Guide | |
-
- Customize the
%WEBTOPICLIST% variable to contain the web-specific links you prefer.
- Set the WEBBGCOLOR variable to a color. The number represents the unique color for the web.
- Set Plugins, access privileges, custom variables, other web-level options (ex:
%WEBCOPYRIGHT% can be set for an individual web).
| |
< < |
- Add the new web to the color-coded web directory table by editing the TWikiWebsTable topic.
| |
- Test the new web: view pages, create a new page.
That's it for a basic new web set-up! |
|
Revision 48 | r48 - 21 Sep 2002 - 16:03:21 - PeterThoeny? |
Revision 47 | r47 - 02 Aug 2002 - 20:50:46 - PeterThoeny? |
Revision 46 | r46 - 07 Jul 2002 - 06:43:55 - PeterThoeny? |
Revision 45 | r45 - 16 May 2002 - 05:24:00 - MikeMannix? |
Revision 44 | r44 - 07 Apr 2002 - 10:27:00 - PeterThoeny? |
Revision 43 | r43 - 27 Jan 2002 - 13:04:00 - MikeMannix? |
|
|
This site is powered by the TWiki collaboration platform. All material on this collaboration platform is the property of the contributing authors. All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
|
|