Changeset 13798


Ignore:
Timestamp:
01/24/12 04:40:16 (4 weeks ago)
Author:
GeorgeClark
Message:

Item11467: Update perl requirements

And some other distribution related information.

Location:
branches/Release01x01/core/data/System
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x01/core/data/System/InstallationGuidePart1.txt

    r12748 r13798  
    285285 
    286286#SystemRequirements 
    287 ---+++ Foswiki system requirements 
    288  
    289 Foswiki is capable of running on a variety of operating systems and supporting a wide range of browsers, due to its minimal client and server requirements. 
    290  
    291 ---++++ Server requirements 
    292  
    293 Foswiki is written in Perl 5, which is supported on Microsoft Windows as well as Unix and Unix-like systems (including Linux and OSX), on which it uses a number of shell commands and <a href="http://www.gnu.org/software/rcs/rcs.html" rel="nofollow" target="_top">RCS (Revision Control System)</a>, a GNU Free Software package. It should be able to run on any server platform that meets the following requirements. 
    294  
    295 | *Resource* | *Required Server Environment* | 
    296 | Perl | 5.8.8 or higher is recommended and it will run with Perl >=5.8.4 and <5.8.8 but this is untested. It also runs in Perl 5.6.1 but only with Wysiwyg editor disabled. Wysiwyg requires Unicode support which is provided by perl 5.8.1 onwards. | 
    297 | RCS | 5.7 or higher (including GNU =diff=) <br /> Optional. Foswiki includes a pure Perl implementation of RCS (RcsLite) that can be used instead, at the cost of performance | 
    298 | GNU diff | GNU diff 2.7 or higher is required when not using the all-Perl RcsLite. <br /> Install within the PATH if not included with RCS (check version with =diff -v=) <br /> Must be the version used by RCS, to avoid problems with binary attachments - RCS may have hard-coded path to =diff= | 
    299 | Other external programs | =fgrep, egrep= | 
    300 | Cron/scheduler | &bull; Unix: =cron= <br />&bull; Windows: =cron= equivalents <!-- SMELL: Macintosh version? --> | 
    301 | Web server | Apache is well supported; for information on other servers, see Foswiki:Support.InstallingOnSpecificPlatforms. | 
    302  
    303 ---++++ CPAN modules 
    304  
    305 Most of the <a href="http://cpan.perl.org/" rel="nofollow" target="_top">CPAN</a> libraries used by Foswiki are part of a standard Perl installation >=5.8.8 (recommended). A version >=5.8.4 and <5.8.8 will also work although untested. Please see Foswiki:Support.HowToInstallCpanModules for detailed information on how to install any !CPAN libraries not yet present in your installation. 
    306  
    307 A more complete module status is listed in Foswiki [[%SCRIPTURLPATH{"configure"}%][configure]] (Foswiki 1.0.x: _CGI Setup_, 1.1.x: _Web Server Environment > Perl modules_). It should be easier to deal with CPAN modules from this perspective. 
    308  
    309 The following CPAN modules are shipped with Foswiki, require a comment or may optionally be needed. In case the standard Foswiki will be enhanced with Foswiki:Extensions, please look at the related extension page for dependencies which may require additional modules. Try the script =dependencies_installer.pl= located in the =tools= directory, which makes perl module installation easier. Run it with option =-h= to understand basics. This script requires confirmation before it actually does something. 
    310  
    311 %TABLE{ initsort="3" initdirection="up" }% 
    312 | *Module* | *Preferred version* | *Required/Optional* | *Description* | 
    313 | Algorithm::Diff | | %ORANGE%Required%ENDCOLOR% | *Included* with Foswiki | 
    314 | Apache::Htpasswd | | Optional | May be required for !ApacheHtpasswd password manager | 
    315 | Archive::Tar | | Optional | May be required by the Extensions Installer in configure if command line tar or unzip is not available, since Perl 5.9.3 part of core. | 
    316 | Archive::Zip | | Optional | Alternative to Archive::Tar, used by the Extensions Installer if Archive::Tar also unavailable | 
    317 | CGI | Versions 2.89, 3.37, 3.43, and 3.47 must be avoided. Most versions from 3.15 and onwards should work. | %ORANGE%Required%ENDCOLOR% | *Included* with Perl core since Perl 5.4 | 
    318 | CGI::Session |  | Optional | Required for Sessions support, available from the CPAN archive | 
    319 | Error | | %ORANGE%Required%ENDCOLOR% | *Included* with Foswiki | 
    320 | Digest::SHA | | Optional | May be required for password encryption, since Perl 5.9.3 part of core | 
    321 | Digest::SHA1 | | Optional | | 
    322 | Encode::compat | | Optional | May be required for international characters | 
    323 | HTML::Entities | | Optional | Required for Foswiki:Extensions.WysiwygPlugin | 
    324 | HTML::Parser | | Optional | Required for Foswiki:Extensions.WysiwygPlugin | 
    325 | Lingua::EN::Sentence | | Optional | May be required for generating new language files | 
    326 | Locale::Maketext::Lexicon | &gt;=0 | Optional | Used for !I18N support | 
    327 | LWP | | Optional | Required for the Configure Extensions Installer, and for external URL based INCLUDEs | 
    328 | URI | | Optional | Required by the [[%SCRIPTURLPATH{"configure"}%][configure]] script | 
    329 | Win32::Console | | Optional | May be required for Windows | 
    330  
    331 You can check version numbers with the [[%SCRIPTURLPATH{"configure"}%][configure]] script, or if you're still trying to get to that point, check from the command line (replace "ModuleName" with the name of the module): 
    332  
    333 <verbatim class="bash">perl -le 'use ModuleName; print "ModuleName"->VERSION' </verbatim> 
    334  
    335 #ClientRequirements 
    336 ---++++ Client requirements 
    337  
    338 Browser clients must support the following capabilities: 
    339  
    340    * HTML 3.2 
    341    * Cookie support enabled, if persistent sessions are required 
    342  
    343 Most skins also require CSS and Javascript support. There is a low-fat skin ([[System.PlainSkin][Plain]]) that minimises these requirements. Some skins require newer browser version. The default skin ([[System.PatternSkin][Pattern]]) is tested on IE 6, Safari, and Mozilla 5.0 based browsers (such as Firefox). 
    344  
    345 You can easily select a balance of browser capability versus look and feel. Try the installed skins in the [[skin browser]] and more at Foswiki:Extensions.SkinPackage. 
     287---++ Foswiki system requirements 
     288%INCLUDE{"SystemRequirements"}% 
    346289 
    347290#UploadingFoswikiDistribution 
  • branches/Release01x01/core/data/System/SystemRequirements.txt

    r12748 r13798  
    1 %META:TOPICINFO{author="ProjectContributor" date="1284973002" format="1.1" version="1"}% 
     1%META:TOPICINFO{author="ProjectContributor" date="1291655311" format="1.1" version="1"}% 
    22%META:TOPICPARENT{name="ReferenceManual"}% 
     3---+!! Foswiki System Requirements 
    34%STARTINCLUDE% 
    4 ---+ System Requirements 
    55 
    6 _Server and client requirements_ 
     6Low client and server base requirements are core features that keep Foswiki widely deployable, particularly across a range of browser platforms and versions. Many extensions exist which enhance and expand Foswiki's capabilities; they may have additional requirements. 
    77 
    8 Low client and server base requirements are core features that keep Foswiki widely deployable, particularly across a range of browser platforms and versions.  Many extensions exist which enhance and expand Foswiki's capabilities; they may have additional requirements. 
     8%TOC{title="Contents"}% 
    99 
    10 %TOC% 
     10---+++ Server Requirements 
    1111 
    12 ---++ Server Requirements 
     12Foswiki is written in Perl 5, which is supported on Microsoft Windows as well as Unix and Unix-like systems (including Linux and OSX), on which it uses a number of shell commands and <a href="http://www.gnu.org/software/rcs/rcs.html" rel="nofollow" target="_top">RCS (Revision Control System)</a>, a GNU Free Software package. It should be able to run on any server platform that meets the following requirements. 
    1313 
    14 The code is written in Perl 5, and uses a number of shell commands from perl. 
    15 The default package requires [[http://www.gnu.org/software/rcs/rcs.html][RCS (Revision Control System)]], a GNU Free Software package. Foswiki is developed in a basic Linux/Apache environment. It also works with Microsoft Windows, and should have no problem on any other platform that meets the requirements. 
    16  
    17 | *Resource* | *Required Server Environment *<nop>* | 
    18 | Perl | 5.8.0 or higher (5.8.4 or higher is recommended) | 
    19 | RCS | 5.7 or higher (including GNU =diff=) %BR% Optional, Foswiki includes a pure perl implementation of RCS that can be used instead (although it's slower) | 
    20 | GNU =diff= | GNU =diff= 2.7 or higher is required when not using the all-Perl <nop>RcsLite.  %BR% Install on PATH if not included with RCS (check version with =diff -v=)  %BR% Must be the version used by RCS, to avoid problems with binary attachments - RCS may have hard-coded path to =diff= | 
    21 | GNU =patch= | For upgrades only: GNU =patch= is required when patching the code using patches in diff format submitted by the community. | 
    22 | GNU =fgrep=, =egrep= | Modify command line parameters in configure if you use non-GNU grep programs | 
    23 | Cron/scheduler | %BULLET% Unix: =cron= %BB% Windows: =cron= equivalents <!-- SMELL: Macintosh version? --> | 
    24 | Web server | Apache is well supported; see Foswiki:Support.InstallingOnSpecificPlatforms for alternative options. | 
     14| *Resource* | *Required Server Environment* | 
     15| Perl | 5.8.8 or higher | 
     16| RCS | 5.7 or higher (including GNU =diff=) <br /> Optional. Foswiki includes a pure Perl implementation of RCS (RcsLite) that can be used instead, at the cost of performance | 
     17| GNU diff | GNU diff 2.7 or higher is required when not using the all-Perl RcsLite. <br /> Install within the PATH if not included with RCS (check version with =diff -v=) <br /> Must be the version used by RCS, to avoid problems with binary attachments - RCS may have hard-coded path to =diff= | 
     18| Other external programs | =fgrep, egrep= | 
     19| Cron/scheduler | &bull; Unix: =cron= <br />&bull; Windows: =cron= equivalents <!-- SMELL: Macintosh version? --> | 
     20| Web server | Apache is well supported; for information on other servers, see Foswiki:Support.InstallingOnSpecificPlatforms. | 
    2521 
    2622---+++ Perl Modules 
     23 
    2724A complete list of the required and optional Perl modules can be found in =lib/DEPENDENCIES=. 
    2825 
     26The following CPAN modules are not shipped with Foswiki. Note that Foswiki extensions may add additional requirements. 
     27Modules marked as Required may still be optional if certain default core features are not used. 
     28 
     29| *Module* | *Required/Optional* | *Description* | 
     30| CGI::Session | Required | Sessions support is usually required. | 
     31| HTML::Entities | Required | Used for [[Foswiki:Extensions.WysiwygPlugin][WYSIWYG Editing]] | 
     32| HTML::Parser | Required | Used for [[Foswiki:Extensions.WysiwygPlugin][WYSIWYG Editing]] | 
     33| HTML::Tree | Required | Used by CompareRevisionAddOn. | 
     34| URI | Required | Used for email notifications of topic changes. [[Foswiki::Extensions.MailerContrib][MailerContrib]] | 
     35| LWP | Required | Used by the Configure Extensions Installer, and for external URL based INCLUDEs | 
     36| Digest::SHA | Optional | Required to use SHA1 password encoding, since Perl 5.9.3 part of core | 
     37| Crypt::PasswdMD5 | Optional | Required to use Apache or Crypt MD5 password encoding, and crypt encoding on Windows | 
     38| Digest::SHA1 | Optional | Required by the Foswiki FileCache feature | 
     39| Win32::Console | Optional | May be required for I18N on Windows | 
     40| Archive::Tar | Optional | Required by the Extensions Installer in configure if command line tar or unzip is not available, since Perl 5.9.3 part of core. | 
     41| Archive::Zip | Optional | Alternative to Archive::Tar, used by the Extensions Installer if Archive::Tar and command line tar and unzip also unavailable | 
     42| Net::SMTP::SSL | Optional | Required by Net::SMPT to send email over SSL to providers such as gmail. | 
     43| Authen::SASL | Optional | Required by Net::SMTP if email server requires authentication. | 
     44 
     45 
    2946Most of them will probably already be available in your installation. You can check version numbers with the =configure= script, or if you're still trying to get to that point, check from the command line like this: 
    30 <!--%JQREQUIRE{"chili"}%--><verbatim class="bash"> 
     47<verbatim class="bash"> 
    3148perl -e 'use FileHandle; print $FileHandle::VERSION."\n"' 
    3249</verbatim> 
     50For more detailed dependency information, try the script =dependencies_installer.pl= located in the =tools= directory, which makes perl module installation easier. Run it with option =-h= to understand basics. This script requires confirmation before it actually does something. 
    3351 
     52---+++ Specific distribution details 
     53<noautolink> 
     54---++++!! Ubuntu and other Debian derived distributions 
     55%TWISTY{ showlink="Show Debian / Ubuntu information" hidelink="Hide Debian details"}% 
    3456 
     57Install apache and rcs ==apt-get install apache2 rcs== 
     58 
     59| *Perl Module* | *Package to install* | *Notes* | 
     60| CGI::Session | =libcgi-session-perl= | | 
     61| HTML::Parser | =libhtml-parser-perl= | | 
     62| HTML::Entities | | included with HTML::Parser | 
     63| HTML::Tree | =libhtml-tree-perl= | | 
     64| LWP | =libwww-perl= | | 
     65| Digest::SHA | =libdigest-sha-perl= | | 
     66| Digest::SHA1 | =libdigest-sha1-perl= | | 
     67| URI | =liburi-perl= | | 
     68| Crypt::PasswdMD5 | =libcrypt-passwdmd5-perl= | | 
     69| Net::SMTP::SSL | =libnet-smtp-ssl= | | 
     70| Authen::SASL | =libauthen-sasl= | note, broken on Ubuntu 11.10 x64.  Install using CPAN! | 
     71 
     72After expanding the Foswiki archive, change the ownership of the files: 
     73   * Debian, Ubuntu, Kubunto: =chown -R www-data:www-data /path/to/foswiki= 
     74 
     75%ENDTWISTY{}% 
     76 
     77---++++!! RedHat, SuSE, CentOS and other RPM based distributions 
     78%TWISTY{ showlink="Show RetHat, SuSE and other RPM details" hidelink="Hide RPM details"}% 
     79 
     80Install apache2, rcs, and perl-CPAN 
     81 
     82| *Perl Module* | *Package to install* | *Notes* | 
     83| CGI::Session | =perl-CGI-Session= | | 
     84| HTML::Parser | =perl-HTML-Parser= | | 
     85| HTML::Entities | | included with HTML::Parser | 
     86| HTML::Tree | =perl-HTML-Tree= | | 
     87| LWP | =perl-libwww-perl= | | 
     88| Digest::SHA | =perl-Digest-SHA= | | 
     89| Digest::SHA1 | =perl-Digest-SHA1= | | 
     90| URI | =perl-URI= | | 
     91| Crypt::PasswdMD5 | =perl-Crypt-PasswdMD5= | | 
     92| Net::SMTP::SSL | =perl-Net-SMPT-SSL= | | 
     93| Authen::SASL | =perl-Authen-SASL= | | 
     94 
     95After expanding the Foswiki archive, change the ownership of the files: 
     96   * RedHat, Fedora, CentOS Mandriva: chown -R apache:apache /path/to/foswiki= 
     97   * Suse: =chown -R wwwrun:www /path/to/foswiki= 
     98 
     99%ENDTWISTY{}% 
     100 
     101</noautolink> 
    35102#ClientRequirements 
    36 ---++ Client Requirements 
     103---+++ Client Requirements 
    37104 
    38105The [[InstallationGuide][standard installation]] has relatively low browser requirements: 
     
    42109   * Javascript, for edit/save/upload functionality <blockquote class="foswikiHelp">%T% Change ={ValidationMethod}{Method}= from =strikeone= to =embedded= in [[%SCRIPTURLPATH{"configure"}%][configure]] to allow non-javascript browsers to edit/save/upload</blockquote> 
    43110 
    44 CSS and Javascript are used in most skins. Some skins will require more recent releases of browsers. The default skin is tested on IE 6, 7, Safari 3.0, and recent Mozilla based browsers (such as Firefox). 
     111CSS and Javascript are used in most skins. Some skins will require more recent releases of browsers. The default skin is tested on IE 6+, Safari, Chrome and Firefox. 
    45112 
    46113You can easily select a balance of browser capability versus look and feel. Try the installed skins at %SYSTEMWEB%.SkinBrowser and more at Foswiki:Extensions.SkinPackage. 
    47114 
    48 ---++ Important note about Plugins 
    49  
    50    * Plugins can require just about anything -  browser-specific functions, stylesheets (CSS), Java applets, cookies, specific Perl modules,... - check the individual Plugin specs. 
    51  
     115%STOPINCLUDE% 
    52116--- 
    53117*Related Topics:* AdminDocumentationCategory 
     118 
     119<!--%JQREQUIRE{"chili"}%--> 
Note: See TracChangeset for help on using the changeset viewer.