<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.karmaking.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=91.64.157.210</id>
	<title>Karmaking - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.karmaking.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=91.64.157.210"/>
	<link rel="alternate" type="text/html" href="https://wiki.karmaking.de/index.php?title=Special:Contributions/91.64.157.210"/>
	<updated>2026-10-28T07:28:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.karmaking.de/index.php?title=Tomcat-subsonic&amp;diff=267</id>
		<title>Tomcat-subsonic</title>
		<link rel="alternate" type="text/html" href="https://wiki.karmaking.de/index.php?title=Tomcat-subsonic&amp;diff=267"/>
		<updated>2022-01-25T00:15:32Z</updated>

		<summary type="html">&lt;p&gt;91.64.157.210: /* Tomcat standalone = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tomcat standalone ==&lt;br /&gt;
&lt;br /&gt;
To allow listening of Tomcat to privileged ports, set &amp;lt;tt&amp;gt;AUTHBIND=yes&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/etc/default/tomcat6&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The JKS keystore file needs to reside in &amp;lt;tt&amp;gt;/usr/share/tomcat6/.keystore&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Subsonic system folder: &amp;lt;tt&amp;gt;/usr/share/subsonic/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$CATALINA_HOME = $CATALINA_BASE = &amp;lt;tt&amp;gt;/var/lib/tomcat6/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Config: &amp;lt;tt&amp;gt;/etc/tomcat6/server.xml&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Apache2 with mod_jk ==&lt;br /&gt;
&lt;br /&gt;
Install mod_jk:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;# aptitude install libapache2-mod-jk&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create file &amp;lt;tt&amp;gt;/etc/apache2/workers.properties&amp;lt;/tt&amp;gt; with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;worker.list=worker1&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.type=ajp13&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.host=localhost&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.port=8009&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create file &amp;lt;tt&amp;gt;/etc/apache2/mods-available/jk.conf&amp;lt;/tt&amp;gt; with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;JkWorkersFile	/etc/apache2/workers.properties&amp;lt;br&amp;gt;&lt;br /&gt;
JkShmFile	/var/log/apache2/mod_jk.shm&amp;lt;br&amp;gt;&lt;br /&gt;
JkLogFile	/var/log/apache2/mod_jk.log&amp;lt;br&amp;gt;&lt;br /&gt;
JkLogLevel	info&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add mount point to &amp;lt;tt&amp;gt;/etc/apache2/sites-available/default&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
JkMount /examples/* worker1&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment the following line in &amp;lt;tt&amp;gt;/etc/tomcat6/server.xml&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;Connector port=&amp;quot;8009&amp;quot; protocol=&amp;quot;AJP/1.3&amp;quot; redirectPort=&amp;quot;8443&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the virtual host configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;VirtualHost hostname:443&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
JkMount /* ajp13_worker&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
DocumentRoot /var/lib/tomcat6/webapps&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>91.64.157.210</name></author>
	</entry>
	<entry>
		<id>https://wiki.karmaking.de/index.php?title=Tomcat-subsonic&amp;diff=266</id>
		<title>Tomcat-subsonic</title>
		<link rel="alternate" type="text/html" href="https://wiki.karmaking.de/index.php?title=Tomcat-subsonic&amp;diff=266"/>
		<updated>2022-01-25T00:15:23Z</updated>

		<summary type="html">&lt;p&gt;91.64.157.210: /* Tomcat standalone */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tomcat standalone ===&lt;br /&gt;
&lt;br /&gt;
To allow listening of Tomcat to privileged ports, set &amp;lt;tt&amp;gt;AUTHBIND=yes&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/etc/default/tomcat6&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The JKS keystore file needs to reside in &amp;lt;tt&amp;gt;/usr/share/tomcat6/.keystore&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Subsonic system folder: &amp;lt;tt&amp;gt;/usr/share/subsonic/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$CATALINA_HOME = $CATALINA_BASE = &amp;lt;tt&amp;gt;/var/lib/tomcat6/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Config: &amp;lt;tt&amp;gt;/etc/tomcat6/server.xml&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Apache2 with mod_jk ==&lt;br /&gt;
&lt;br /&gt;
Install mod_jk:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;# aptitude install libapache2-mod-jk&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create file &amp;lt;tt&amp;gt;/etc/apache2/workers.properties&amp;lt;/tt&amp;gt; with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;worker.list=worker1&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.type=ajp13&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.host=localhost&amp;lt;br&amp;gt;&lt;br /&gt;
worker.worker1.port=8009&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create file &amp;lt;tt&amp;gt;/etc/apache2/mods-available/jk.conf&amp;lt;/tt&amp;gt; with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;JkWorkersFile	/etc/apache2/workers.properties&amp;lt;br&amp;gt;&lt;br /&gt;
JkShmFile	/var/log/apache2/mod_jk.shm&amp;lt;br&amp;gt;&lt;br /&gt;
JkLogFile	/var/log/apache2/mod_jk.log&amp;lt;br&amp;gt;&lt;br /&gt;
JkLogLevel	info&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add mount point to &amp;lt;tt&amp;gt;/etc/apache2/sites-available/default&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
JkMount /examples/* worker1&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment the following line in &amp;lt;tt&amp;gt;/etc/tomcat6/server.xml&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;Connector port=&amp;quot;8009&amp;quot; protocol=&amp;quot;AJP/1.3&amp;quot; redirectPort=&amp;quot;8443&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the virtual host configuration file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;VirtualHost hostname:443&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
JkMount /* ajp13_worker&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
DocumentRoot /var/lib/tomcat6/webapps&amp;lt;br&amp;gt;&lt;br /&gt;
...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>91.64.157.210</name></author>
	</entry>
</feed>