You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2007/08/30 16:13:15 UTC
[Nutch Wiki] Update of "GettingNutchRunningWithDebian" by Ted Guild
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by Ted Guild:
http://wiki.apache.org/nutch/GettingNutchRunningWithDebian
The comment on the change is:
removing BR noise on conf example
------------------------------------------------------------------------------
Under Debian Etch, the Catalina configuration files are located under '''/etc/tomcat5.5/policy.d''' At runtime they are combined into a single file, ''/usr/share/tomcat5.5/conf/catalina.policy'' Do not edit the latter, as it will be overwrittten.[[BR]]
At the end of /etc/tomcat5.5/policy.d/04webapps.policy include the following code:[[BR]]
- {{{grant codeBase "file:/usr/share/tomcat5.5-webapps/-\"'' {[[BR]]
+ {{{grant codeBase "file:/usr/share/tomcat5.5-webapps/-\"'' {
- permission java.util.PropertyPermission "user.dir", "read";[[BR]]
+ permission java.util.PropertyPermission "user.dir", "read";
- permission java.util.PropertyPermission "java.io.tmpdir", "read,write";[[BR]]
+ permission java.util.PropertyPermission "java.io.tmpdir", "read,write";
- permission java.util.PropertyPermission "org.apache.*", "read,execute";[[BR]]
+ permission java.util.PropertyPermission "org.apache.*", "read,execute";
- permission java.io.FilePermission "/usr/local/nutch/crawls/-" , "read";[[BR]]
+ permission java.io.FilePermission "/usr/local/nutch/crawls/-" , "read";
- permission java.io.FilePermission "/var/lib/tomcat5.5/temp", "read";[[BR]]
+ permission java.io.FilePermission "/var/lib/tomcat5.5/temp", "read";
- permission java.io.FilePermission "/var/lib/tomcat5.5/temp/-", "read,write,execute,delete";[[BR]]
+ permission java.io.FilePermission "/var/lib/tomcat5.5/temp/-", "read,write,execute,delete";
- permission java.lang.RuntimePermission "createClassLoader", "";[[BR]]
+ permission java.lang.RuntimePermission "createClassLoader", "";
- permission java.security.AllPermission;[[BR]]
+ permission java.security.AllPermission;
- };[[BR]]}}}
+ };}}}
'''Warning: The last line here was necessary in order to make things work for me. If anybody can supply a more restrictive permission set, please do so!!! The effects of this are unknown'''[[BR]]
== Install Multiple Copies of Nutch under Tomcat5.5 and Prepare for Searching ==