Author: reto
Date: Thu Jun 16 14:14:45 2011
New Revision: 1136448
URL: http://svn.apache.org/viewvc?rev=1136448&view=rev
Log:
added section on forwarding ports
Modified:
incubator/clerezza/site/trunk/graph.nt
Modified: incubator/clerezza/site/trunk/graph.nt
URL:
http://svn.apache.org/viewvc/incubator/clerezza/site/trunk/graph.nt?rev=1136448&r1=1136447&r2=1136448&view=diff
==============================================================================
--- incubator/clerezza/site/trunk/graph.nt (original)
+++ incubator/clerezza/site/trunk/graph.nt Thu Jun 16 14:14:45 2011
@@ -112,9 +112,35 @@
<http://localhost:8080/getting-started/install-as-service/index-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/0>
<http://discobits.org/ontology#infoBit> "The following is known to work on
recent Ubuntu Linux
distributions."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/1>
<http://discobits.org/ontology#infoBit> "You need to place a clerezza.conf
file in the directory /etc/init. The following is an example that assumes
Clerezza is to be run as user reto in /home/reto/clerezza using the jar
platform.launcher.jar therein.\n<div xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\n# Apache Clerezza - job file\n\ndescription \"Start
Apache Clerezza as user reto\"\n\n# When to start the service\nstart on
runlevel [2345]\n\n# When to stop the service\nstop on runlevel [016]\n\n#
Automatically restart process if crashed\nrespawn\n\n# Start the process\nexec
su reto sh -c \"cd /home/reto/clerezza && java -XX:MaxPermSize=400m
-Xmx800m -jar platform.launcher.jar
-NCS\"\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/1>
<http://discobits.org/ontology#infoBit> "<p
xmlns=\"http://www.w3.org/1999/xhtml\">You need to place a clerezza.conf file
in the directory /etc/init. The following is an example that assumes Clerezza
is to be run as user reto in /home/reto/clerezza using the jar
platform.launcher.jar therein.</p>\n/etc/init/clerezza.conf\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\"># Apache Clerezza
- job file\n\ndescription \"Start Apache Clerezza as user reto\"\n\n# When to
start the service\nstart on runlevel [2345]\n\n# When to stop the service\nstop
on runlevel [016]\n\n# Automatically restart process if crashed\nrespawn\n\n#
Start the process\nexec su reto sh -c \"cd /home/reto/clerezza && java
-XX:MaxPermSize=400m -Xmx800m -jar platform.launcher.jar
-NCS\"\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/1>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/0>
<http://discobits.org/ontology#infoBit> "By default Clerezza listens to port
8080 for http requests and to port 8022 for ssh connections. As Clerezza is
typically run as an unpriviledged user (user reto in the example above) it
cannot listen to default ports like port 80 for the
web."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/1>
<http://discobits.org/ontology#infoBit> "One way to redirect the default web
port 80 to port 8080 is to use xinetd. This is not installed by
default."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/1>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/2>
<http://discobits.org/ontology#infoBit> "Install xinetd with\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">sudo apt-get
install
xinetd\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/2>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/3>
<http://discobits.org/ontology#infoBit> "<p
xmlns=\"http://www.w3.org/1999/xhtml\">For redirecting the http port 80 to 8080
you can place a file with following content into the directory
/etc/xinet.d.</p>\n/etc/xinet.d/http\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">service http
\n{\n disable = no\n flags = REUSE\n socket_type = stream\n protocol = tcp\n
user = root\n wait = no\n port = 80\n redirect = 127.0.0.1 8080\n log_type =
FILE
/tmp/xinetdssl.log\n}\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/3>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/4>
<http://discobits.org/ontology#infoBit> "Finally tell xinetd to reload the
config with:\n<div xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">sudo /etc/init.d/xinetd
reload\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/4>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/5>
<http://discobits.org/ontology#infoBit> "Alternatives to xinetd include inet.d
and iptables"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/5>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/5>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:59911f42ff159d494479a05d75dd5b2e1 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:6dbe37cab40656368a862c574e30a3101 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:84614f713e025c470c60623293b11a801 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:a5cf1c316305294ced2250a50bcff1951 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:a95239ce4bc0d7f8ab5ed2150267c2301 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://discobits.org/ontology#contains> _:dc02e6dbbbe1f3fe479856b491c412511 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-title>
<http://discobits.org/ontology#infoBit> "Forwarding
ports"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2>
<http://discobits.org/ontology#contains> _:6b0ea3ebd9d286ce8cb04840b05777921 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2>
<http://discobits.org/ontology#contains> _:79d7284e195636f031e1b36e91ead2ab1 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content>
<http://discobits.org/ontology#contains> _:3563ee1d2a8da0ebfa2834fb33ea18b31 .
+<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content>
<http://discobits.org/ontology#contains> _:71021faa3125d36254ecdbea7e2e4a191 .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content>
<http://discobits.org/ontology#contains> _:ad734f456e51dee1dc3d2e36bcd10fae1 .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-title>
<http://discobits.org/ontology#infoBit> "On Ubuntu
Linux"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
@@ -353,6 +379,9 @@ _:57274c2fa7afd3439e5c2269fe55330e1 <htt
_:57c7f3aa80d6cbaf89b4c457aeb4049c1 <http://discobits.org/ontology#holds>
<http://localhost:8080/content-el/2-content-el/0> .
_:57c7f3aa80d6cbaf89b4c457aeb4049c1 <http://discobits.org/ontology#pos> "0" .
_:57c7f3aa80d6cbaf89b4c457aeb4049c1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:59911f42ff159d494479a05d75dd5b2e1 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/2>
.
+_:59911f42ff159d494479a05d75dd5b2e1 <http://discobits.org/ontology#pos> "2" .
+_:59911f42ff159d494479a05d75dd5b2e1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:5a954252930d0f57ce3e025af46d0ca41 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/building-clerezza/index-content-el/0> .
_:5a954252930d0f57ce3e025af46d0ca41 <http://discobits.org/ontology#pos> "0" .
_:5a954252930d0f57ce3e025af46d0ca41
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -362,12 +391,21 @@ _:5ac5dcc971bc2f8c905c853088cdbb5e1 <htt
_:6644fe897f42396723686ce38fbc4bca1 <http://discobits.org/ontology#holds>
<http://localhost:8080/faq/index-content-el/1> .
_:6644fe897f42396723686ce38fbc4bca1 <http://discobits.org/ontology#pos> "0" .
_:6644fe897f42396723686ce38fbc4bca1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:6b0ea3ebd9d286ce8cb04840b05777921 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content>
.
+_:6b0ea3ebd9d286ce8cb04840b05777921 <http://discobits.org/ontology#pos> "1" .
+_:6b0ea3ebd9d286ce8cb04840b05777921
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:6daa53f79bbe085d47a917ef0e84a2771
<http://clerezza.org/2009/06/custompropery#category>
<http://clerezza.org/2008/10/permission#Role> .
_:6daa53f79bbe085d47a917ef0e84a2771
<http://clerezza.org/2009/06/custompropery#categoryproperty>
"CommunityUser"^^<http://www.w3.org/2001/XMLSchema#string> .
_:6daa53f79bbe085d47a917ef0e84a2771
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://clerezza.org/2009/06/custompropery#CustomFieldCollection> .
+_:6dbe37cab40656368a862c574e30a3101 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/0>
.
+_:6dbe37cab40656368a862c574e30a3101 <http://discobits.org/ontology#pos> "0" .
+_:6dbe37cab40656368a862c574e30a3101
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:70513ddad691134d1a9082e4a082a7d21 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/shell/content-el/2-content> .
_:70513ddad691134d1a9082e4a082a7d21 <http://discobits.org/ontology#pos> "1" .
_:70513ddad691134d1a9082e4a082a7d21
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:71021faa3125d36254ecdbea7e2e4a191 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2>
.
+_:71021faa3125d36254ecdbea7e2e4a191 <http://discobits.org/ontology#pos> "2" .
+_:71021faa3125d36254ecdbea7e2e4a191
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:7331245e94e92c18eb267e7701278ce11 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/2-content-el/0>
.
_:7331245e94e92c18eb267e7701278ce11 <http://discobits.org/ontology#pos> "0" .
_:7331245e94e92c18eb267e7701278ce11
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -382,6 +420,9 @@ _:79c11b3796e0b82ccc1b584a8ca6f2f93 <htt
_:79c11b3796e0b82ccc1b584a8ca6f2f93
<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
_:79c11b3796e0b82ccc1b584a8ca6f2f92 .
_:79c11b3796e0b82ccc1b584a8ca6f2f94
<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
<http://localhost:8080/images/sw-horz-w3c-100x19.png> .
_:79c11b3796e0b82ccc1b584a8ca6f2f94
<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
_:79c11b3796e0b82ccc1b584a8ca6f2f93 .
+_:79d7284e195636f031e1b36e91ead2ab1 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-title>
.
+_:79d7284e195636f031e1b36e91ead2ab1 <http://discobits.org/ontology#pos> "0" .
+_:79d7284e195636f031e1b36e91ead2ab1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:7cf9ae32cbc9a9eaa1ac7b514b4526891 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/2-content>
.
_:7cf9ae32cbc9a9eaa1ac7b514b4526891 <http://discobits.org/ontology#pos> "1" .
_:7cf9ae32cbc9a9eaa1ac7b514b4526891
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -397,6 +438,9 @@ _:83b97dbdbbee7c74fca95f4602e03ceb1 <htt
_:83bc9f2057f082e1d6472152b03ff7551 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/shell/content-el/0> .
_:83bc9f2057f082e1d6472152b03ff7551 <http://discobits.org/ontology#pos> "0" .
_:83bc9f2057f082e1d6472152b03ff7551
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:84614f713e025c470c60623293b11a801 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/1>
.
+_:84614f713e025c470c60623293b11a801 <http://discobits.org/ontology#pos> "1" .
+_:84614f713e025c470c60623293b11a801
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:883e94f7720417d73a8b257848d393ad1 <http://discobits.org/ontology#holds>
<http://localhost:8080/content-el/3-content-el/0> .
_:883e94f7720417d73a8b257848d393ad1 <http://discobits.org/ontology#pos> "0" .
_:883e94f7720417d73a8b257848d393ad1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -440,6 +484,12 @@ _:a3b02cf4035c2b41a31ea70b108145391 <htt
_:a4ce1c28177d1cb14656125961307f3c1 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/launching-clerezza/index-content-el/3> .
_:a4ce1c28177d1cb14656125961307f3c1 <http://discobits.org/ontology#pos> "4" .
_:a4ce1c28177d1cb14656125961307f3c1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:a5cf1c316305294ced2250a50bcff1951 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/3>
.
+_:a5cf1c316305294ced2250a50bcff1951 <http://discobits.org/ontology#pos> "3" .
+_:a5cf1c316305294ced2250a50bcff1951
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:a95239ce4bc0d7f8ab5ed2150267c2301 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/5>
.
+_:a95239ce4bc0d7f8ab5ed2150267c2301 <http://discobits.org/ontology#pos> "5" .
+_:a95239ce4bc0d7f8ab5ed2150267c2301
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:a97a7c69546652251b28cfc47a41fd951 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/launching-clerezza/index-content-el/1> .
_:a97a7c69546652251b28cfc47a41fd951 <http://discobits.org/ontology#pos> "1" .
_:a97a7c69546652251b28cfc47a41fd951
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -488,6 +538,9 @@ _:d5a79557f0b9e9f8f09076917d9f07fd1 <htt
_:d956f0cd4e5e46baac35d0fda09bde691 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/building-clerezza/index-content> .
_:d956f0cd4e5e46baac35d0fda09bde691 <http://discobits.org/ontology#pos> "1" .
_:d956f0cd4e5e46baac35d0fda09bde691
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:dc02e6dbbbe1f3fe479856b491c412511 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/install-as-service/index-content-el/1-content-el/2-content-el/4>
.
+_:dc02e6dbbbe1f3fe479856b491c412511 <http://discobits.org/ontology#pos> "4" .
+_:dc02e6dbbbe1f3fe479856b491c412511
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:dc1e79a8481e5530352bf35fbb0ff9f41 <http://discobits.org/ontology#holds>
<http://localhost:8080/getting-started/shell/title> .
_:dc1e79a8481e5530352bf35fbb0ff9f41 <http://discobits.org/ontology#pos> "0" .
_:dc1e79a8481e5530352bf35fbb0ff9f41
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .