<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sebastian Mogilowskis Blog &#187; lenny</title>
	<atom:link href="http://www.mogilowski.net/lang/en-us/tag/lenny/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mogilowski.net</link>
	<description>Just another blog about administration, linux and other stuff</description>
	<lastBuildDate>Tue, 17 Jan 2012 13:42:30 +0000</lastBuildDate>
	<language>en-us</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Upgrade Debian Lenny to Squeeze on Citrix XenServer</title>
		<link>http://www.mogilowski.net/lang/en-us/2011/02/07/upgrade-debian-lenny-to-squeeze-on-citrix-xenserver</link>
		<comments>http://www.mogilowski.net/lang/en-us/2011/02/07/upgrade-debian-lenny-to-squeeze-on-citrix-xenserver#comments</comments>
		<pubDate>Mon, 07 Feb 2011 19:27:40 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Systemadministration]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[XENServer]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=821</guid>
		<description><![CDATA[1. Update your Lenny installation Make sure that your current Lenny is up-2-date. aptitude update aptitude upgrade 2. Change sources to Squeeze Open &#8220;/etc/apt/sources.list&#8221; and replace &#8220;Lenny&#8221; with &#8220;Squeeze&#8221; here is an example: # Debian Squeeze deb http://ftp.de.debian.org/debian/ squeeze main deb-src http://ftp.de.debian.org/debian/ squeeze main # Debian Squeeze Security deb http://security.debian.org/ squeeze/updates main 3. Upgrade your [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-822" style="margin-right: 8px;" title="debian" src="http://cdn.mogilowski.net/wp-content/uploads/debian-150x150.gif" alt="Debian Logo" width="150" height="150" /></p>
<h4><span lang="en-us">1. Update your Lenny installation</span></h4>
<p><span lang="en-us">Make sure that your current Lenny is up-2-date.</span></p>
<pre>aptitude update
aptitude upgrade</pre>
<h4><span lang="en-us">2. Change sources to Squeeze</span></h4>
<p><span lang="en-us">Open <strong>&#8220;/etc/apt/sources.list&#8221;</strong> and replace <em>&#8220;Lenny&#8221;</em> with <em>&#8220;Squeeze&#8221;</em> here is an example:</span></p>
<pre># Debian Squeeze
deb http://ftp.de.debian.org/debian/ squeeze main
deb-src http://ftp.de.debian.org/debian/ squeeze main  

# Debian Squeeze Security
deb http://security.debian.org/ squeeze/updates main</pre>
<h4><span lang="en-us">3. Upgrade your system</span></h4>
<pre>aptitude update
aptitude install apt dpkg aptitude
aptitude full-upgrade</pre>
<h4><span lang="en-us">4. Upgrade Grub</span></h4>
<p><span lang="en-us">Debian Squeeze use Grub2 you have to run <em>&#8220;upgrade-from-grub-legacy&#8221;</em> to upgrade from Grub to Grub2.</span></p>
<pre>upgrade-from-grub-legacy
rm -f /boot/grub/menu.lst*</pre>
<p><span lang="en-us">If you don&#8217;t do that, you get the following error in your XenServer.</span></p>
<pre>Error: Starting VM 'YOUR_VM' - Using  to parse /boot/grub/menu.lst - Traceback (most recent call last): - File "/usr/bin/pygrub", line 746, in ? - raise RuntimeError, "Unable to find partition containing kernel" - RuntimeError: Unable to find partition containing kernel</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2011/02/07/upgrade-debian-lenny-to-squeeze-on-citrix-xenserver/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Install Tomcat 7 on Debian (Lenny) with virtual hosts and Apache2 integration</title>
		<link>http://www.mogilowski.net/lang/en-us/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration</link>
		<comments>http://www.mogilowski.net/lang/en-us/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration#comments</comments>
		<pubDate>Sat, 11 Dec 2010 12:22:24 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[virtualhost]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=720</guid>
		<description><![CDATA[This article is a new version of my Apache Tomcat 6 article. This article describes how to install Apache Tomcat 7 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 7 is not available over the regular sources on Debain Lenny (and Etch) it need to be installed by hand. Tomcat 7 is still BETA. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://cdn.mogilowski.net/wp-content/uploads/tomcat.gif" alt="" title=" tomcat" width="130" height="92" class="alignright size-full wp-image-723" /><br />
<span lang="en-us">This article is a new version of my <a href="http://www.mogilowski.net/2008/11/24/install-tomcat-6-on-debian-lenny-with-virtual-hosts-and-apache2-integration/" target="_blank">Apache Tomcat 6 article</a>. This article describes how to install Apache Tomcat 7 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 7 is not available over the regular sources on Debain Lenny (and Etch) it need to be installed by hand.</span></p>
<p><strong><span lang="en-us">Tomcat 7 is still BETA. Please use Tomcat 6 for productive servers.</span></strong></p>
<h4><span lang="en-us">1. Install Java 6 runtime:</span></h4>
<p><span lang="en-us">Choose one of the following Java JDK installations:</span></p>
<h4>1.1 OpenJDK</h4>
<pre>
aptitude install openjdk-6-jre
</pre>
<h4>1.2 Sun Java (non-free)</h4>
<pre>
vim /etc/apt/sources
</pre>
<pre>
deb http://ftp.de.debian.org/debian/ lenny main non-free
deb-src http://ftp.de.debian.org/debian/ lenny main non-free
</pre>
<pre>
aptitude update
aptitude install sun-java6-jre
</pre>
<p><em><span lang="en-us"><strong>Note:</strong> Keep in mind that you need a different Apache connector configuration if you use the Sun JDK.</span></em></p>
<h4>2. Download Tomcat</h4>
<p>Download Tomcat 7 <span lang="en-us">from</span> <a title="Tomcat 7" href="http://tomcat.apache.org/download-70.cgi" target="_blank">Tomcat 7 Download</a> <span lang="en-us">page</span>.</p>
<p><span lang="en-us">For example:</span></p>
<pre>
wget http://artfiles.org/apache.org/tomcat/tomcat-7/v7.0.5-beta/bin/apache-tomcat-7.0.5.tar.gz
</pre>
<h4><span lang="en-us">3. Install Tomcat</span></h4>
<pre>
tar -xzvf apache-tomcat-7.0.5.tar.gz
mv apache-tomcat-7.0.5 /opt/tomcat
</pre>
<h4><span lang="en-us">4. Create tomcat user and group</span></h4>
<pre>
groupadd tomcat
useradd -g tomcat -d /opt/tomcat tomcat
usermod -G www-data tomcat
chown tomcat:tomcat /opt/tomcat -R
</pre>
<p><span lang="en-us">This create a new user &#8220;tomcat&#8221; and a group &#8220;tomcat&#8221;. It set the home directory for this user to &#8220;/opt/tomcat&#8221; and join the &#8220;tomcat&#8221; user the &#8220;www-data&#8221; group. This is necessary to access the virtual hosts. Finally give the &#8220;/opt/tomcat&#8221; directory to the new &#8220;tomcat&#8221; user.</span></p>
<h4><span lang="en-us">5. Create Init-Script</span></h4>
<pre>
vim /etc/init.d/tomcat
</pre>
<pre>
#!/bin/sh
#
# /etc/init.d/tomcat -- startup script for the Tomcat 7 servlet engine
#
# Modified init-Script from Ubuntu Tomcat init-script
#
# 2010 - Sebastian Mogilowski - http://www.mogilowski.net
#
### BEGIN INIT INFO
# Provides:          tomcat
# Required-Start:    $local_fs $remote_fs $network
# Required-Stop:     $local_fs $remote_fs $network
# Should-Start:      $named
# Should-Stop:       $named
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start Tomcat.
# Description:       Start the Tomcat servlet engine.
### END INIT INFO

set -e

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/tomcat
NAME=tomcat
DESC="Tomcat servlet engine"
DEFAULT=/etc/default/$NAME
JVM_TMP=/tmp/tomcat-tmp

if [ `id -u` -ne 0 ]; then
	echo "You need root privileges to run this script"
	exit 1
fi

# Make sure tomcat is started with system locale
if [ -r /etc/default/locale ]; then
	. /etc/default/locale
	export LANG
fi

. /lib/lsb/init-functions

if [ -r /etc/default/rcS ]; then
	. /etc/default/rcS
fi

# The following variables can be overwritten in $DEFAULT

# Run Tomcat 7 as this user ID and group ID
TOMCAT_USER=tomcat
TOMCAT_GROUP=tomcat

# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in $DEFAULT)
JDK_DIRS="/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm"

# Look for the right JVM to use
for jdir in $JDK_DIRS; do
    if [ -r "$jdir/bin/java" -a -z "${JAVA_HOME}" ]; then
	JAVA_HOME="$jdir"
    fi
done
export JAVA_HOME

# Directory where the Tomcat binary distribution resides
CATALINA_HOME=/opt/$NAME

# Directory for per-instance configuration files and webapps
CATALINA_BASE=/opt/$NAME

# Use the Java security manager? (yes/no)
TOMCAT_SECURITY=no

# Default Java options
# Set java.awt.headless=true if JAVA_OPTS is not set so the
# Xalan XSL transformer can work without X11 display on JDK 1.4+
# It also looks like the default heap size of 64M is not enough for most cases
# so the maximum heap size is set to 128M
if [ -z "$JAVA_OPTS" ]; then
	JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"
fi

# End of variables that can be overwritten in $DEFAULT

# overwrite settings from default file
if [ -f "$DEFAULT" ]; then
	. "$DEFAULT"
fi

if [ ! -f "$CATALINA_HOME/bin/bootstrap.jar" ]; then
	log_failure_msg "$NAME is not installed"
	exit 1
fi

POLICY_CACHE="$CATALINA_BASE/work/catalina.policy"

if [ -z "$CATALINA_TMPDIR" ]; then
	CATALINA_TMPDIR="$JVM_TMP"
fi

# Set the JSP compiler if set in the tomcat.default file
if [ -n "$JSP_COMPILER" ]; then
	JAVA_OPTS="$JAVA_OPTS -Dbuild.compiler=\"$JSP_COMPILER\""
fi

SECURITY=""
if [ "$TOMCAT_SECURITY" = "yes" ]; then
	SECURITY="-security"
fi

# Define other required variables
CATALINA_PID="/var/run/$NAME.pid"
CATALINA_SH="$CATALINA_HOME/bin/catalina.sh"

# Look for Java Secure Sockets Extension (JSSE) JARs
if [ -z "${JSSE_HOME}" -a -r "${JAVA_HOME}/jre/lib/jsse.jar" ]; then
    JSSE_HOME="${JAVA_HOME}/jre/"
fi

catalina_sh() {
	# Escape any double quotes in the value of JAVA_OPTS
	JAVA_OPTS="$(echo $JAVA_OPTS &#124; sed 's/\"/\\\"/g')"

	AUTHBIND_COMMAND=""
	if [ "$AUTHBIND" = "yes" -a "$1" = "start" ]; then
		JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
		AUTHBIND_COMMAND="/usr/bin/authbind --deep /bin/bash -c "
	fi

	# Define the command to run Tomcat's catalina.sh as a daemon
	# set -a tells sh to export assigned variables to spawned shells.
	TOMCAT_SH="set -a; JAVA_HOME=\"$JAVA_HOME\"; source \"$DEFAULT\"; \
		CATALINA_HOME=\"$CATALINA_HOME\"; \
		CATALINA_BASE=\"$CATALINA_BASE\"; \
		JAVA_OPTS=\"$JAVA_OPTS\"; \
		CATALINA_PID=\"$CATALINA_PID\"; \
		CATALINA_TMPDIR=\"$CATALINA_TMPDIR\"; \
		LANG=\"$LANG\"; JSSE_HOME=\"$JSSE_HOME\"; \
		cd \"$CATALINA_BASE\"; \
		\"$CATALINA_SH\" $@"

	if [ "$AUTHBIND" = "yes" -a "$1" = "start" ]; then
		TOMCAT_SH="'$TOMCAT_SH'"
	fi

	# Run the catalina.sh script as a daemon
	set +e
	touch "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out
	chown $TOMCAT_USER "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out
	start-stop-daemon --start -b -u "$TOMCAT_USER" -g "$TOMCAT_GROUP" \
		-c "$TOMCAT_USER" -d "$CATALINA_TMPDIR" \
		-x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH"
	status="$?"
	set +a -e
	return $status
}

case "$1" in
  start)
	if [ -z "$JAVA_HOME" ]; then
		log_failure_msg "no JDK found - please set JAVA_HOME"
		exit 1
	fi

	if [ ! -d "$CATALINA_BASE/conf" ]; then
		log_failure_msg "invalid CATALINA_BASE: $CATALINA_BASE"
		exit 1
	fi

	log_daemon_msg "Starting $DESC" "$NAME"
	if start-stop-daemon --test --start --pidfile "$CATALINA_PID" \
		--user $TOMCAT_USER --exec "$JAVA_HOME/bin/java" \
		>/dev/null; then

		# Regenerate POLICY_CACHE file
		umask 022
		echo "// AUTO-GENERATED FILE from /opt/tomcat/" \
			> "$POLICY_CACHE"
		echo ""  >> "$POLICY_CACHE"
		cat $CATALINA_BASE/conf/*.policy \
			>> "$POLICY_CACHE"

		# Remove / recreate JVM_TMP directory
		rm -rf "$JVM_TMP"
		mkdir -p "$JVM_TMP" &#124;&#124; {
			log_failure_msg "could not create JVM temporary directory"
			exit 1
		}
		chown $TOMCAT_USER "$JVM_TMP"

		catalina_sh start $SECURITY
		sleep 5
        	if start-stop-daemon --test --start --pidfile "$CATALINA_PID" \
			--user $TOMCAT_USER --exec "$JAVA_HOME/bin/java" \
			>/dev/null; then
			if [ -f "$CATALINA_PID" ]; then
				rm -f "$CATALINA_PID"
			fi
			log_end_msg 1
		else
			log_end_msg 0
		fi
	else
	        log_progress_msg "(already running)"
		log_end_msg 0
	fi
	;;
  stop)
	log_daemon_msg "Stopping $DESC" "$NAME"

	set +e
	if [ -f "$CATALINA_PID" ]; then
		start-stop-daemon --stop --pidfile "$CATALINA_PID" \
			--user "$TOMCAT_USER" \
			--retry=TERM/20/KILL/5 >/dev/null
		if [ $? -eq 1 ]; then
			log_progress_msg "$DESC is not running but pid file exists, cleaning up"
		elif [ $? -eq 3 ]; then
			PID="`cat $CATALINA_PID`"
			log_failure_msg "Failed to stop $NAME (pid $PID)"
			exit 1
		fi
		rm -f "$CATALINA_PID"
		rm -rf "$JVM_TMP"
	else
		log_progress_msg "(not running)"
	fi
	log_end_msg 0
	set -e
	;;
   status)
	set +e
	start-stop-daemon --test --start --pidfile "$CATALINA_PID" \
		--user $TOMCAT_USER --exec "$JAVA_HOME/bin/java" \
		>/dev/null 2>&#038;1
	if [ "$?" = "0" ]; then

		if [ -f "$CATALINA_PID" ]; then
		    log_success_msg "$DESC is not running, but pid file exists."
			exit 1
		else
		    log_success_msg "$DESC is not running."
			exit 3
		fi
	else
		log_success_msg "$DESC is running with pid `cat $CATALINA_PID`"
	fi
	set -e
        ;;
  restart&#124;force-reload)
	if [ -f "$CATALINA_PID" ]; then
		$0 stop
		sleep 1
	fi
	$0 start
	;;
  try-restart)
        if start-stop-daemon --test --start --pidfile "$CATALINA_PID" \
		--user $TOMCAT_USER --exec "$JAVA_HOME/bin/java" \
		>/dev/null; then
		$0 start
	fi
        ;;
  *)
	log_success_msg "Usage: $0 {start&#124;stop&#124;restart&#124;try-restart&#124;force-reload&#124;status}"
	exit 1
	;;
esac

exit 0
</pre>
<p><span lang="en-us">Download the init-script:</span> <a class="downloadlink" href="http://www.mogilowski.net/wp-content/plugins/download-monitor/download.php?id=12" title="Version 0.1 heruntergeladen 954 mal" >Tomcat 7 Init-Script (2.6 kB)</a></p>
<pre>
chmod +x /etc/init.d/tomcat
update-rc.d tomcat defaults
</pre>
<h4><span lang="en-us">6. Activate the Tomcat manager</span></h4>
<pre>
vim /opt/tomcat/conf/tomcat-users.xml
</pre>
<pre>
&#60;?xml version='1.0' encoding='utf-8'?&#62;
&#60;tomcat-users&#62;
    &#60;role rolename="manager"/&#62;
    &#60;role rolename="manager-gui"/&#62;
    &#60;role rolename="admin"/&#62;
    &#60;role rolename="admin-gui"/&#62;
    &#60;user username="YOUR_USERNAME" password="YOUR_PASSWORD" roles="admin,admin-gui,manager,manager-gui"/&#62;
&#60;/tomcat-users&#62;
</pre>
<h4>6. Start Tomcat</h4>
<pre>
/etc/init.d/tomcat start
</pre>
<p><span lang="en-us">Now you can access the Tomcat manager with <strong>http://SERVER:8080/manager</strong>.</span></p>
<p><a href="http://cdn.mogilowski.net/wp-content/uploads/tomcat7-manager.jpg"><img src="http://cdn.mogilowski.net/wp-content/uploads/tomcat7-manager.jpg" alt="" title=" tomcat7-manager" width="600" height="282" class="aligncenter size-full wp-image-724" /></a></p>
<h4><span lang="en-us">7. Install Apache2 connector</span></h4>
<p><span lang="en-us">You can use the Tomcat as a standalone webserver, but the apache webserver has more features and you can use the apache modules. (mod_rewrite for example)</span></p>
<pre>
aptitude install apache2 libapache2-mod-jk
</pre>
<h4><span lang="en-us">7.1 Apache worker</span></h4>
<pre>
vim /etc/apache2/workers.properties
</pre>
<pre>
workers.tomcat_home=/opt/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
</pre>
<p><em><span lang="en-us"><strong>Note:</strong> Replace &#8220;/usr/lib/jvm/java-6-openjdk&#8221; with &#8220;/usr/lib/jvm/java-6-sun&#8221; if you using the non-free Sun Java runtime.</span></em></p>
<h4><span lang="en-us">7.2 JK configuration file</span></h4>
<pre>
vim /etc/apache2/conf.d/jk.conf
</pre>
<pre>
&#60;ifmodule mod_jk.c&#62;
    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel error
&#60;/ifmodule&#62;
</pre>
<pre>
/etc/init.d/apache2 stop
/etc/init.d/tomcat restart
/etc/init.d/apache2 start
</pre>
<h4><span lang="en-us">8. Create a new VirtualHost</span></h4>
<p><span lang="en-us">Creating a new VirtualHost: (In Apache <strong>AND</strong> Tomcat)</span></p>
<h4><span lang="en-us">8.1 Create directories</span></h4>
<pre>
mkdir /var/www/vhost1
mkdir /var/www/vhost1/htdocs
mkdir /var/www/vhost1/logs
</pre>
<pre>
vim /etc/apache2/sites-available/vhost1
</pre>
<h4>8.2 Apache</h4>
<pre>
&#60;virtualhost www.testsrv.local&#62;
    JkMount /*.jsp default
    ServerName www.testsrv.local
    ServerAdmin servermaster@testsrv.local
    DocumentRoot /var/www/vhost1/htdocs
    ErrorLog /var/www/vhost1/logs/error.log
    CustomLog /var/www/vhost1/logs/access.log common
    &#60;directory /var/www/vhost1/htdocs&#62;
        Options -Indexes
    &#60;/directory&#62;
&#60;/virtualhost&#62;
</pre>
<p><em><span lang="en-us"><strong>Note:</strong> You can forward all files &#8220;JkMount /*&#8221; or all files in a folder &#8220;JkMount /folder/*&#8221; to the Tomcat, too.</span></em></p>
<pre>
a2ensite vhost1
/etc/init.d/apache2 reload
</pre>
<h4>8.3 Tomcat</h4>
<pre>
vim /opt/tomcat/conf/server.xml
</pre>
<pre>
&#60;!-- www.testsrv.local --&#62;
&#60;Host name=&#34;www.testsrv.local&#34; appBase=&#34;/var/www/vhost1&#34; unpackWARs=&#34;true&#34; autoDeploy=&#34;true&#34;&#62;
    &#60;Context path=&#34;&#34; docBase=&#34;htdocs&#34; debug=&#34;0&#34; reloadable=&#34;true&#34;/&#62;
    &#60;Valve className=&#34;org.apache.catalina.valves.AccessLogValve&#34; directory=&#34;/var/www/vhost1/logs&#34;  prefix=&#34;tomcat_access_&#34; suffix=&#34;.log&#34; pattern=&#34;common&#34; resolveHosts=&#34;false&#34;/&#62;
&#60;/Host&#62;
</pre>
<p><em><span lang="en-us"><strong>Note:</strong> Make sure you use a uppercase &#8220;H&#8221;, &#8220;C&#8221; and &#8220;V&#8221; for &#8220;Host&#8221;, &#8220;Content&#8221; and &#8220;Value&#8221;. This is importand since Tomcat 7.</span></em></p>
<pre>
/etc/init.d/tomcat restart
</pre>
<p><em><span lang="en-us"><strong>Note:</strong> You can add additional domains with:</span></em></p>
<pre>
&#60;Alias&#62;additionaldomain.com&#60;/Alias&#62;
</pre>
<p><em></em></p>
<h4><span lang="en-us">9. Create a Testpage</span></h4>
<pre>
vim /var/www/vhost1/htdocs/test.jsp
</pre>
<pre>
&#60;html&#62;
    &#60;head&#62;
        &#60;title&#62;Hello World&#60;/title&#62;
    &#60;/head&#62;
    &#60;body&#62;
        &#60;h1&#62;Hello World&#60;/h1&#62;
        Today is: &#60;%= new java.util.Date().toString() %&#62;
    &#60;/body&#62;
&#60;/html&#62;
</pre>
<p><span lang="en-us">Now you can test your configuration with <strong>http://www.testsrv.local/test.jsp</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Linux Software RAID 5 on Debian Lenny or Ubuntu</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/09/28/linux-software-raid-5-on-debian-lenny-or-ubuntu</link>
		<comments>http://www.mogilowski.net/lang/en-us/2009/09/28/linux-software-raid-5-on-debian-lenny-or-ubuntu#comments</comments>
		<pubDate>Mon, 28 Sep 2009 11:49:30 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=580</guid>
		<description><![CDATA[This is an update Post for my old Howto http://www.mogilowski.net/lang/de-de/2008/05/09/linux-software-raid-5-unter-debian-etch for Debian Lenny and Ubuntu. In this configuration i created a raid 5 with the drives sda, sdb, sdc and sdc. (Change it to your configuration if you need it.) 1. Installation aptitude install mdadm 2. Create Raid Insert this line in the mdadm config [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This is an update Post for my old Howto <a href="http://www.mogilowski.net/lang/de-de/2008/05/09/linux-software-raid-5-unter-debian-etch">http://www.mogilowski.net/lang/de-de/2008/05/09/linux-software-raid-5-unter-debian-etch</a> for Debian Lenny and Ubuntu.</span></p>
<p><span lang="en-us">In this configuration i created a raid 5 with the drives sda, sdb, sdc and sdc. (Change it to your configuration if you need it.)</span></p>
<h3>1. Installation</h3>
<pre>
aptitude install mdadm
</pre>
<h3><span lang="en-us">2. Create Raid</span></h3>
<p><span lang="en-us">Insert this line in the mdadm config file &#8220;/etc/mdadm/mdadm.conf&#8221;:</span></p>
<pre>
ARRAY /dev/md0 level=raid5 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
</pre>
<p><span lang="en-us">Now create the raid:</span></p>
<pre>
mdadm --create /dev/md0 --verbose --level=raid5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
</pre>
<p><span lang="en-us">The following command shows you some details of your new raid:</span></p>
<pre>
mdadm --detail /dev/md0
</pre>
<p><span lang="en-us">Look at:</span></p>
<pre>
Rebuild Status : 2% complete
</pre>
<p><span lang="en-us">This shows you, that the raid is build in background, but you can already use it if you like.</span></p>
<pre>
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
</pre>
<p><span lang="en-us">This shows you that all 4 disks are working and none of them is missing.</span></p>
<h3><span lang="en-us">3. Format</span></h3>
<p><span lang="en-us">Now format your new raid device. With ext3 for example:</span></p>
<pre>
mke2fs -j /dev/md0
</pre>
<p><span lang="en-us">Mount the new partition:</span></p>
<pre>
(mkdir /media/raid)
mount /dev/md0 /media/raid
</pre>
<p><span lang="en-us">or add it directly to /etc/fstab&#8221;:</span></p>
<pre>
/dev/md0 /media/raid ext3 suid,dev,exec  0  0
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2009/09/28/linux-software-raid-5-on-debian-lenny-or-ubuntu/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create an iCalendar server with debian 5.0 lenny</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/16/create-an-icalendar-server-with-debian-50-lenny</link>
		<comments>http://www.mogilowski.net/lang/en-us/2009/02/16/create-an-icalendar-server-with-debian-50-lenny#comments</comments>
		<pubDate>Mon, 16 Feb 2009 09:06:10 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[icalender]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[sunbird]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=302</guid>
		<description><![CDATA[First you need an working apache2 webserver with mod &#8220;dav_fs&#8221;. If you want iCal over SSL you need a configurated &#8220;mod_ssl&#8221; on your apache2 webserver. a2enmod dav_fs Next step is the apache configuration: Insert this in your &#8220;virtualhost&#8221; configuration. Alias /iCalendar /your/path/to/iCalendar &#60;location /iCalendar&#62; DAV On &#60;/location&#62; Now you can create a new calendar with [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">First you need an working apache2 webserver with mod &#8220;dav_fs&#8221;. If you want iCal over SSL you need a configurated &#8220;mod_ssl&#8221; on your apache2 webserver.</span></p>
<pre>
a2enmod dav_fs
</pre>
<p><span lang="en-us">Next step is the apache configuration:</span></p>
<p><span lang="en-us">Insert this in your &#8220;virtualhost&#8221; configuration.</span></p>
<pre>
Alias /iCalendar /your/path/to/iCalendar
&#60;location /iCalendar&#62;
    DAV On
&#60;/location&#62;
</pre>
<p><span lang="en-us">Now you can create a new calendar with sunbird for example. Just add a new calendar, select &#8220;Network calendar&#8221; and &#8220;iCalendar (ICS)&#8221; and insert the URL to your server: &#8220;http://your.server.address/iCalendar/myCalendar.ics&#8221; (Or use https)</span><br />
</p>
<p><span lang="en-us">You can protect your calendar directory with username and password, too.</span></p>
<p><span lang="en-us">Example with mysql authentification:</span></p>
<pre>
Alias /iCalendar /your/path/to/iCalendar
&#60;location /iCalendar&#62;
    DAV On
    AuthBasicAuthoritative Off
    AuthUserFile /dev/null
    AuthMySQL On
    AuthName "Calendar"
    AuthType Basic
    Auth_MySQL_Host localhost
    Auth_MySQL_User DB_USER
    Auth_MySQL_Password DB_PASS
    AuthMySQL_DB DB_NAME
    AuthMySQL_Password_Table DB_TABLE
    Auth_MySQL_Username_Field DB_USER_FIELD
    Auth_MySQL_Password_Field DB_PASSWORD_FIELD
    Auth_MySQL_Empty_Passwords Off
    Auth_MySQL_Encryption_Types Crypt_DES
    Auth_MySQL_Authoritative On
    require valid-user
&#60;/location&#62;
</pre>
<p><span lang="en-us">Example with password file:</span></p>
<pre>
Alias /iCalendar /your/path/to/iCalendar
&#60;location /iCalendar&#62;
    DAV On
    AuthName "Calendar"
    AuthUserFile "/your/path/to/.htpasswd"
    require valid-user
&#60;/location&#62;
</pre>
<p><span lang="en-us">Creating password file:</span></p>
<pre>
htpasswd -c /your/path/to/.htpasswd MY_USER
</pre>
<p><span lang="en-us">Now you have to change the URL to your calendar in sunbird to &#8220;http://MY_USER:MY_PASSWORD@your.server.address/iCalendar/myCalendar.ics&#8221;.<br />
</span></p>
<p><span lang="en-us">If you want an additional webinterface to your calendar you should take a look at <a title="http://www.php-calendar.com" href="http://www.php-calendar.com" target="_blank">http://www.php-calendar.com</a></span></p>
<div class="ngg-galleryoverview" id="ngg-gallery-16-302">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.mogilowski.net/lang/en-us/2009/02/16/create-an-icalendar-server-with-debian-50-lenny?show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-135" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://cdn.mogilowski.net/wp-content/gallery/icalendar/bildschirmfoto-week-8-calendar.png" title=" " class="shutterset_set_16" >
								<img title="bildschirmfoto-week-8-calendar.png" alt="bildschirmfoto-week-8-calendar.png" src="http://cdn.mogilowski.net/wp-content/gallery/icalendar/thumbs/thumbs_bildschirmfoto-week-8-calendar.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-136" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://cdn.mogilowski.net/wp-content/gallery/icalendar/bildschirmfoto-mycalendar-sonntag-15-februar-mozilla-firefox.png" title=" " class="shutterset_set_16" >
								<img title="bildschirmfoto-mycalendar-sonntag-15-februar-mozilla-firefox.png" alt="bildschirmfoto-mycalendar-sonntag-15-februar-mozilla-firefox.png" src="http://cdn.mogilowski.net/wp-content/gallery/icalendar/thumbs/thumbs_bildschirmfoto-mycalendar-sonntag-15-februar-mozilla-firefox.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	
 	
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2009/02/16/create-an-icalendar-server-with-debian-50-lenny/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greylisting with sqlgrey, postfix and mysql on Debian Lenny</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/10/greylisting-with-sqlgrey-postfix-and-mysql-on-debian-lenny</link>
		<comments>http://www.mogilowski.net/lang/en-us/2009/02/10/greylisting-with-sqlgrey-postfix-and-mysql-on-debian-lenny#comments</comments>
		<pubDate>Tue, 10 Feb 2009 09:17:14 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailserver]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[postgrey]]></category>
		<category><![CDATA[sqlgrey]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=284</guid>
		<description><![CDATA[This article describes howto setup sqlgrey with postfix and mysql on Debian Lenny. The normal graylisting with postgrey store the whitelist in a berkeley database which needs to be replicated on a mailserver cluster. With sqlgrey you can do that replication with a mysql database. First create a Database &#8220;sqlgrey&#8221; with an user &#8220;sqlgrey&#8221; on [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article describes howto setup sqlgrey with postfix and mysql on Debian Lenny. </span></p>
<p><span lang="en-us">The normal graylisting with postgrey store the whitelist in a berkeley database which needs to be replicated on a mailserver cluster. With sqlgrey you can do that replication with a mysql database.</span></p>
<p><span lang="en-us">First create a Database &#8220;sqlgrey&#8221; with an user &#8220;sqlgrey&#8221; on your database server. (The tables will be created by sqlgrey.)</span></p>
<h3><span lang="en-us">1. Install sqlgrey:</span></h3>
<pre>
aptitude install sqlgrey
</pre>
<h3><span lang="en-us">2. Edit the sqlgrey configuration file:</span></h3>
<pre>
vim /etc/sqlgrey/sqlgrey.conf
</pre>
<p><span lang="en-us">Edit the database settings:</span></p>
<pre>
## Database settings
db_type = mysql
db_name = sqlgrey
db_host = YOUR_DATABASE_SERVER
db_port = default
db_user = sqlgrey
db_pass = YOUR_PASS_WORD
db_cleandelay = 1800
clean_method = sync
</pre>
<h3><span lang="en-us">4. Add sqlgrey to the postfix configuration:</span></h3>
<pre>
vim /etc/postfix/main.cf
</pre>
<p><span lang="en-us">Append the recipient restrictions:</span></p>
<pre>
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_unknown_client,
reject_invalid_hostname,
check_policy_service inet:127.0.0.1:2501,
permit
</pre>
<h3><span lang="en-us">5. Restart the services:</span></h3>
<pre>
/etc/init.d/sqlgrey restart
/etc/init.d/postfix restart
</pre>
<h3><span lang="en-us">6. Controll</span></h3>
<p><span lang="en-us">Watch the content of the table &#8220;connect&#8221; it contains the sender information of every incoming mail.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2009/02/10/greylisting-with-sqlgrey-postfix-and-mysql-on-debian-lenny/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure Apache 2 with mod-security 2 on Debian Lenny</title>
		<link>http://www.mogilowski.net/lang/en-us/2008/12/03/secure-apache-2-with-mod-security-2-on-debian-lenny</link>
		<comments>http://www.mogilowski.net/lang/en-us/2008/12/03/secure-apache-2-with-mod-security-2-on-debian-lenny#comments</comments>
		<pubDate>Wed, 03 Dec 2008 08:59:03 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[apche]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[mod-log-sql-mysql]]></category>
		<category><![CDATA[mod_security]]></category>
		<category><![CDATA[paket]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=183&#038;lang=de-de</guid>
		<description><![CDATA[This article describes how to install mod_security2 on Debian Lenny. It should work on Etch, too. On the http://www.modsecurity.org website there is a link to the mod_security2 pakets for Debian. (Community-Produced Binary packages) Note: You should check this website for the latest versions and change the example &#8220;wget&#8221; commands in this howto. 1. Download the [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article describes how to install mod_security2 on Debian Lenny. It should work on Etch, too.</span></p>
<p><span lang="en-us">On the <a href="http://www.modsecurity.org" target="_blank">http://www.modsecurity.org</a> website there is a link to the mod_security2 pakets for Debian. (Community-Produced Binary packages)</span></p>
<p><em><span lang="en-us">Note: You should check this website for the latest versions and change the example &#8220;wget&#8221; commands in this howto.</span></em></p>
<h3><span lang="en-us">1. Download the pakets and install via dpkg:</span></h3>
<pre>
wget http://etc.inittab.org/~agi/debian/libapache-mod-security2/2.5.x/etch/libapache2-mod-security2_2.5.5-1~etch1_amd64.deb
wget http://etc.inittab.org/~agi/debian/libapache-mod-security2/2.5.x/etch/mod-security2-common_2.5.5-1~etch1_all.deb

dpkg -i mod-security2-common_2.5.5-1~etch1_all.deb libapache2-mod-security2_2.5.5-1~etch1_amd64.deb
</pre>
<p><em><span lang="en-us">Note: You may need an other paket than amd64 !!!</span></em></p>
<h3><span lang="en-us">2. Create a subfolder for the mod_security rules in the Apache config folder:</span></h3>
<pre>
mkdir /etc/apache2/modsecurity2
chmod 600 /etc/apache2/modsecurity2
</pre>
<h3><span lang="en-us">3. Download the rulsets from <a href="http://www.modsecurity.org/download/direct.html" target="_blank">http://www.modsecurity.org/download/direct.html</a></span></h3>
<pre>
wget http://www.modsecurity.org/download/modsecurity-core-rules_2.5-1.6.1.tar.gz
</pre>
<p><span lang="en-us">and extract the files and move the &#8220;conf&#8221; files to mod security:</span></p>
<pre>
tar vfx modsecurity-core-rules_2.5-1.6.1.tar.gz
mv *.conf /etc/apache2/modsecurity2/
</pre>
<h3><span lang="en-us">4. You have to create a symlink to fit Apache log directory to the Debian logs.</span></h3>
<p><span lang="en-us">(Or fix all rules <img src='http://cdn.mogilowski.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</span></p>
<pre>
ln -s /var/log/apache2 /etc/apache2/logs
</pre>
<h3><span lang="en-us">5. Enable modsecurity</span></h3>
<pre>
a2enmod mod-security
</pre>
<h3><span lang="en-us">6. Configuration</span></h3>
<p><span lang="en-us">Edit <i>&#8220;/etc/apache2/conf.d/mod_security&#8221;</i>:</span></p>
<pre>
        # mod_security configuration directives
        # ...
        # Turn the filtering engine On or Off
        SecFilterEngine On

        # Some sane defaults
        #Check if URL characters where encoded
        SecFilterCheckURLEncoding On
        #Check UTF-8 encoding
        SecFilterCheckUnicodeEncoding Off

        #Allow 1 byte characters
        # Accept almost all byte values
        SecFilterForceByteRange 0 255

        # Server masking is optional
        # SecServerSignature "Microsoft-IIS/0.0"

        SecAuditEngine RelevantOnly
        # The name of the audit log file
        SecAuditLog /var/log/apache2/audit_log

        # You normally won't need debug logging
        # Debug level set to a minimum
        SecFilterDebugLog /var/log/apache2/modsec_debug_log
        SecFilterDebugLevel 0

        # Should mod_security inspect POST payloads
        SecFilterScanPOST On

        # By default log and deny suspicious requests
        # with HTTP status 500
        SecFilterDefaultAction "deny,log,status:500"
</pre>
<h3><span lang="en-us">7. Now you can restart your Apache webserver:</span></h3>
<pre>
/etc/init.d/apache2 restart
</pre>
<h3>8. Links:</h3>
<p><a href="http://www.modsecurity.org" target="_blank">http://www.modsecurity.org</a><br />
<a href="http://www.howtoforge.com/apache_mod_security" target="_blank">http://www.howtoforge.com/apache_mod_security</a><br />
<a href="http://www.debuntu.org/2006/08/13/86-secure-your-apache2-with-mod-security" target="_blank">http://www.debuntu.org/2006/08/13/86-secure-your-apache2-with-mod-security</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2008/12/03/secure-apache-2-with-mod-security-2-on-debian-lenny/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Log Apache2 access log into a MySQL database on Debian Lenny</title>
		<link>http://www.mogilowski.net/lang/en-us/2008/11/26/log-apache2-access-log-into-a-mysql-database-on-debian-lenny</link>
		<comments>http://www.mogilowski.net/lang/en-us/2008/11/26/log-apache2-access-log-into-a-mysql-database-on-debian-lenny#comments</comments>
		<pubDate>Wed, 26 Nov 2008 08:29:27 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[access log]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[mod-log-sql-mysql]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=176&#038;lang=de-de</guid>
		<description><![CDATA[This article describes how you can log your apache access log entries into a MySQL database. You need a installed and configurated Apache2 webserver and MySQL server. Installation: On the webserver: aptitude install libapache2-mod-log-sql-mysql a2enmod unique_id On the database server: Create a new database &#8220;apachelogs&#8221; and a user for this database. Configurate a virtual host: [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article describes how you can log your apache access log entries into a MySQL database.</span></p>
<p><span lang="en-us">You need a installed and configurated Apache2 webserver and MySQL server.</span></p>
<h3><span lang="en-us">Installation:</span></h3>
<p><strong><span lang="en-us">On the webserver:</span></strong></p>
<pre>
aptitude install libapache2-mod-log-sql-mysql
a2enmod unique_id
</pre>
<p><strong><span lang="en-us">On the database server:</span></strong></p>
<p><span lang="en-us">Cr</span><span lang="en-us">eate a new database &#8220;apachelogs&#8221; and a user for this database.</span></p>
<p><strong><span lang="en-us">Co</span><span lang="en-us">nfigurate a virtual host:</span></strong></p>
<p><em><span lang="en-us">Re</span><span lang="en-us">place &#8220;PASSWORD&#8221; and &#8220;DATABASE_SERVER&#8221; with your own data.</span></em></p>
<pre>
LogSQLLoginInfo mysql://apachelogs:PASSWORD@DATABASE_SERVER/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
LogSQLTransferLogFormat IAbPcMfRhluTrmHtUapzqQsSV

&#60;virtualhost www.testsrv.local:80&#62;
ServerName www.testsrv.local
ServerAdmin servermaster@testsrv.local
DocumentRoot /var/www/vhost1/htdocs
ErrorLog /var/www/vhost1/logs/error.log
CustomLog /var/www/vhost1/logs/access.log common

LogSQLTransferLogTable vhost1_access_log

&#60;/virtualhost&#62;
</pre>
<pre>
/etc/init.d/apache2 reload
</pre>
<p><span lang="en-us"><em>mod-log-sql-mysql will create a table &#8220;vhost1_access_log&#8221; and log the Apache2 access there.</em></span></p>
<h3><span lang="en-us">Problems:</span></h3>
<p><span lang="en-us">Y</span><span lang="en-us">ou can get several errors in the apache error log when running the module:</span></p>
<p>1. &#8220;No such file or directory: attempted append of local preserve file &#8216;/etc/apache2/logs/mod_log_sql-preserve&#8217; but failed.&#8221;</p>
<p><span lang="en-us">You have to create the directory &#8220;/etc/apache2/logs&#8221; manual or create a symlink to &#8220;/var/log/apache2&#8243;.</span></p>
<p>2. &#8220;failed to create table: score_board&#8221;</p>
<p><span lang="en-us">There is a problem with scoreboard table creation, you have to create it:</span></p>
<pre>
CREATE TABLE IF NOT EXISTS `scoreboard` (
`id` int(14) NOT NULL auto_increment,
`vhost` varchar(50) NOT NULL default '',
`bytes_sent` int(14) NOT NULL default '0',
`count_hosts` int(12) NOT NULL default '0',
`count_visits` int(12) NOT NULL default '0',
`count_status_200` int(12) NOT NULL default '0',
`count_status_404` int(12) NOT NULL default '0',
`count_impressions` int(18) NOT NULL default '0',
`last_run` int(14) NOT NULL default '0',
`month` int(4) NOT NULL default '0',
`year` int(4) NOT NULL default '0',
`domain` varchar(50) NOT NULL default '',
`bytes_receive` int(14) NOT NULL default '0',
PRIMARY KEY  (`id`),
UNIQUE KEY `vhost` (`vhost`,`month`,`year`,`domain`)
) TYPE=MyISAM;
</pre>
<p><span lang="en-us">Thanks to Alexandre Bulté for the solution !</span></p>
<h3>Links:</h3>
<p><a href="http://blog.bulte.net/2008/04/apache-modlogsql-problem-with.html" target="_blank">http://blog.bulte.net/2008/04/apache-modlogsql-problem-with.html</a><br />
<a href="http://www.outoforder.cc/projects/apache/mod_log_sql/" target="_blank">http://www.outoforder.cc/projects/apache/mod_log_sql/</a><br />
<a href="http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch" target="_blank">http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2008/11/26/log-apache2-access-log-into-a-mysql-database-on-debian-lenny/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Deploy Adobe Coldfusion 8 on Tomcat 6 in a virtual host environment</title>
		<link>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-adobe-coldfusion-8-on-tomcat-6-in-a-virtual-host-environment</link>
		<comments>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-adobe-coldfusion-8-on-tomcat-6-in-a-virtual-host-environment#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:39:42 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[2]]></category>
		<category><![CDATA[6]]></category>
		<category><![CDATA[8]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apche2]]></category>
		<category><![CDATA[Coldfusion 8]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[virtualhosts]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=145&#038;lang=de-de</guid>
		<description><![CDATA[This article describes how to deploy the Adobe Coldfusion 8 server on Tomcat in a virtual hosts environment. Please read my Apache Tomcat 6 Article for the base setup. If you install the coldfusion server in seperate virtual hosts, each will have an own coldfusion administrator with own settings. 1. Download First download the coldfusion-801-lin.bin [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article describes how to deploy the Adobe Coldfusion 8 server on Tomcat in a virtual hosts environment. Please read my <a title="Apache Tomcat6 " href="http//:www.mogilowski.net/?p=121" target="_blank">Apache Tomcat 6 Article</a> for the base setup.</span></p>
<p><span lang="en-us">If you install the coldfusion server in seperate virtual hosts, each will have an own coldfusion administrator with own settings.</span></p>
<h3>1. Download</h3>
<p><span lang="en-us">First download the coldfusion-801-lin.bin (or coldfusion-801-lin64.bin for 64-Bit) installer from the <a title="Adobe Website" href="http://www.adobe.com" target="_blank">Adobe Website</a>.</span></p>
<pre>
wget http://trials.adobe.com/Applications/ColdFusion/801WWE/coldfusion-801-lin64.bin
chmod +x coldfusion-801-lin64.bin
</pre>
<h3><span lang="en-us">2. Prepare system</span></h3>
<h3><span lang="en-us">2.1 Install libraries</span></h3>
<p><span lang="en-us">Coldfusion need some extra libraries for the installation:</span></p>
<pre>
aptitude install libstdc++6 libstdc++5
ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
</pre>
<h3><span lang="en-us">2.2 Modify the virtual host in tomcat</span></h3>
<pre>
vim /opt/tomcat/conf/server.xml
</pre>
<pre>
&#60;!-- www.testsrv.local --&#62;
&#60;host name=&#34;www.testsrv.local&#34; appBase=&#34;/var/www/vhost1/htdocs&#34; unpackWARs=&#34;true&#34; autoDeploy=&#34;true&#34;&#62;
    &#60;context path=&#34;&#34; docBase=&#34;cfusion&#34; debug=&#34;0&#34; reloadable=&#34;true&#34;/&#62;
    &#60;valve className=&#34;org.apache.catalina.valves.AccessLogValve&#34; directory=&#34;/var/www/vhost1/logs&#34;  prefix=&#34;tomcat_access_&#34; suffix=&#34;.log&#34; pattern=&#34;common&#34; resolveHosts=&#34;false&#34;/&#62;
&#60;/host&#62;
</pre>
<h3><span lang="en-us">2.3 Modify the virtual host in apache</span></h3>
<pre>
vim /etc/apache2/sites-enabled/vhost1
</pre>
<pre>
&#60;virtualhost www.testsrv.local:80&#62;
    JkMount /*.cfm default
    JkMount /*.cfc default
    JkMount /*.cfchart default
    DirectoryIndex index.cfm index.html index.htm
    ServerName www.testsrv.local
    ServerAdmin servermaster@testsrv.local
    DocumentRoot /var/www/vhost1/htdocs/cfusion
    ErrorLog /var/www/vhost1/logs/error.log
    CustomLog /var/www/vhost1/logs/access.log common
    &#60;directory /var/www/vhost1/htdocs/cfusion&#62;
        Options -Indexes
    &#60;/directory&#62;
    &#60;directory /var/www/vhost1/htdocs/cfusion/WEB-INF&#62;
        Options -Indexes
        AllowOverride None
        deny from all
    &#60;/directory&#62;
    &#60;directory /var/www/vhost1/htdocs/cfusion/META-INF&#62;
       Options -Indexes
       AllowOverride None
       deny from all
    &#60;/directory&#62;
&#60;/virtualhost&#62;
</pre>
<p><em><span lang="en-us">Note: You should restrict the access to the CFIDE folder, too. With an .htaccess file for example.</span></em></p>
<h3><span lang="en-us">3. Create WAR file</span></h3>
<pre>
./coldfusion-801-lin64.bin
</pre>
<p><span lang="en-us">Select J2EE configuration (WAR file)<br />
This will create a cfusion.war package in /opt/coldfusion8/.</span></p>
<h3><span lang="en-us">4. Deploy the WAR file to a virtual host</span></h3>
<pre>
cp /opt/coldfusion8/cfusion.war /var/www/vhost1/htdocs/
</pre>
<p><em><span lang="en-us">Note: Tomcat will unpack this WAR file and create the cfusion diretory. After that, you can delete the WAR file.</span></em></p>
<h3><span lang="en-us">5. Apply configuration</span></h3>
<pre>
/etc/init.d/tomcat restart
/etc/init.d/apache2 reload
</pre>
<h3><span lang="en-us">6. Complete Coldfusion installation</span></h3>
<p><span lang="en-us">Now you can access the CF Administrator with your browser:</span></p>
<p>http://www.testsrv.local/CFIDE/administrator/index.cfm</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-adobe-coldfusion-8-on-tomcat-6-in-a-virtual-host-environment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploy OpenBlueDragon on Tomcat 6 in a virtual host environment</title>
		<link>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-openbluedragon-on-tomcat-6-in-a-virtual-host-environment</link>
		<comments>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-openbluedragon-on-tomcat-6-in-a-virtual-host-environment#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:35:14 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[bluedragon]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[openbluedragon]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[virtual hosts]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[virtualhosts]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=154&#038;lang=de-de</guid>
		<description><![CDATA[This article describes how to deploy OpenBlueDragon server on Tomcat in a virtual hosts environment. Please read my Apache Tomcat 6 Article for the base setup. If you install the BlueDragon server in seperate virtual hosts, each will have an own coldfusion administrator with own settings. 1. Download Download &#8220;J2EE WAR Distribution&#8221; from http://www.openbluedragon.org/download.cfm. 2. [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article describes how to deploy OpenBlueDragon server on Tomcat in a virtual hosts environment. Please read my <a href="http://www.mogilowski.net/?p=121">Apache Tomcat 6 Article</a> for the base setup.</span></p>
<p><span lang="en-us">If you install the BlueDragon server in seperate virtual hosts, each will have an own coldfusion administrator with own settings.</span></p>
<h3>1. Download</h3>
<p><span lang="en-us">Download &#8220;J2EE WAR Distribution&#8221; from <a href="http://www.openbluedragon.org/download.cfm" target="_blank">http://www.openbluedragon.org/download.cfm</a>.</span></p>
<h3><span lang="en-us">2. Prepare system</span></h3>
<h3><span lang="en-us">2.1 Modify the virtual host in tomcat</span></h3>
<pre>
vim /opt/tomcat/conf/server.xml
</pre>

<pre>
&#60;!-- www.testsrv.local --&#62;
&#60;host name=&#34;www.testsrv.local&#34; appBase=&#34;/var/www/vhost1/htdocs&#34; unpackWARs=&#34;true&#34; autoDeploy=&#34;true&#34;&#62;
    &#60;context path=&#34;&#34; docBase=&#34;openbluedragon&#34; debug=&#34;0&#34; reloadable=&#34;true&#34;/&#62;
    &#60;valve className=&#34;org.apache.catalina.valves.AccessLogValve&#34; directory=&#34;/var/www/vhost1/logs&#34;  prefix=&#34;tomcat_access_&#34; suffix=&#34;.log&#34; pattern=&#34;common&#34; resolveHosts=&#34;false&#34;/&#62;
&#60;/host&#62;
</pre>
<h3><span lang="en-us">2.2 Modify the virtual host in apache</span></h3>
<pre>
vim /etc/apache2/sites-enabled/vhost1
</pre>
<pre>
&#60;virtualhost www.testsrv.local:80&#62;
    JkMount /*.cfm default
    JkMount /*.cfc default
    JkMount /*.cfchart default
    DirectoryIndex index.cfm index.html index.htm
    ServerName www.testsrv.local
    ServerAdmin servermaster@testsrv.local
    DocumentRoot /var/www/vhost1/htdocs/openbluedragon
    ErrorLog /var/www/vhost1/logs/error.log
    CustomLog /var/www/vhost1/logs/access.log common
    &#60;directory /var/www/vhost1/htdocs/openbluedragon&#62;
        Options -Indexes
    &#60;/directory&#62;
    &#60;directory /var/www/vhost1/htdocs/openbluedragon/WEB-INF&#62;
        Options -Indexes
        AllowOverride None
        deny from all
    &#60;/directory&#62;
&#60;/virtualhost&#62;
</pre>
<h3><span lang="en-us">3. Deploy the WAR file to a virtual host</span></h3>
<p><span lang="en-us">Copy the downloaded openbluedragon.war file into /var/www/vhost1/htdocs/</span></p>
<p><em><span lang="en-us">Note: Tomcat will unpack this WAR file and create the cfusion diretory. After that, you can delete the WAR file.</span></em></p>
<h3><span lang="en-us">4. Apply configuration</span></h3>
<pre>
/etc/init.d/tomcat restart
/etc/init.d/apache2 reload
</pre>
<h3><span lang="en-us">5. Test configuration</span></h3>
<p><span lang="en-us">Now you can test your installation by opening the BlueDragon CFML test page:</span></p>
<p>http://www.testsrv.local/index.cfm</p>
<h3>6. Administration</h3>
<p><span lang="en-us">On <a href="http://bdadmin.riaforge.org" target="_blank">http://bdadmin.riaforge.org</a> you can get a web admin for the OpenBlueDragon server.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2008/11/24/deploy-openbluedragon-on-tomcat-6-in-a-virtual-host-environment/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Tomcat 6 on Debian (Lenny) with virtual hosts and Apache2 integration</title>
		<link>http://www.mogilowski.net/lang/en-us/2008/11/24/install-tomcat-6-on-debian-lenny-with-virtual-hosts-and-apache2-integration</link>
		<comments>http://www.mogilowski.net/lang/en-us/2008/11/24/install-tomcat-6-on-debian-lenny-with-virtual-hosts-and-apache2-integration#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:29:50 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[6]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[mod_jk]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[virtual hosts]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[virtualhosts]]></category>

		<guid isPermaLink="false">http://www.mogilowski.net/?p=121&#038;lang=de-de</guid>
		<description><![CDATA[This article is a new version of my Apache Tomcat 5.5 article. In this version i descripe the installation of the open bluedragon in a seperate article. This article only describes how to install Apache Tomcat 6 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 6 is not available over the regular sources on [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">This article is a new version of my Apache Tomcat 5.5 article.  In this version i descripe the installation of the open bluedragon in a seperate article. This article only describes how to install Apache Tomcat 6 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 6 is not available over the regular sources on Debain Lenny (and Etch) it need to be installed by hand. (On Ubuntu you can get Tomcat 6 with an apt-Installation)</span></p>
<p><strong><span lang="en-us" style="color:red;">UPDATE: Please read the new article:</span> <a target="_blank" href="http://www.mogilowski.net/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration/">Tomcat 7 on Debian</a></strong></p>
<h3><span lang="en-us">1. Install Java 6 runtime:</span></h3>
<p><span lang="en-us">Choose one of the following Java JDK installations:</span></p>
<h3>1.1 OpenJDK</h3>
<pre>
aptitude install java6-runtime
</pre>
<h3>1.2 Sun JDK (non-free)</h3>
<pre>
vim /etc/apt/sources
</pre>
<pre>
deb http://ftp.de.debian.org/debian/ lenny main non-free
deb-src http://ftp.de.debian.org/debian/ lenny main non-free
</pre>
<pre>
aptitude update
aptitude install sun-java6-jdk
</pre>
<p><em><span lang="en-us">Note: Keep in mind that you need a different Apache connector configuration if you use the Sun JDK.</span></em></p>
<h3>2. Download Tomcat</h3>
<p>Download Tomcat 6 <span lang="en-us">from</span> <a title="Tomcat 6" href="http://tomcat.apache.org/download-60.cgi" target="_blank">Tomcat 6 Download</a> <span lang="en-us">page</span>.</p>
<p><span lang="en-us">For example:</span></p>
<pre>
wget http://apache.imsam.info/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.tar.gz
</pre>
<h3><span lang="en-us">3. Install Tomcat</span></h3>
<pre>
tar -xzvf apache-tomcat-6.0.18.tar.gz
mv apache-tomcat-6.0.18 /opt/tomcat
</pre>
<h3><span lang="en-us">4. Create Init-Script</span></h3>
<pre>
vim /etc/init.d/tomcat
</pre>
<pre>
#!/bin/sh
# Tomcat Init-Script
case $1 in
    start)
        sh /opt/tomcat/bin/startup.sh
    ;;
    stop)
        sh /opt/tomcat/bin/shutdown.sh
    ;;
    restart)
        sh /opt/tomcat/bin/shutdown.sh
        sh /opt/tomcat/bin/startup.sh
    ;;
esac
exit 0
</pre>
<pre>
update-rc.d tomcat defaults
</pre>
<h3><span lang="en-us">5. Activate the Tomcat manager</span></h3>
<pre>
vim /opt/tomcat/conf/tomcat-users.xml
</pre>
<pre>
&#60;?xml version='1.0' encoding='utf-8'?&#62;
&#60;tomcat-users&#62;
    &#60;role rolename="manager"/&#62;
    &#60;role rolename="admin"/&#62;
    &#60;user username="YOUR_USERNAME" password="YOUR_PASSWORD" roles="admin,manager"/&#62;
&#60;/tomcat-users&#62;
</pre>
<h3>6. Start Tomcat</h3>
<pre>
/etc/init.d/tomcat start
</pre>
<p><span lang="en-us">Now you can access the Tomcat manager with http://SERVER:8080/manager/html.</span></p>
<h3><span lang="en-us">5. Install Apache2 connector</span></h3>
<p><span lang="en-us">You can use the Tomcat as a standalone webserver, but the apache webserver has more features and you can use the apache modules. (mod_rewrite for example)</span></p>
<pre>
aptitude install apache2 libapache2-mod-jk
</pre>
<pre>
vim /etc/apache2/workers.properties
</pre>
<pre>
workers.tomcat_home=/opt/tomcat
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
</pre>
<p><em><span lang="en-us">Note: Replace &#8220;/usr/lib/jvm/java-6-openjdk&#8221; with &#8220;/usr/lib/jvm/java-6-sun&#8221; if you using the non-free Sun Java runtime.</span></em></p>
<p><span lang="en-us">JK configuration file</span></p>
<pre>
vim /etc/apache2/conf.d/jk.conf
</pre>
<pre>
&#60;ifmodule mod_jk.c&#62;
    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel error
&#60;/ifmodule&#62;
</pre>
<pre>
/etc/init.d/apache2 stop
/etc/init.d/tomcat restart
/etc/init.d/apache2 start
</pre>
<h3><span lang="en-us">6. Create a new VirtualHost</span></h3>
<p><span lang="en-us">Creating a new VirtualHost: (In Apache <strong>AND</strong> Tomcat)</span></p>
<h3><span lang="en-us">6.1 Create directories</span></h3>
<pre>
mkdir /var/www/vhost1
mkdir /var/www/vhost1/htdocs
mkdir /var/www/vhost1/logs
</pre>
<pre>
vim /etc/apache2/sites-available/vhost1
</pre>
<h3>6.2 Apache</h3>
<pre>
&#60;virtualhost www.testsrv.local&#62;
    JkMount /*.jsp default
    ServerName www.testsrv.local
    ServerAdmin servermaster@testsrv.local
    DocumentRoot /var/www/vhost1/htdocs
    ErrorLog /var/www/vhost1/logs/error.log
    CustomLog /var/www/vhost1/logs/access.log common
    &#60;directory /var/www/vhost1/htdocs&#62;
        Options -Indexes
    &#60;/directory&#62;
&#60;/virtualhost&#62;
</pre>
<p><span lang="en-us"><em>Note:</em> You can forward all files &#8220;<em>JkMount /*</em>&#8221; or all files in a folder &#8220;<em>JkMount /folder/*</em>&#8221; to the Tomcat, too.</span></p>
<pre>
a2ensite vhost1
/etc/init.d/apache2 reload
</pre>
<h3>6.3 Tomcat</h3>
<pre>
vim /opt/tomcat/conf/server.xml
</pre>
<pre>
&#60;!-- www.testsrv.local --&#62;
&#60;host name=&#34;www.testsrv.local&#34; appBase=&#34;/var/www/vhost1&#34; unpackWARs=&#34;true&#34; autoDeploy=&#34;true&#34;&#62;
    &#60;context path=&#34;&#34; docBase=&#34;htdocs&#34; debug=&#34;0&#34; reloadable=&#34;true&#34;/&#62;
    &#60;valve className=&#34;org.apache.catalina.valves.AccessLogValve&#34; directory=&#34;/var/www/vhost1/logs&#34;  prefix=&#34;tomcat_access_&#34; suffix=&#34;.log&#34; pattern=&#34;common&#34; resolveHosts=&#34;false&#34;/&#62;
&#60;/host&#62;
</pre>
<pre>
/etc/init.d/tomcat restart
</pre>
<p><em><span lang="en-us">Note: You can add additional domains with:</span></em></p>
<pre>
&#60;alias&#62;additionaldomain.com&#60;/alias&#62;
</pre>
<p><em></em></p>
<h3><span lang="en-us">7. Create a Testpage</span></h3>
<pre>
vim /var/www/vhost1/htdocs/test.jsp
</pre>
<pre>
&#60;html&#62;
    &#60;head&#62;
        &#60;title&#62;Hello World&#60;/title&#62;
    &#60;/head&#62;
    &#60;body&#62;
        &#60;h1&#62;Hello World&#60;/h1&#62;
        Today is: &#60;%= new java.util.Date().toString() %&#62;
    &#60;/body&#62;
&#60;/html&#62;
</pre>
<p><span lang="en-us">Now you can test your configuration with http://www.testsrv.local/test.jsp</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mogilowski.net/lang/en-us/2008/11/24/install-tomcat-6-on-debian-lenny-with-virtual-hosts-and-apache2-integration/feed</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 108/198 queries in 0.180 seconds using apc
Object Caching 1401/1409 objects using apc
Content Delivery Network via cdn.mogilowski.net

Served from: www.mogilowski.net @ 2012-02-07 05:47:24 -->
